GNU bug report logs -
#38818
Dired: mention deleting buffers, not just windows
Previous Next
Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Date: Mon, 30 Dec 2019 16:45:02 UTC
Severity: wishlist
Tags: notabug
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #20 received at 38818 <at> debbugs.gnu.org (full text, mbox):
>>>>> "MH" == Michael Heerdegen <michael_heerdegen <at> web.de> writes:
MH> doesn't `kill-buffer-and-window' (C-x 4 0) already do what you want?
Actually
C-x k runs the command kill-buffer
is good enough perhaps.
Anyway the user, in dired, uses lots of v's and q's, to browse a tree.
The v's go in, and the q's go out.
After the day is finished, the files are all gone from the buffer list,
but the directories all remain.
So q when in a directory should do the same as q in (file) view mode,
which is View-quit.
So the
q runs the command quit-window (found in dired-mode-map)
in dired-mode-map is the culprit.
So quit-window doesn't need to be changed at all. Instead q in
dired-mode-map needs a new binding.
OK, in dired, M-x View-quit does nothing. Makes sense, we are not in view-mode.
So dired's q should be mapped to kill-buffer instead... (Except
kill-buffer asks the user which buffer. So a new function is needed,
with no asking.)
Anyway this all could be controlled by a new variable:
dired-keep-directorys-around-upon-quitting-it
t: current behaviour (bury buffer)
nil: kill buffer
ask: ask upon each q what to do.
This bug report was last modified 5 years and 122 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.