GNU bug report logs - #64274
30.0.50; Eglot requests textDocument/documentSymbol if its not declared in the server capabilities

Previous Next

Package: emacs;

Reported by: Wilhelm Kirschbaum <wkirschbaum <at> gmail.com>

Date: Sat, 24 Jun 2023 19:48:02 UTC

Severity: normal

Found in version 30.0.50

Done: João Távora <joaotavora <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #17 received at 64274 <at> debbugs.gnu.org (full text, mbox):

From: Wilhelm Kirschbaum <wkirschbaum <at> gmail.com>
To: João Távora <joaotavora <at> gmail.com>
Cc: 64274 <at> debbugs.gnu.org
Subject: Re: 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
> 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 <at> gmail.com> wrote:
>
>  Here is a naive patch which fixes it for me.
>
>  Wilhelm





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

Previous Next


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