GNU bug report logs - #38818
Dired: mention deleting buffers, not just windows

Previous Next

Package: emacs;

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


View this message in rfc822 format

From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: martin rudalics <rudalics <at> gmx.at>
Cc: 38818 <at> debbugs.gnu.org
Subject: bug#38818: Dired: mention deleting buffers, not just windows
Date: Tue, 31 Dec 2019 02:11:31 +0800
>>>>> "mr" == martin rudalics <rudalics <at> gmx.at> writes:
>> At (info "(emacs) Dired Enter")
>> 
>> Typing ‘q’ (‘quit-window’) buries the Dired buffer, and deletes its
>> window if the window was created just for that buffer.
>> 
>> Add:
>> 
>> To delete the buffer instead of just burying it, type "1 q".

mr> We can add that typing "q" with a prefix argument will kill the
mr> buffer,

Yes please do. As in (info "(elisp) Quitting Windows"). Which you might
as well add a link to...

mr> but I'm afraid we have no facility supplying ...

>> To make deleting the buffer the default instead of burying it, use
>> (setq ... ...)

mr> ... that.

OK, but there really should be a way. Else heavy dired users commonly
end up with plenty of old buffers by the end of the day.

(Note that if they toggled the default to now kill, instead of burying
the buffer, they would need a way to make an exception. E.g., the argument
would then instead bury, not kill.)

(Also let's say they have one or two dired buffers they really do want
to keep around, despite their "q" hitting habit.

Well then perhaps there should be a "dired-mark-this-buffer-as-q-kill-proof"
command... Or maybe even a regexp list that the user can put in their
.emacs file.)




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.