emacs-devel
[Top][All Lists]
Advanced

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

RE: Keybinding nit


From: Drew Adams
Subject: RE: Keybinding nit
Date: Fri, 20 Oct 2006 12:13:05 -0700

This topic seems to me like something that should be discussed after the
release - it apparently involves a possible new feature or two.

FWIW -

I have no objection to `C-x 4 k' and `C-x 5 k' as proposed. I won't use
them, but I don't object to them.

Personally, I do this, which I find sufficient:

`C-x 0' deletes the selected window. If the window is alone in its frame,
then the frame is also deleted. (I use non-nil `pop-up-frames', so windows
are typically alone, and this typically deletes the frame.)

`C-u C-x 0' reads a buffer name with completion, and deletes all windows
showing that buffer, wherever they are. The current buffer is the default.

`C-x k' reads a buffer name with completion, kills the buffer, and deletes
all of its windows. This is used only interactively; it is not a change to
`kill-buffer'.

Interactively, I never need to kill a buffer and keep its window. If I
really want to keep the window, then I just switch to a different buffer,
without killing the first one.

That's really all I need. `C-x 0' gets rid of windows and frames, and `C-x
k' gets rid of buffers and their windows (and frame, if `one-window-p'). I
think the only case it doesn't cover is deleting a frame when there are
multiple windows - for that I do use `C-x 5 0'.

[FWIW2 - When these commands read a buffer name with completion, you can in
fact kill multiple buffers or delete their windows, by using `C-mouse-2' or
`C-RET' in *Completions*.]





reply via email to

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