I installed Emacs 26.3 with Homebrew. I wish to install Doom Emacs, but the Readme says 27 is preferable. I'm not familiar enough with macOS, but from my short experience compiling from source would bring issues since many manual adaptations would be required.
I use a lot of packages and have many personal settings, so before install Doom I'd like to know what will I be losing exactly.
Thanks!
Mainly, performance with LSP and similar external processes/servers. Specifically:
That said, Emacs 26 will still work fine, and it's possible you may not run into these problems (or it won't hit you so hard).
Although, you can avoid having to build anything by installing Emacs through homebrew, via the emacs-plus recipe with:
brew tap d12frosted/emacs-plus
brew install emacs-plus --HEAD --with-jansson --with-emacs-27-branch
ln -s /usr/local/opt/emacs-plus/Emacs.app /Applications/Emacs.app
Hope that helps!
Thank you very much.
I'll be mainly using Elpy for now, does that use LSP? I tried Emacs Plus before but it made Emacs "too native"... the Meta key on this package does not behave the way Emacs "wants", but just like it does in the rest of macOS: as a way to insert a bunch of exotic characters I do not need. I use numerous Meta keybindings, either customized, native, or coming from packages. That's a deal-breaker for me, I opened an issue over there but could not resolve this, unfortunately.
I installed using brew cask install emacs
I would not recommend using brew cask install emacs, as the emacsformacosx build lacks a few features that you may need later (dynamic modules, image libraries, etc).
Elpy doesn't use LSP, but it does communicate with a lot of processes (not least of which is jedi).
the Meta key on this package does not behave the way Emacs "wants", but just like it does in the rest of macOS: as a way to insert a bunch of exotic characters I do not need
This can be fixed inside Emacs by customizing mac-option-modifier or mac-right-option-modifier. Or was it ns-option-modifier orns-right-option-modifier? It depends on which build you use. In any case, Doom sets the former to'meta`, and so option will not insert exotic characters, but operate as the meta modifier key.
(setq ns-option-modifier 'meta
ns-right-option-modifier 'meta)
You not only give support for your distribution but for Emacs as a whole. Awesome, thanks! I'll that. Since I'll jump from 26 anyway, couldn't I just go for 28, or that would be too much?
couldn't I just go for 28, or that would be too much?
You could try -- there are some Doom users who do so successfully -- but whether or not 28 works with Doom changes from week to week, so YMMV. I can't support it because it's such a moving target, while 27 is pretty much frozen at this point (and is due to be released any week now).
Also: there's really only one feature worth jumping to 28 for at this point: native compilation.
Okay then, 27 it is. Thanks!
Glad I could help!