From: Wilhelm Kirschbaum <wkirschbaum@gmail.com>
To: "João Távora" <joaotavora@gmail.com>
Cc: 64274@debbugs.gnu.org
Subject: bug#64274: 30.0.50; Eglot requests textDocument/documentSymbol if its not declared in the server capabilities
Date: Sun, 25 Jun 2023 00:35:22 +0200 [thread overview]
Message-ID: <875y7c8ouk.fsf@gmail.com> (raw)
In-Reply-To: <CALDnm504M6mD6iD3JWXkBx1Cg+kFym72v5aqy169-ocxaaZNUg@mail.gmail.com>
> Thanks, i think the patch is in the right direction, but you
> could use eglot--server-capable-or-lose.
>
The idea is to transparently just fall back to the non-eglot imenu
and
not sure if I want to see a warning for this every time imenu gets
called.
> Can you test it?
I tested eglot--server-capable-or-lose and it is not ideal,
because not
only does it not fall back, it spams the warning and if the
languages.
>
> João
>
> On Sat, Jun 24, 2023, 21:12 Wilhelm Kirschbaum
> <wkirschbaum@gmail.com> wrote:
>
> Here is a naive patch which fixes it for me.
>
> Wilhelm
next prev parent reply other threads:[~2023-06-24 22:35 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-24 19:40 bug#64274: 30.0.50; Eglot requests textDocument/documentSymbol if its not declared in the server capabilities Wilhelm Kirschbaum
2023-06-24 20:07 ` Wilhelm Kirschbaum
2023-06-24 21:56 ` João Távora
2023-06-24 22:35 ` Wilhelm Kirschbaum [this message]
2023-06-24 23:06 ` João Távora
2023-06-24 23:21 ` Wilhelm Kirschbaum
2023-07-01 22:07 ` 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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=875y7c8ouk.fsf@gmail.com \
--to=wkirschbaum@gmail.com \
--cc=64274@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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).