reddit / emacs
eglot + tree-sitter in core emacs will be awesome
saarin · 2022-10-03 09:13
I just want to say I am pretty excited to have eglot and tree-sitter in core emacs. Vanilla emacs will be great.
LordOfSwines · 2022-10-03 10:56
Won’t be in core, they will simply ship with emacs. Personally I don’t know what the benefits are over installing them as needed. I use neither so I have mixed feelings about getting more stuff that I don’t need.
Tenn1518 · 2022-10-03 12:59
you’re using the wrong editor then if you’re worried about stuff you don’t use lmao
da-g · 2022-10-03 15:57
core support. thighter integration. higher docs standards. other packages can depend on it. guaranteed absence of 3rd party dependencies today and in the future
Bodertz · 2022-10-03 17:18
>Won’t be in core, they will simply ship with emacs.
https://lists.gnu.org/archive/html/emacs-devel/2022-09/msg01583.html
>We've worked a little bit last week on getting Eglot merged into the core
kovrik · 2022-10-03 17:34
How does it compare to lsp-mode? I heard it was not as good. Anyone switched from lsp-mode to eglot?
Imaltont · 2022-10-03 18:06
It works just fine, it just doesn't come with everything preconfigured/set up/activated/extra features out of the box like lsp-mode. It is more barebones and requires some more time configuring, depending on your needs.
[deleted] · 2022-10-03 18:12
[deleted]
kovrik · 2022-10-03 18:14
Thanks! If that’s ok do you mind sharing a link to your eglot config? I want to try to make a switch.
[deleted] · 2022-10-03 18:22
[deleted]
LordOfSwines · 2022-10-03 18:44
With core people usually refer to the parts written in C.
LordOfSwines · 2022-10-03 18:46
No, I’m good. There are very few built-in packages that I don’t use. The only benefit would be if it receives more love by being built-in. Otherwise I don’t see the point
paretoOptimalDev · 2022-10-03 19:06
I did for tramp support and better autocompletion Integration with corfu.
LordOfSwines · 2022-10-03 19:12
Yeah if it gets more love by being built-in then I see how having it built-in is beneficial compared to a third-party package.
Bodertz · 2022-10-03 19:27
Perhaps. Not exclusively, though. I've seen it used to distinguish between being released on ELPA and being released in Emacs proper.
ricZola · 2022-10-03 19:39
>because it relies on native/core features instead of 3rd party packages
Is relying on core functionality always make a library perform better? Why? Are there any benchmarks?
LordOfSwines · 2022-10-03 19:40
Apparently so, I guess we need to start differentiate between the C core and the other "core as a whole" then :P
[deleted] · 2022-10-03 20:01
[deleted]
nnreddit-user · 2022-10-03 20:37
I don't mind novices. What I do mind is novices who speak with authority, especially those who base performance claims "from what I've read... as well as personal" impressions.
Incidentally, Commercial Emacs fans stay tuned for an eglot clone without the dumb name.
Bodertz · 2022-10-03 20:52
What name have you chosen?
nnreddit-user · 2022-10-03 21:11
I'm afraid I cannot prematurely disclose lest someone domain-squat the name like lsp-mode did (which would have been okay had the lsp-mode people done things correctly).
[deleted] · 2022-10-03 22:42
[deleted]
emax-gomax · 2022-10-04 06:29
Emacs is filled to the brim with packages, I'd find this very surprising if true. hell I discover new builtin packages I might use all the time.
a-concerned-mother · 2022-10-04 08:12
I actually kinda agree so far as lsp. I don't see much reason for eglot. It's not offering new functionality and I don't see any API it would be exposing that people would access since 90% of the user visible features are already built in. Treesitter I can see value in purely because it opens up native support for it as a parser that can be integrated as a library with multiple projects and depended on. At the moment that's not really the case since the setup and usage isn't drop in. It's pretty manual and doesn't really integrate all that well.
LordOfSwines · 2022-10-04 10:25
Yeah exactly this. Tree-sitter makes more sense.
anoduck · 2022-10-05 07:09
Is the EMACS tree-sitter package compatible with OpenBSD? ...no, it is not.
LordOfSwines · 2022-10-05 18:01
Programming, writing Latex, reading and producing PDFs, email, IRC (only with ERC tho), readings news, file-management, org for notes, agenda, browsing web pages, re-builder for regexp and more, heck I even use functions from viper-mode even tho I don't have it activated or use it's keybinds.
That said, even if there were some packages that I don't use, that doesn't mean that there is much of a point to include Eglot nor does it mean that I agree with every addition done to Emacs up to this point, like how we have two irc-clients out of the box. Like a-concerned-mother said - Eglot is not really offering any new functionality in terms of APIs that people can use, tree-sitter support on the other hand makes more sense.
[deleted] · 2022-10-11 21:17
[deleted]