emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#44334: closed (28.0.50; [eldoc] Impossible to avoid creating the *el


From: GNU bug Tracking System
Subject: bug#44334: closed (28.0.50; [eldoc] Impossible to avoid creating the *eldoc for xxx* buffer)
Date: Fri, 30 Oct 2020 22:41:02 +0000

Your message dated Fri, 30 Oct 2020 22:40:35 +0000
with message-id <87k0v7xrq4.fsf@gmail.com>
and subject line Re: bug#44334: 28.0.50; [eldoc] Impossible to avoid creating 
the *eldoc for xxx* buffer
has caused the debbugs.gnu.org bug report #44334,
regarding 28.0.50; [eldoc] Impossible to avoid creating the *eldoc for xxx* 
buffer
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
44334: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=44334
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: 28.0.50; [eldoc] Impossible to avoid creating the *eldoc for xxx* buffer Date: Sat, 31 Oct 2020 02:02:05 +0800
With eldoc-mode, a buffer like *eldoc for setq* is created and updated
all the time, is it possible to stop it? since I don't need the
buffer at all. If the buffer must be created, maybe make it uninteresting by
prefixing the buffer name with a space.

I've tried the following which does not work.

(remove-hook 'eldoc-display-functions #'eldoc-display-in-buffer)

In GNU Emacs 28.0.50 (build 2, x86_64-apple-darwin19.6.0, NS
appkit-1894.60 Version 10.15.7 (Build 19H2))
 of 2020-10-30 built on mac.lan
Repository revision: 3e63213a1fef16ffe38a5024a83d8782e98aabe1
Repository branch: master
Windowing system distributor 'Apple', version 10.3.1894
System Description:  Mac OS X 10.15.7



--- End Message ---
--- Begin Message --- 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 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
João Távora <joaotavora@gmail.com> writes:

> "Basil L. Contovounesios" <contovob@tcd.ie> writes:
>
>> João Távora <joaotavora@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


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]