Live data from Hacker News

Emacs 29 is nigh

blog.phundrak.com

31–40 of 267 posts

Re: Emacs 29 is nigh

#31
post #10

I highly recommend modern Emacs over VSCode. If you don't want to tinker, Emacs has multiple levels of preconfigured distributions like Prelude, Nano, and Doom Emacs that give the same out of the box working experience. Modern Emacs includes all of the great features of VSCode, plus much more. You get things like: - LSP support for completion, refactoring, listing. - Tree sitter support for super fast highlighting. -…

Yes, but what about remote support? That’s the single most thing I miss from VSCode. I want to run my editor on the local machine so that it can benefit from graphics support and integrate properly with the local windowing system, but I want all heavy lifting (LSP and the like) done on a remote machine. Yes, I can use Emacs over SSH (which I do now), but it has limitations. Yes, I could forward X11, but it’s pretty t…

I tried to use tramp based setup, but ran into many edge cases. Even popular libraries like flycheck doesn't support tramp very well. Eventually I found mosh and that settled the problem. Mosh + iterm2 + terminal emacs[1] combination works very well. Except a few missing features (fringe, variable font size/multiple fonts), nearly everything else works well.

1: https://ananthakumaran.in/2021/07/31/emacs-remote.html

Re: Emacs 29 is nigh

#32

Wow, Eglot/Treesitter/better package support in 29 make me want to try Emacs again. > Install packages from source with package.el Emacs users updating to 29: do you plan to use this instead of Straight now? If not, can you help me to understand what more Straight provides? Emacs on macOS users: do you generally compile new versions of Emacs from source, or wait for ports like Mitsuharu Yamamoto's one[1] to update? […

Just an fyi for people using straight or interested in it, its maintainer is working on an alternative called elpaca.

https://github.com/progfolio/elpaca

Re: Emacs 29 is nigh

#33
I love that eglot is being incorporated into emacs, though I myself use lsp-mode. Does anybody know how advanced eglot is? As far as I hear, it doesn't support multiple language servers which seems like a showstopper for web dev these days, e.g. I usually have ts lang server + tailwind lang server running at the same time when doing web dev.

Re: Emacs 29 is nigh

#34

Wow, Eglot/Treesitter/better package support in 29 make me want to try Emacs again. > Install packages from source with package.el Emacs users updating to 29: do you plan to use this instead of Straight now? If not, can you help me to understand what more Straight provides? Emacs on macOS users: do you generally compile new versions of Emacs from source, or wait for ports like Mitsuharu Yamamoto's one[1] to update? […

I always grab dmg's from here: https://emacsformacosx.com/

This has been a reliable source, over the years. I love it.

Re: Emacs 29 is nigh

#35

Wow, Eglot/Treesitter/better package support in 29 make me want to try Emacs again. > Install packages from source with package.el Emacs users updating to 29: do you plan to use this instead of Straight now? If not, can you help me to understand what more Straight provides? Emacs on macOS users: do you generally compile new versions of Emacs from source, or wait for ports like Mitsuharu Yamamoto's one[1] to update? […

I have been compiling from git head since they added jit compilation, as it is much faster. (On Linux and Mac). Sometimes I run into weirdness and repull and recompile. My version says 30 now, but if homebrew packages 29 I might switch back.

Re: Emacs 29 is nigh

#36
post #10

Earlier quoted context omitted.

Yes, but what about remote support? That’s the single most thing I miss from VSCode. I want to run my editor on the local machine so that it can benefit from graphics support and integrate properly with the local windowing system, but I want all heavy lifting (LSP and the like) done on a remote machine. Yes, I can use Emacs over SSH (which I do now), but it has limitations. Yes, I could forward X11, but it’s pretty t…

I tried to use tramp based setup, but ran into many edge cases. Even popular libraries like flycheck doesn't support tramp very well. Eventually I found mosh and that settled the problem. Mosh + iterm2 + terminal emacs[1] combination works very well. Except a few missing features (fringe, variable font size/multiple fonts), nearly everything else works well. 1: https://ananthakumaran.in/2021/07/31/emacs-remote.html

X forwarding is always an option.

Re: Emacs 29 is nigh

#37
post #11

Wow, Eglot/Treesitter/better package support in 29 make me want to try Emacs again. > Install packages from source with package.el Emacs users updating to 29: do you plan to use this instead of Straight now? If not, can you help me to understand what more Straight provides? Emacs on macOS users: do you generally compile new versions of Emacs from source, or wait for ports like Mitsuharu Yamamoto's one[1] to update? […

My preferred distribution for emacs on macos is: https://github.com/d12frosted/homebrew-emacs-plus It's well documented and supported, I highly recommend it!

+1 I’ve been using native comp (and other goodies) on M1 via emacs plus https://xenodium.com/emacs-plus-with-native-comp/

Re: Emacs 29 is nigh

#38

I love that eglot is being incorporated into emacs, though I myself use lsp-mode. Does anybody know how advanced eglot is? As far as I hear, it doesn't support multiple language servers which seems like a showstopper for web dev these days, e.g. I usually have ts lang server + tailwind lang server running at the same time when doing web dev.

Similar boat, though looking forward to the native eglot as lsp-mode always had some config problems and adding a custom mode was pure headache

Re: Emacs 29 is nigh

#39
post #5

> Native access to SQLite databases I'm excited for this. May there be a nice database CRUD mode in the future.

I am not quite sure how this particular feature will look but Emacs can be already used as a SQL client. Here is a short demo https://www.youtube.com/watch?v=D97vDu_BhwA

Here is an introduction blog[1] and the related mode[2]

[1] https://emacsredux.com/blog/2013/06/13/using-emacs-as-a-data...

[2] https://github.com/emacs-mirror/emacs/blob/master/lisp/progm...

Re: Emacs 29 is nigh

#40

I love that eglot is being incorporated into emacs, though I myself use lsp-mode. Does anybody know how advanced eglot is? As far as I hear, it doesn't support multiple language servers which seems like a showstopper for web dev these days, e.g. I usually have ts lang server + tailwind lang server running at the same time when doing web dev.

As far as out-of-the-box support, I think it works great. Much easier to configure than lsp-mode.

However, for my uses with a Ruby/React+TSX setup the performance was lacking on a large codebase. I swapped back to lsp-mode and the experience felt smoother.

IIRC the author's stance on previous discussions around multiple language servers was to rely on flymake instead, since the previous discussion centered around ESLint + TypeScript. Tailwind is a bit of an issue in the ecosystem right now, but you may want to try https://github.com/merrickluo/lsp-tailwindcss.

Post reply on HN