build-emacs-macos
gcmh
build-emacs-macos | gcmh | |
---|---|---|
10 | 7 | |
63 | 105 | |
- | 0.0% | |
3.0 | 0.0 | |
6 months ago | over 3 years ago | |
Shell | Emacs Lisp | |
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.
build-emacs-macos
- First Time Emacs User on macOS - Need Guidance!
-
I just learned that new Macs don't come with Emacs preinstalled
Though I don't love Ventura, running Emacs on MacOS has never really been a problem for me. It's also very easy to build Emacs. You can use this shell script if you like: https://github.com/mclear-tools/build-emacs-macos. I also list there a bunch of other build scripts from other users. Just as easy as homebrew really, with a lot more control (e.g. you can build whatever version of Emacs you like, at least back to 22).
-
(Halv) Automated Emacs build with Emacs
You might find this shell script for building emacs useful. https://github.com/mclear-tools/build-emacs-macos
- Chosing an Emacs Distro on M1 OS X
- Issues building Emacs.app for Mac OS from source with native compilation
-
GNU Emacs For Mac OS X warning message after macOS Monterey update
I build emacs myself from the master branch on an M1 and Monterey and don't see this issue. So it might be something either with your config or with that specific build setup.
- build-emacs-macos: Build script for emacs and macos
- How to install emacs emacsmacport using brew and railwaycat?
-
What emacs to install on Macbook Air 2017, MacOS 11.6? I'm completely new to MacOS and emacs. Want to learn emacs+orgmode.
Here's the build script that I use. It is pretty dead simple. https://github.com/mclear-tools/build-emacs-macos
-
Shell script to build emacs on macos (works well with M1 mac on Monterey)
Hi all -- I've put a repo on github for building emacs on macos. There are several other such scripts available, but I've tried to make mine as simple to understand (I'm not a programmer) as possible (or as possible for me...). It currently works well for me but YMMV. Of course, I realize that there are a million ways to shave this yak, so I'd be curious if anyone has suggestions for improvement (though I'm also looking to keep things as simple as possible). I hope this might be of some use to people.
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.
What are some alternatives?
emacs-builds - Self-contained Emacs.app builds for macOS, with native-compilation support.
beacon - A light that follows your cursor around so you don't lose it!
homebrew-emacs-plus - Emacs Plus formulae for the Homebrew package manager
emacs-faff-theme - Emacs Faff Theme - a light theme based on the Emacs default, extensively tweaked.
homebrew-emacsmacport - Emacs mac port formulae for the Homebrew package manager
lambda-emacs - Emacs distribution with sane defaults, pre-configured packages, and useful functions.
SLANOMACS - My (Illiterate) Literate Doom Emacs Config
GNU Emacs - Mirror of GNU Emacs
exec-path-from-shell - Make Emacs use the $PATH set up by the user's shell
emacs-libvterm - Emacs libvterm integration
emacs - Mirror of GNU Emacs