What is your go-to emacs for MacOS on apple silicon?<p>I'm aware of the wiki https://www.emacswiki.org/emacs/EmacsForMacOS<p>Just wondering what people choose. I grew up on emacs on Sun workstations. Want to get back to it. IDEs are driving me nuts.
> Want to get back to it. IDEs are driving me nuts.<p>This. I get a great experience without even using LSP which itself can be finicky.<p>1. ripgrep. Regex searches are the universal "do-everything" tool. If you really master them and integrate them into your workflow you will not want for much else. They can even supplant the need for auto completion to a certain degree. When you pop open the definition you searched for in a new window that's analogous to a completion popup. Then just M-/ for dumb completion to assist with the manual typing.<p>2. ctags. Old school. But it works. They can work across weird file types with languages embedded in them, etc. citre-mode has some nice "candy" features built on ctags like a "peek" overlay popup.<p>3. snippets. Create a set of hand crafted snipppets for each language you use. Code flows out of your fingers at the speed of thought. Yasnippet does what I need and allows embedding of lisp code into the snippet for some really really advanced expansions. Although simple expansions are all that's needed 99% of the time.<p>4. debugging. Take time to master a debugger like GDB. Or add debug(msg) statements through your code. Many languages will have a mechanism for the debug statements to be compiled out of a production build.<p>5. profit. Your laptop will never sound like an airplane take off the runway. The M1 may never be noisy but it will still reap the increased battery time.
I use Homebrew’s emacs<p><pre><code> brew install emacs
</code></pre>
or when I want a GUI, I use the Cask version from <a href="https://emacsforosx.com" rel="nofollow">https://emacsforosx.com</a><p><pre><code> brew install --cask emacs
</code></pre>
The <a href="https://emacsforosx.com" rel="nofollow">https://emacsforosx.com</a> maintainer goes to great lengths to compile many of the optional dependencies, like image formats, and to support older versions of MacOS.
The Emacs package from Nix. It’s the only macOS build of Emacs I used that was fully featured, provided in binary form, distributed from a reputable source, and not broken. I initially used Homebrew Emacs, but it removed GUI support a while back. I then briefly tried the emacsformacosx build, the one Homebrew Cask points to, but I stopped using that too because it’s not compiled with the full set of dependencies and isn’t supported by DoomEmacs [1]. I then moved to emacs-plus, but that too had issues like the lack of binary packages and unreliable updates. I finally settled on Nix and it hasn’t given me problems since.<p>The current situation personally came off as a surprise considering the popularity of Emacs.<p>[1]: <a href="https://github.com/doomemacs/doomemacs/blob/085b5563fc73daf50d4661b45214123c5ed820f7/docs/getting_started.org#where-not-to-install-emacs-from">https://github.com/doomemacs/doomemacs/blob/085b5563fc73daf5...</a>
I recently just built it from source to get ahead of time compiling for ELisp. A little bit of effort, but after 1 long build, now it starts quickly and runs fast.
update: tried this build script and seems good<p><a href="https://github.com/jimeh/build-emacs-for-macos">https://github.com/jimeh/build-emacs-for-macos</a>