GNU bug report logs -
#6823
24.0.50; Wdired or Dired enhancement
Previous Next
Full log
Message #17 received at 6823 <at> debbugs.gnu.org (full text, mbox):
> > Emacs sorely needs one or more commands that let you rename the
> > marked files as a sequence (following a pattern).
>
> Doesn't the "% R" command in Dired use query-replace under the hood?
> If so, doesn't it already allow to include Lisp expressions in the
> replacement that are eval'ed?
That kind of thing is what I had in mind when I said (though I mentioned Wdired,
not Dired):
>> AFAIK the best you can do now is to use Wdired and perform
>> query-replace with some fancy replacement expression
The Windows behavior does not require any use of a fancy replacement expression
(Lisp).
Again, we can do better than Windows does, and it is good to also offer fancy
replacement (e.g. Lisp sexps). But we should also offer something as simple as
Windows does, and not _require_ users who want to do this kind of common
renaming to work their way through Lisp replacement sexps (no matter how simple
the sexp might be).
In addition, we should probably advertise this renaming better (even %R in
Dired), in the Dired/Wdired doc. If %R is the best we can do for now, then
perhaps add a very simple, short example to illustrate the kind of renaming I
mentioned.
This bug report was last modified 14 years and 311 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.