GNU bug report logs - #49139
Cannot delete *help* buffer

Previous Next

Package: emacs;

Reported by: philip-agee <at> africamel.net

Date: Sun, 20 Jun 2021 16:20:01 UTC

Severity: normal

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 49139 in the body.
You can then email your comments to 49139 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#49139; Package emacs. (Sun, 20 Jun 2021 16:20:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to philip-agee <at> africamel.net:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 20 Jun 2021 16:20:01 GMT) Full text and rfc822 format available.

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

From: philip-agee <at> africamel.net
To: bug-gnu-emacs <at> gnu.org
Subject: Cannot delete *help* buffer
Date: Sun, 20 Jun 2021 17:49:57 +0200 (CEST)
[Message part 1 (text/plain, inline)]

When I use "C-h f myfunc" I get the docstring in the *help* buffer.  I can close the window

with "C-x 1".  



But tring to close the *help* buffer does not work.  I press on the "Red Cross" and the

*help* buffer remains present in the Buffers Menu Bar.



If I press the "Red Cross" on the *scratch* and *messages* buffers, the two buffers

get removed from the Buffers Menu Bar.

[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#49139; Package emacs. (Sun, 20 Jun 2021 21:56:01 GMT) Full text and rfc822 format available.

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

From: Stephen Berman <stephen.berman <at> gmx.net>
To: philip-agee <at> africamel.net
Cc: 49139 <at> debbugs.gnu.org
Subject: Re: bug#49139: Cannot delete *help* buffer
Date: Sun, 20 Jun 2021 23:55:13 +0200
On Sun, 20 Jun 2021 17:49:57 +0200 (CEST) philip-agee <at> africamel.net wrote:

> When I use "C-h f myfunc" I get the docstring in the *help* buffer.  I
> can close the window with "C-x 1".
>
> But tring to close the *help* buffer does not work.  I press on the
> "Red Cross" and the *help* buffer remains present in the Buffers Menu
> Bar.
>
> If I press the "Red Cross" on the *scratch* and *messages* buffers,
> the two buffers get removed from the Buffers Menu Bar.

This is a change in behavior from Emacs 27 due to this change:

commit c85c8e7d42ae2a5fc95fa7b14257389d8383b34d
Author:     Stefan Kangas <stefan <at> marxist.se>
Commit:     Stefan Kangas <stefan <at> marxist.se>
CommitDate: Sat Feb 20 06:43:03 2021 +0100

    Add toolbar for help-mode

Prior to this change, clicking the X icon in the tool bar when *Help* is
the current buffer does kill the buffer, but since the change it just
buries the buffer.  This change should be called out in NEWS.

Emacs does give indirect notification of this difference between
clicking the X icon when *Help* is the current buffer and when a buffer
such as *scratch* is current: if you hover the mouse pointer over the
icon when *scratch* is current, you get a tooltip saying "Discard (kill)
current buffer", while with *Help* current the tooltip says "Quit help
(q)".  And if you type `C-h k' with *Help* current and then click the X
icon, the *Help* buffer now says "<tool-bar> <quit> runs the command
quit-window [...]" and further down explains how it is in fact possible
to kill the *Help* buffer from the tool bar: type a prefix argument
(C-u) and then click the icon.

Steve Berman




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#49139; Package emacs. (Mon, 21 Jun 2021 06:07:02 GMT) Full text and rfc822 format available.

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

From: philip-agee <at> africamel.net
To: "Stephen Berman" <stephen.berman <at> gmx.net>
Cc: 49139 <at> debbugs.gnu.org
Subject: bug#49139: Cannot delete *help* buffer
Date: Mon, 21 Jun 2021 02:15:31 +0200 (CEST)
[Message part 1 (text/plain, inline)]
From: Stephen Berman <stephen.berman <at> gmx.net>
To: philip-agee <at> africamel.net
Subject: Re: bug#49139: Cannot delete *help* buffer
Date: 20/06/2021 23:55:13 Europe/Paris
Cc: 49139 <at> debbugs.gnu.org

On Sun, 20 Jun 2021 17:49:57 +0200 (CEST) philip-agee <at> africamel.net wrote:

> When I use "C-h f myfunc" I get the docstring in the *help* buffer. I
> can close the window with "C-x 1".
>
> But tring to close the *help* buffer does not work. I press on the
> "Red Cross" and the *help* buffer remains present in the Buffers Menu
> Bar.
>
> If I press the "Red Cross" on the *scratch* and *messages* buffers,
> the two buffers get removed from the Buffers Menu Bar.

This is a change in behavior from Emacs 27 due to this change:

commit c85c8e7d42ae2a5fc95fa7b14257389d8383b34d
Author: Stefan Kangas <stefan <at> marxist.se>
Commit: Stefan Kangas <stefan <at> marxist.se>
CommitDate: Sat Feb 20 06:43:03 2021 +0100

Add toolbar for help-mode

Prior to this change, clicking the X icon in the tool bar when *Help* is
the current buffer does kill the buffer, but since the change it just
buries the buffer. This change should be called out in NEWS.

Emacs does give indirect notification of this difference between
clicking the X icon when *Help* is the current buffer and when a buffer
such as *scratch* is current: if you hover the mouse pointer over the
icon when *scratch* is current, you get a tooltip saying "Discard (kill)

current buffer", 



* Correct, I get  "Discard (kill) current buffer"



while with *Help* current the tooltip says "Quit help (q)". 



* Also correct, I get "Quit help(q) "



And if you type `C-h k' with *Help* current and then click the X

icon, the *Help* buffer now says 



"<tool-bar> <quit> runs the command quit-window [...]" 



* yes, it does say tho above



and further down explains how it is in fact possible
to kill the *Help* buffer from the tool bar: type a prefix argument
(C-u) and then click the icon.



* It gets very cryptic now because it says



* "With prefix argument KILL non-nil, kill the buffer instead of
* burying it."



* After trying it, type a prefix argument (C-u) and then click the icon,

* one is indeed able to kill the buffer.



I use the help buffer to read documentation or to write some information 

temporarily.  Do we really need such complication (C-u) to kill the buffer

when just clicking the icon is a standard way to kill it ?.



Steve Berman


[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#49139; Package emacs. (Mon, 21 Jun 2021 13:18:02 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Stephen Berman <stephen.berman <at> gmx.net>
Cc: philip-agee <at> africamel.net, 49139 <at> debbugs.gnu.org
Subject: Re: bug#49139: Cannot delete *help* buffer
Date: Mon, 21 Jun 2021 15:17:14 +0200
Stephen Berman <stephen.berman <at> gmx.net> writes:

> Prior to this change, clicking the X icon in the tool bar when *Help* is
> the current buffer does kill the buffer, but since the change it just
> buries the buffer.  This change should be called out in NEWS.

Makes sense; now done.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#49139; Package emacs. (Mon, 21 Jun 2021 13:20:01 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: philip-agee <at> africamel.net
Cc: Stephen Berman <stephen.berman <at> gmx.net>, 49139 <at> debbugs.gnu.org
Subject: Re: bug#49139: Cannot delete *help* buffer
Date: Mon, 21 Jun 2021 15:19:01 +0200
philip-agee <at> africamel.net writes:

> I use the help buffer to read documentation or to write some information 
> temporarily.  Do we really need such complication (C-u) to kill the buffer
> when just clicking the icon is a standard way to kill it ?.

The standard for these buffers in Emacs is to bury them, not killing
them.  This has been somewhat inconsistently applied in the past and the
`q' (and related commands) have sometimes killed the buffers instead,
but we're moving more to burying.

Closing.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




bug marked as fixed in version 28.1, send any further explanations to 49139 <at> debbugs.gnu.org and philip-agee <at> africamel.net Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Mon, 21 Jun 2021 13:20:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#49139; Package emacs. (Mon, 21 Jun 2021 14:23:03 GMT) Full text and rfc822 format available.

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

From: philip-agee <at> africamel.net
To: "Lars Ingebrigtsen" <larsi <at> gnus.org>
Cc: Stephen Berman <stephen.berman <at> gmx.net>, 49139 <at> debbugs.gnu.org
Subject: bug#49139: Cannot delete *help* buffer
Date: Mon, 21 Jun 2021 16:04:09 +0200 (CEST)
[Message part 1 (text/plain, inline)]
What are the buffers to be hidden ? Could emacs use a different icon than "Red Cross"

to show that it hides the buffer instead of killing it.  Can you include information

on how to actually kill it in the icon tooltip "Preceed by C-u to kill buffer".



From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: philip-agee <at> africamel.net
Subject: bug#49139: Cannot delete *help* buffer
Date: 21/06/2021 15:19:01 Europe/Paris
Cc: Stephen Berman <stephen.berman <at> gmx.net>;
   49139 <at> debbugs.gnu.org

philip-agee <at> africamel.net writes:

> I use the help buffer to read documentation or to write some information 
> temporarily. Do we really need such complication (C-u) to kill the buffer
> when just clicking the icon is a standard way to kill it ?.

The standard for these buffers in Emacs is to bury them, not killing
them. This has been somewhat inconsistently applied in the past and the
`q' (and related commands) have sometimes killed the buffers instead,
but we're moving more to burying.

Closing.

-- 
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no




[Message part 2 (text/html, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 20 Jul 2021 11:24:07 GMT) Full text and rfc822 format available.

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

Previous Next


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