emacs-bug-tracker
[Top][All Lists]
Advanced

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

bug#61718: closed ([PATCH] Fill minibuffer when dired renaming one file)


From: GNU bug Tracking System
Subject: bug#61718: closed ([PATCH] Fill minibuffer when dired renaming one file)
Date: Thu, 23 Feb 2023 00:47:02 +0000

Your message dated Thu, 23 Feb 2023 01:46:15 +0100
with message-id <87356xus2w.fsf@ellen.idiomdrottning.org>
and subject line Not needed
has caused the debbugs.gnu.org bug report #61718,
regarding [PATCH] Fill minibuffer when dired renaming one file
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
61718: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=61718
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] Fill minibuffer when dired renaming one file Date: Wed, 22 Feb 2023 21:07:34 +0100
When renaming a file in dired it's sometimes annoying to have to
retype the entire name even when we're only changing a single
character. With this tiny li'l one word patch, the minibuffer gets
pre-filled by the old name.
---
 lisp/dired-aux.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/dired-aux.el b/lisp/dired-aux.el
index 6cb097f6bb3..908e43af091 100644
--- a/lisp/dired-aux.el
+++ b/lisp/dired-aux.el
@@ -2570,7 +2570,7 @@ Optional arg HOW-TO determines how to treat the target.
   (dired-mark-pop-up
    nil op-symbol files
    #'read-file-name
-   (format prompt (dired-mark-prompt arg files)) dir default))
+   (format prompt (dired-mark-prompt arg files)) dir default nil default))
 
 (defun dired-dwim-target-directories ()
   (if (functionp dired-dwim-target)
-- 
2.30.2




--- End Message ---
--- Begin Message --- Subject: Not needed Date: Thu, 23 Feb 2023 01:46:15 +0100
OK, I'm satisfied with the M-n solution! Thank you♄


--- End Message ---

reply via email to

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