gcmh
emacs-snap
gcmh | emacs-snap | |
---|---|---|
7 | 16 | |
105 | 68 | |
0.0% | - | |
0.0 | 7.2 | |
over 3 years ago | 28 days ago | |
Emacs Lisp | Shell | |
- | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
gcmh
-
The original magic Emacs garbage collection hack
cf. https://github.com/emacsmirror/gcmh (the author's [=Andrea Corallo's] Emacs package "GCMH - the Garbage Collector Magic Hack")
-
is it just me, or LSP mode is very slow in emacs?
A lot of people use way higher values than 800 KB without any problems. As a matter of fact, I've been using 256 MB for a very long time, haven't noticed any issues with it. So I wouldn't call 1 GB madness, it can be perfectly fine in some cases, especially if one uses gcmh, so it has a high chance that GCs will happen when the user doesn't interact with emacs (I also setup emacs to do GC when emacs loses focus. This means that GC pause is invisible most of the time for me). I strongly prefer very rare, short GC pauses than microstuttering all the time. Also, some operations apply a lot of pressure to the memory system, and do hundreds of GCs with the default setting, so most of the CPU time is spent in the GC when these operations run. Increasing gc-cons-threshold makes such operations much faster which means less pauses.
-
Setting up a fundraiser for multi-threaded Emacs, any thoughts on this?
One possible solution is to switch to a LSP approach. You should also take a look at the garbage-collector-magic-hack package: https://github.com/emacsmirror/gcmh
-
Chosing an Emacs Distro on M1 OS X
If you experience some lag, my first advice would be to install the GCMH package. It basically changes the garbage-collection rules to ensure that most garbage collection will happen in small bouts while Emacs is idle. After installing it I've never had my Emacs lag on me. This wouldn't address the retina-display issues you mentioned, but I've never experienced those with emacs-plus.
-
Will we be ever seeing multithreading in emacs?
I've seen gcmh recommended as a library that configures the garbage collector for you. Not sure if it is truly a "one size fits all" solution though.
- make emacs run 100% faster and snappier
-
Configuring emacs
I’d add that for 1) beacon is a good package. For 2), this may be an issue where you have multiple emacs configuration files. This is a serious problem. 3) be patient, and use the magic GC hack. To add to that, you should probably set the GC threshold to be high. 4) projectile? 5)emacs -nw.
emacs-snap
-
The original magic Emacs garbage collection hack
Not yet. I believe, it is discussed for Emacs 30. Meanwhile if you are willing to install Emacs 29 as a snap (https://snapcraft.io/emacs) you can enjoy the benefits it brings w/o needing to compile your Emacs binary. I use it as my daily driver and did not have any issues.
- Emacs 29.1 compiling some packages on every startup
-
Emacs 29.1 Released
No, it's enabled by default. Last I built Emacs, it took me more than an hour to build.
The default branch has native-compilation, tree-sitter, and json enabled. See here for the enabled flags:
https://github.com/alexmurray/emacs-snap/blob/master/snapcra...
-
Emacs 29 can't load TreeSitter grammer
Great, thank you. I've opened https://github.com/alexmurray/emacs-snap/issues/55
- OpenSUSE Leap: Is it possible to use a newer package for a certain software?
-
Right way to upgrade?
Do $ sudo snap install emacs --classic to install Emacs with snap.
- emacs-snap: GNU Emacs in a snap
-
Loading built-in package from source
Now I've finally updated Emacs dev version with snap. It's mostly working.
-
Emacs: 20×10%
On Ubuntu there is a snap available shipping Emacs 28 including native compilation turned on:
https://github.com/alexmurray/emacs-snap
I am using it as a daily driver for months already without issues so far.
-
how do i get the emacs snap process to correctly remove itself when i close emacs.
here it is, ty ty. https://github.com/alexmurray/emacs-snap/issues/43
What are some alternatives?
beacon - A light that follows your cursor around so you don't lose it!
ccls - C/C++/ObjC language server supporting cross references, hierarchies, completion and semantic highlighting
emacs-faff-theme - Emacs Faff Theme - a light theme based on the Emacs default, extensively tweaked.
combobulate - Structured Editing and Navigation in Emacs with Tree-Sitter
lambda-emacs - Emacs distribution with sane defaults, pre-configured packages, and useful functions.
emacs-snapshot - Tree for GNU Emacs Debian snapshots
GNU Emacs - Mirror of GNU Emacs
consult - :mag: consult.el - Consulting completing-read
build-emacs-macos - Build script for emacs and macos
emacs-build - Scripts to build a distribution of Emacs from sources, using MSYS2 and Mingw64(32)
emacs-libvterm - Emacs libvterm integration
org.gnu.emacs