GNU bug report logs - #78530
31.0.50; [PATCH] eglot-code-action-suggestion doesn't call the callback function in the original buffer

Previous Next

Package: emacs;

Reported by: Yuan Fu <casouri <at> gmail.com>

Date: Wed, 21 May 2025 07:43:02 UTC

Severity: normal

Tags: patch

Found in version 31.0.50

Full log


View this message in rfc822 format

From: João Távora <joaotavora <at> gmail.com>
To: Yuan Fu <casouri <at> gmail.com>
Cc: 78530 <at> debbugs.gnu.org
Subject: bug#78530: 31.0.50; [PATCH] eglot-code-action-suggestion doesn't call the callback function in the original buffer
Date: Thu, 22 May 2025 10:28:38 +0100
[Message part 1 (text/plain, inline)]
Ok,

To understand exactly what you mean, just show a patch to eldoc.el. Even
though I'm not directly maintaining it anymore lately, I can look at it.

João Távora

On Thu, May 22, 2025, 06:48 Yuan Fu <casouri <at> gmail.com> wrote:

>
>
> > On May 21, 2025, at 4:20 AM, João Távora <joaotavora <at> gmail.com> wrote:
> >
> > Good catch, good analysis and great commit message.
> >
> > Just please rename the subject line of the commit message to
> > start with "Eglot: " if you can.  Makes it easier to identify.  For
> example:
> >
> > Eglot: always call ElDoc callbacks in correct buffer
> >
> > Then add a reference to this bug#78530 and push at will.
>
> Cool. And thanks for the commit title, I was struggling to come up with a
> good one :) I pushed the fix. But we should also think about fixing the
> root cause. For example, switching to the original buffer temporarily when
> running ‘eldoc-display-functions’, like what eglot documentation functions
> do already. WDYT?
>
> Yuan
[Message part 2 (text/html, inline)]

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.