GNU bug report logs - #58893
29.0.50; Feedback on Eglot manual

Previous Next

Package: emacs;

Reported by: Felician Nemeth <felician.nemeth <at> gmail.com>

Date: Sun, 30 Oct 2022 09:43:02 UTC

Severity: wishlist

Found in version 29.0.50

Full log


View this message in rfc822 format

From: Felician Nemeth <felician.nemeth <at> gmail.com>
To: João Távora <joaotavora <at> gmail.com>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 58893 <at> debbugs.gnu.org
Subject: bug#58893: 29.0.50; Feedback on Eglot manual
Date: Sun, 06 Nov 2022 20:15:37 +0100
>> > * Snippet completion
>> >
>> > Yasnippet should be enabled in the current buffer before Eglot connects
>> > to the LSP server.
>
> Felicián, are you sure?  If that's true, then I think it's a bug.  I
> don't want users to have to remember this.  So I think the current
> gist "just install yasnippet" should be enough.

Eglot does not enable yasnippet mode anywhere.
eglot--snippet-expansion-fn only checks whether
yas-minor-mode/yas-global-mode is enabled.

So if it is considered as a bug, then I think the fix is to make
eglot--snippet-expansion-fn and eglot--managed-mode turn yas-minor-mode
on when it is available and yasnippet is not in eglot-stay-out-of.




This bug report was last modified 2 years and 218 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.