gcmh
homebrew-emacs-plus
gcmh | homebrew-emacs-plus | |
---|---|---|
7 | 68 | |
105 | 2,203 | |
0.0% | - | |
0.0 | 8.0 | |
over 3 years ago | about 1 month ago | |
Emacs Lisp | Ruby | |
- | MIT License |
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.
homebrew-emacs-plus
-
Flakes aren't real and cannot hurt you: using Nix flakes the non-flake way
I am intrigued by this line in the description:
"Super Fast Emacs: Bleeding edge Emacs that fixes itself, thanks to a community overlay"
Could you possibly tell me (or link to the explanation) what's special about that Emacs instance? (I'll update this comment if I find a link myself)
I use this homebrew cask and have been very happy with it thus far, but I'm always up for some new exploration. https://github.com/d12frosted/homebrew-emacs-plus
- Emacs Plus
-
Emacs 29.1 Released
Oh, I just realized I'm using https://github.com/d12frosted/homebrew-emacs-plus . I recommend using that over the default formula.
- Thinking about buying a macbook, does Emacs work well?
-
Change the emacs theme to light/dark according to the system theme
There is the code to do just that. Works with emacs-mac and emacs-plus.
-
Need Help with Emacs as a Noob
Firstly as others have mentioned, the default Emacs distribution in macOS is very old and Doom doesn’t support it. If you haven’t already you would be better off downloading a newer version. You can download it straight from the GNU website, but I recommend emacs-plus as it has some macOS niceties thrown in.
-
Emacs Web Buttons
Not a badge, but a modern icon https://github.com/SavchenkoValeriy/emacs-icons
ps. Emacs plus aggregates a great collection https://github.com/d12frosted/homebrew-emacs-plus#icons
- Reinstall emacs with native comp using brew on macos
-
Doom Emacs is broke for me and life just isn't the same
homebrew-emacs-plus generally works for me. I'd recommend it.
-
I asked the AI overlords for an over the top Emacs icon 😅
Awesome! You should create a PR to add it to https://github.com/d12frosted/homebrew-emacs-plus/
What are some alternatives?
beacon - A light that follows your cursor around so you don't lose it!
homebrew-emacsmacport - Emacs mac port formulae for the Homebrew package manager
emacs-faff-theme - Emacs Faff Theme - a light theme based on the Emacs default, extensively tweaked.
nix - Nix, the purely functional package manager
lambda-emacs - Emacs distribution with sane defaults, pre-configured packages, and useful functions.
spacemacs - A community-driven Emacs distribution - The best editor is neither Emacs nor Vim, it's Emacs *and* Vim!
GNU Emacs - Mirror of GNU Emacs
HomeBrew - 🍺 The missing package manager for macOS (or Linux)
build-emacs-macos - Build script for emacs and macos
doom - Doom Emacs config
emacs-libvterm - Emacs libvterm integration
Rectangle - Move and resize windows on macOS with keyboard shortcuts and snap areas