* bug#461: delete-window means "get out of my face" even for sole window
@ 2008-06-21 9:29 jidanni
2008-06-22 0:58 ` Stefan Monnier
0 siblings, 1 reply; 3+ messages in thread
From: jidanni @ 2008-06-21 9:29 UTC (permalink / raw
To: bug-gnu-emacs
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#461: delete-window means "get out of my face" even for sole window
2008-06-21 9:29 bug#461: delete-window means "get out of my face" even for sole window jidanni
@ 2008-06-22 0:58 ` Stefan Monnier
2011-07-09 18:32 ` Glenn Morris
0 siblings, 1 reply; 3+ messages in thread
From: Stefan Monnier @ 2008-06-22 0:58 UTC (permalink / raw
To: jidanni; +Cc: 461, bug-gnu-emacs
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#461: delete-window means "get out of my face" even for sole window
2008-06-22 0:58 ` Stefan Monnier
@ 2011-07-09 18:32 ` Glenn Morris
0 siblings, 0 replies; 3+ messages in thread
From: Glenn Morris @ 2011-07-09 18:32 UTC (permalink / raw
To: 461-done
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-07-09 18:32 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-21 9:29 bug#461: delete-window means "get out of my face" even for sole window jidanni
2008-06-22 0:58 ` Stefan Monnier
2011-07-09 18:32 ` Glenn Morris
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.