GNU bug report logs - #461
delete-window means "get out of my face" even for sole window

Previous Next

Package: emacs;

Reported by: jidanni <at> jidanni.org

Date: Sun, 22 Jun 2008 00:05:05 UTC

Severity: wishlist

Tags: wontfix

Done: Glenn Morris <rgm <at> gnu.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 461 in the body.
You can then email your comments to 461 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-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#461; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to jidanni <at> jidanni.org:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: jidanni <at> jidanni.org
To: bug-gnu-emacs <at> gnu.org
Subject: delete-window means "get out of my face" even for sole window
Date: Sat, 21 Jun 2008 17:29:50 +0800
Ah, why of course: C-x 0 (delete-window) issued when there is only one
window, should reveal the next best buffer.

Why? Because when the user types C-x 0, he is saying "get out of my
face", and emacs should do what he means. Indeed, it should be just
like he hit C-x b RET, picking the default buffer prompted with.
(I say don't prompt him on C-x 0, but you could if you insist.)

And don't bury the old buffer, just move it one down in the list.

Currently C-x 0 gives
"Attempt to delete minibuffer or sole ordinary window"

I am only discussing "sole ordinary window". As far as deleting the
minibuffer, that should still be illegal.





Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#461; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Stefan Monnier <monnier <at> iro.umontreal.ca>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #10 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: jidanni <at> jidanni.org
Cc: 461 <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
Subject: Re: bug#461: delete-window means "get out of my face" even for sole window
Date: Sat, 21 Jun 2008 20:58:08 -0400
tag 461 +wontfix
thanks

> Why? Because when the user types C-x 0, he is saying "get out of my
> face", and emacs should do what he means.  Indeed, it should be just
> like he hit C-x b RET, picking the default buffer prompted with.
> (I say don't prompt him on C-x 0, but you could if you insist.)

There's already "C-x b RET", "C-x <right>", "C-x <left>" and probably
several other ways to do what you want, so I see no need to change
C-x 0 in the way you suggest.

C-x 0 currently doesn't care about buffers, only about windows, so your
"extension" doesn't seem very natural to me.  A more natural extension
would be to indeed delete the sole window by exiting (or maybe sticking
around waiting for emacsclient connections in case you've started the
emacs-server).


        Stefan





Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#461; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Stefan Monnier <monnier <at> iro.umontreal.ca>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Tags added: wontfix Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Sat, 28 Jun 2008 00:25:05 GMT) Full text and rfc822 format available.

Reply sent to Glenn Morris <rgm <at> gnu.org>:
You have taken responsibility. (Sat, 09 Jul 2011 18:34:02 GMT) Full text and rfc822 format available.

Notification sent to jidanni <at> jidanni.org:
bug acknowledged by developer. (Sat, 09 Jul 2011 18:34:02 GMT) Full text and rfc822 format available.

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

From: Glenn Morris <rgm <at> gnu.org>
To: 461-done <at> debbugs.gnu.org
Subject: Re: bug#461: delete-window means "get out of my face" even for sole
	window
Date: Sat, 09 Jul 2011 14:32:56 -0400
I don't see a need to keep open this particular report, which was marked
"wontfix" some time ago.

Stefan Monnier wrote:

> There's already "C-x b RET", "C-x <right>", "C-x <left>" and probably
> several other ways to do what you want, so I see no need to change
> C-x 0 in the way you suggest.
>
> C-x 0 currently doesn't care about buffers, only about windows, so your
> "extension" doesn't seem very natural to me.




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

This bug report was last modified 13 years and 319 days ago.

Previous Next


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