* bug#61718: [PATCH] Fill minibuffer when dired renaming one file
@ 2023-02-22 20:07 Sandra Snan via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-02-22 23:26 ` Daniel Martín via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-02-23 0:46 ` bug#61718: Not needed Sandra Snan via Bug reports for GNU Emacs, the Swiss army knife of text editors
0 siblings, 2 replies; 3+ messages in thread
From: Sandra Snan via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2023-02-22 20:07 UTC (permalink / raw)
To: 61718; +Cc: Sandra Snan
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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* bug#61718: [PATCH] Fill minibuffer when dired renaming one file
2023-02-22 20:07 bug#61718: [PATCH] Fill minibuffer when dired renaming one file Sandra Snan via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2023-02-22 23:26 ` Daniel Martín via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-02-23 0:46 ` bug#61718: Not needed Sandra Snan via Bug reports for GNU Emacs, the Swiss army knife of text editors
1 sibling, 0 replies; 3+ messages in thread
From: Daniel Martín via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2023-02-22 23:26 UTC (permalink / raw)
To: Sandra Snan; +Cc: 61718
Sandra Snan <sandra.snan@idiomdrottning.org> writes:
> 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)
The name of the file you want to rename can be retrieved by typing M-n
in the minibuffer.
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#61718: Not needed
2023-02-22 20:07 bug#61718: [PATCH] Fill minibuffer when dired renaming one file Sandra Snan via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-02-22 23:26 ` Daniel Martín via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2023-02-23 0:46 ` Sandra Snan via Bug reports for GNU Emacs, the Swiss army knife of text editors
1 sibling, 0 replies; 3+ messages in thread
From: Sandra Snan via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2023-02-23 0:46 UTC (permalink / raw)
To: 61718-done
OK, I'm satisfied with the M-n solution! Thank you♥
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-02-23 0:46 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-22 20:07 bug#61718: [PATCH] Fill minibuffer when dired renaming one file Sandra Snan via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-02-22 23:26 ` Daniel Martín via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-02-23 0:46 ` bug#61718: Not needed Sandra Snan via Bug reports for GNU Emacs, the Swiss army knife of text editors
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).