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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 42707 in the body.
You can then email your comments to 42707 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#42707; Package emacs. (Tue, 04 Aug 2020 15:58:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 04 Aug 2020 15:58:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: bug-gnu-emacs <at> gnu.org
Subject: 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."




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#42707; Package emacs. (Wed, 05 Aug 2020 09:29:02 GMT) Full text and rfc822 format available.

Message #8 received at 42707 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Cc: 42707 <at> debbugs.gnu.org
Subject: Re: bug#42707: Mention antidote to accidental k in dired
Date: Wed, 05 Aug 2020 11:28:19 +0200
積丹尼 Dan Jacobson <jidanni <at> jidanni.org> writes:

> 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."

I've now mentioned undo in the doc string in Emacs 28.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Added tag(s) fixed. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Wed, 05 Aug 2020 09:29:02 GMT) Full text and rfc822 format available.

bug marked as fixed in version 28.1, send any further explanations to 42707 <at> debbugs.gnu.org and 積丹尼 Dan Jacobson <jidanni <at> jidanni.org> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Wed, 05 Aug 2020 09:29:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 02 Sep 2020 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 229 days ago.

Previous Next


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