GNU bug report logs - #42707
Mention antidote to accidental k in dired

Previous Next

Package: emacs;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Tue, 4 Aug 2020 15:58:01 UTC

Severity: normal

Tags: fixed

Fixed in version 28.1

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: 42707 <at> debbugs.gnu.org
Subject: bug#42707: Mention antidote to accidental k in dired
Date: Tue, 04 Aug 2020 20:56:36 +0800
   k runs the command dired-do-kill-lines (found in dired-mode-map),
   which is an interactive autoloaded compiled Lisp function in
   ‘dired-aux.el’.

   It is bound to k.

   (dired-do-kill-lines &optional ARG FMT)

   Kill all marked lines (not the files).
   With a prefix argument, kill that many lines starting with the current line.
   (A negative argument kills backward.)
   If you use this command with a prefix argument to kill the line
   for a file that is a directory, which you have inserted in the
   Dired buffer as a subdirectory, then it deletes that subdirectory
   from the buffer as well.
   To kill an entire subdirectory (without killing its line in the
   parent directory), go to its directory header line and use this
   command with a prefix argument (the value does not matter).

That's great. Except many users will be reading this after accidentally
hitting k, and wondering what happened. So at the bottom mention the antidote.

"If you accidentally hit k, then do ... (Undo? Yank?) to recover."




This bug report was last modified 4 years and 287 days ago.

Previous Next


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