News for hackers. Stuff that matters.
Re:Eglot has landed on master: Emacs now has a built-in LSP ... by tptacek on Sunday October 23, 2022 @03:09PM (#33309349)
I just remember a zillion weird popups with lsp-mode, which is all UI that isn't built in to Emacs. But also: Projectile isn't built into Emacs. Project.el is. The lsp-mode hovers are bespoke; eglot just uses ElDoc. lsp-mode wants you to use flycheck; flycheck isn't built into Emacs. lsp-mode can use xref, but it also has its own thing. lsp-mode has its own header and modeline goo. It goes on like that.

None of this is bad. These aren't critiques of lsp-mode. But they're definitely reasons why it would make sense to integrate Eglot, which prioritizes integrating with Emacs built-in libraries.

The actual critique of lsp-mode I would make is that I bounced from lsp-mode at least 3 times trying to get things working, and things would always be ok for like a couple days and then I'd lose 30 minutes to debugging and ultimately just turn it all off so I could get on with my day. I enabled Eglot once, with like 10 lines of use-package, and haven't touched it since.

Re:Eglot has landed on master: Emacs now has a built-in LSP ... by anyfoo on Sunday October 23, 2022 @03:26PM (#33309500)
Sorry, I’m just not sure most of that is true anymore. How long ago was your experience? I remember bouncing off lsp-mode into eglot years ago as well for similar reasons, but nowadays it just seems totally different to me.

I’ve never used anything but xref in lsp-mode, I rely on xref a lot. I wasn’t even aware that lsp-mode has, or had, something bespoke there.

I use flymake, not flycheck, I don’t think I had to configure that.

projectile is just my personal preference because I'm used to it, the manual says it integrates with either project.el or projectile.

I remember the weird popups you mention from my first lsp-mode trial. I don’t know where they’re gone, nowadays it’s just text in the buffer. (But I don’t know whether that’s ElDoc or not.)

Re:Eglot has landed on master: Emacs now has a built-in LSP ... by josteink on Sunday October 23, 2022 @03:19PM (#33309438)
> I just remember a zillion weird popups with lsp-mode

I think that may be lsp-ui, not lsp-mode, but I might be mistaken.

Re:Eglot has landed on master: Emacs now has a built-in LSP ... by Myrmornis on Sunday October 23, 2022 @04:31PM (#33309994)
Yes I had exactly the same experience, maybe 3 years ago? Installing lsp-mode resulted in an overblown UI with all sorts of gadgets; it looked like an attempt to create an "IDE experience" in Emacs, and so I ran away, used eglot for a few months, and then ended my 20-year Emacs run and switched to VSCode. (Apart from magit -- of course I do still have an Emacs instance running.) But it does sound like people are saying that lsp-mode got rid of the tasteless stuff. And since Eglot development has now moved away from GitHub to a combination of unpleasant mailing lists and unfashionable issue-tracking apps, I wonder whether it will stand a chance in the future competition.
Re:Eglot has landed on master: Emacs now has a built-in LSP ... by solomatov on Sunday October 23, 2022 @10:17PM (#33312315)
There's a magit like extension for vscode: https://marketplace.visualstudio.com/items?itemName=kahole.m...