GNU bug report logs - #78338
[PATCH] Eglot: Display number of available code actions for mode-line

Previous Next

Package: emacs;

Reported by: Elijah Gabe Pérez <eg642616 <at> gmail.com>

Date: Fri, 9 May 2025 19:15:02 UTC

Severity: normal

Tags: patch

Done: Elijah Gabe Pérez <eg642616 <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


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

From: João Távora <joaotavora <at> gmail.com>
To: Elijah Gabe Pérez <eg642616 <at> gmail.com>
Cc: 78338 <at> debbugs.gnu.org
Subject: Re: bug#78338: [PATCH] Eglot: Display number of available code
 actions for mode-line
Date: Sun, 11 May 2025 14:06:13 +0100
I'm not crazy about this idea because numbers in the [eglot] mode line section
already have certain meanings and it's easy to confuse with these new
numbers.

With more or less access to internal symbols, you should be able to do this
in your own construct in your .emacs and then replace

   eglot-mode-line-action-suggestion

with sth like

   elijah/eglot-mode-line-action-suggestion

in eglot-mode-line-format, the latter doing what you want.  Please try that
and list here the symbols that you needed to use (if any).  Maybe
those can be made
external.

João

On Fri, May 9, 2025 at 8:15 PM Elijah Gabe Pérez <eg642616 <at> gmail.com> wrote:
>
> Tags: patch
>
>
> I think it would be useful to have this in Eglot; lsp-mode and neovim
> already provide something similar.
>
> This is how it would look in the mode-line: [eglot:emacs/💡1]
>
>
> --
>                                           - E.G via GNU Emacs and Org.



-- 
João Távora




This bug report was last modified 6 days ago.

Previous Next


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