From: Augusto Stoffel <arstoffel@gmail.com>
To: 61679@debbugs.gnu.org
Cc: "João Távora" <joaotavora@gmail.com>
Subject: bug#61679: 29.0.60; Eglot: staying out of trouble
Date: Tue, 21 Feb 2023 15:31:23 +0100 [thread overview]
Message-ID: <87mt57f5tw.fsf@gmail.com> (raw)
Eglot modifies several Emacs features, and it seems to do so
independently of the server capabilities. For instance, it registers a
capf and Eldoc functions even if the server does't provide completions
respectively "hover"/signature help.
In some cases (capf, xref) this seems innocuous, in others (eldoc) Eglot
is really overwriting a possibly useful function with a possibly useless
one.
Now, the above are somewhat silly examples, but the Flymake case is
quite problematic. There exist good servers that don't provide
diagnostics, and Eglot still overwrites `flymake-diagnostic-functions'.
To make things worse, LSP doesn't provide a way to the server to advertise
whether or not it provides diagnostics.
I would suggest that Elgot initially should keep
flymake-diagnostic-functions unchanged, and only overwrite it when the
first diagnostic comes from the server.
next reply other threads:[~2023-02-21 14:31 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-21 14:31 Augusto Stoffel [this message]
2023-02-21 15:00 ` bug#61679: 29.0.60; Eglot: staying out of trouble João Távora
2023-02-21 15:09 ` Augusto Stoffel
2023-02-21 15:17 ` João Távora
2023-02-21 15:32 ` Augusto Stoffel
2023-02-21 15:53 ` João Távora
2023-02-21 15:53 ` João Távora
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87mt57f5tw.fsf@gmail.com \
--to=arstoffel@gmail.com \
--cc=61679@debbugs.gnu.org \
--cc=joaotavora@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.