GNU bug report logs - #44334
28.0.50; [eldoc] Impossible to avoid creating the *eldoc for xxx* buffer

Previous Next

Package: emacs;

Reported by: Xu Chunyang <xuchunyang56 <at> gmail.com>

Date: Fri, 30 Oct 2020 18:03:02 UTC

Severity: minor

Found in version 28.0.50

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

Bug is archived. No further changes may be made.

Full log


Message #22 received at 44334-done <at> debbugs.gnu.org (full text, mbox):

From: João Távora <joaotavora <at> gmail.com>
To: "Basil L. Contovounesios" <contovob <at> tcd.ie>
Cc: Xu Chunyang <xuchunyang56 <at> gmail.com>, 44334-done <at> debbugs.gnu.org
Subject: Re: bug#44334: 28.0.50; [eldoc] Impossible to avoid creating the
 *eldoc for xxx* buffer
Date: Fri, 30 Oct 2020 22:40:35 +0000
João Távora <joaotavora <at> gmail.com> writes:

> "Basil L. Contovounesios" <contovob <at> tcd.ie> writes:
>
>> João Távora <joaotavora <at> gmail.com> writes:
>>
>>> The buffer is an implementation detail for the member of 
>>> eldoc-display-functions that writes to the echo area,
>>> so it's hard to do away with.  However, it should be reasonably 
>>> easy to "hide it", as Xu suggests, by prefixing its name with a
>>> space. The the eldoc-display-in-eldoc-buffer display function
>>> just renames it to not have that space, promoting it 
>>> to visible.
>>
>> So the space-prefixed buffer name can (should?) be the default?
>
> Yes. Or rather: by default, if you just use ElDoc like you always did in
> Emacs <28, that buffer shouldn't be bothering you.  I'll see what the
> best implementation for doing that is, but I do suspect it's hiding it
> with a space prefix in the buffer name.

I just pushed a commit fixing this.  Please try it out. The idea is that
if you never M-x eldoc or M-x eldoc-doc-buffer, you are never bothered
by that buffer.  If you do call these commands, the buffer becomes
"interesting" and shows in the normal buffer list, until you kill it,
after which it re-created in space-prefixed "uninterested" form again.

I'm closing this bug, but we could reopen if the problem isn't fixed.

João




This bug report was last modified 4 years and 203 days ago.

Previous Next


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