help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Easy way to rename files sequentially?


From: David Kastrup
Subject: Re: Easy way to rename files sequentially?
Date: Mon, 26 Nov 2007 22:00:49 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

>> From: David Hansen <david.hansen@gmx.net>
>> Date: Mon, 26 Nov 2007 18:26:02 +0000
>> 
>> \# isn't working in `dired-do-rename-regexp'
>
> That sounds like a bug (or missing feature) to me:
> dired-do-rename-regexp is supposed to be 100% compatible with
> query-replace-regexp, as far as regexp replacement goes.

Missing feature.  query-replace-regexp offers this sort of replacement
only in interactive use (it implements it mostly by translating the
replacement string into a list which gets interpreted specially by
perform-replace).  I have taken a look at the respective code in
replace.el, and it is not really prepared for doing string replacements
right now.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum


reply via email to

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