unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#49139: Cannot delete *help* buffer
@ 2021-06-20 15:49 philip-agee
  2021-06-20 21:55 ` Stephen Berman
  0 siblings, 1 reply; 6+ messages in thread
From: philip-agee @ 2021-06-20 15:49 UTC (permalink / raw)
  To: 49139

[-- Attachment #1: Type: text/plain, Size: 407 bytes --]



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.


[-- Attachment #2: Type: text/html, Size: 528 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#49139: Cannot delete *help* buffer
  2021-06-20 15:49 bug#49139: Cannot delete *help* buffer philip-agee
@ 2021-06-20 21:55 ` Stephen Berman
  2021-06-21  0:15   ` philip-agee
  2021-06-21 13:17   ` Lars Ingebrigtsen
  0 siblings, 2 replies; 6+ messages in thread
From: Stephen Berman @ 2021-06-20 21:55 UTC (permalink / raw)
  To: philip-agee; +Cc: 49139

On Sun, 20 Jun 2021 17:49:57 +0200 (CEST) philip-agee@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@marxist.se>
Commit:     Stefan Kangas <stefan@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





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#49139: Cannot delete *help* buffer
  2021-06-20 21:55 ` Stephen Berman
@ 2021-06-21  0:15   ` philip-agee
  2021-06-21 13:19     ` Lars Ingebrigtsen
  2021-06-21 13:17   ` Lars Ingebrigtsen
  1 sibling, 1 reply; 6+ messages in thread
From: philip-agee @ 2021-06-21  0:15 UTC (permalink / raw)
  To: Stephen Berman; +Cc: 49139

[-- Attachment #1: Type: text/plain, Size: 2516 bytes --]

From: Stephen Berman <stephen.berman@gmx.net>
To: philip-agee@africamel.net
Subject: Re: bug#49139: Cannot delete *help* buffer
Date: 20/06/2021 23:55:13 Europe/Paris
Cc: 49139@debbugs.gnu.org

On Sun, 20 Jun 2021 17:49:57 +0200 (CEST) philip-agee@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@marxist.se>
Commit: Stefan Kangas <stefan@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



[-- Attachment #2: Type: text/html, Size: 3118 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#49139: Cannot delete *help* buffer
  2021-06-20 21:55 ` Stephen Berman
  2021-06-21  0:15   ` philip-agee
@ 2021-06-21 13:17   ` Lars Ingebrigtsen
  1 sibling, 0 replies; 6+ messages in thread
From: Lars Ingebrigtsen @ 2021-06-21 13:17 UTC (permalink / raw)
  To: Stephen Berman; +Cc: philip-agee, 49139

Stephen Berman <stephen.berman@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





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#49139: Cannot delete *help* buffer
  2021-06-21  0:15   ` philip-agee
@ 2021-06-21 13:19     ` Lars Ingebrigtsen
  2021-06-21 14:04       ` philip-agee
  0 siblings, 1 reply; 6+ messages in thread
From: Lars Ingebrigtsen @ 2021-06-21 13:19 UTC (permalink / raw)
  To: philip-agee; +Cc: Stephen Berman, 49139

philip-agee@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





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#49139: Cannot delete *help* buffer
  2021-06-21 13:19     ` Lars Ingebrigtsen
@ 2021-06-21 14:04       ` philip-agee
  0 siblings, 0 replies; 6+ messages in thread
From: philip-agee @ 2021-06-21 14:04 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: Stephen Berman, 49139

[-- Attachment #1: Type: text/plain, Size: 1134 bytes --]

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@gnus.org>
To: philip-agee@africamel.net
Subject: bug#49139: Cannot delete *help* buffer
Date: 21/06/2021 15:19:01 Europe/Paris
Cc: Stephen Berman <stephen.berman@gmx.net>;
   49139@debbugs.gnu.org

philip-agee@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





[-- Attachment #2: Type: text/html, Size: 1488 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-06-21 14:04 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-20 15:49 bug#49139: Cannot delete *help* buffer philip-agee
2021-06-20 21:55 ` Stephen Berman
2021-06-21  0:15   ` philip-agee
2021-06-21 13:19     ` Lars Ingebrigtsen
2021-06-21 14:04       ` philip-agee
2021-06-21 13:17   ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).