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: Wed, 28 Nov 2007 00:43:36 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux)

jadamson@partners.org (Joel J. Adamson) writes:

> Thierry Volpiatto <thierry.volpiatto@gmail.com> writes:
>
>> So which one is the counter, "\" or "#" ?
>
> `\' and `#' together are a symbol meaning a counter in a replacement
> pattern.  `\,' is the construct that says "LISP IS COMING!"
>
> In case I failed to mention,

It is not something to be proud of:

> I often use `(string-to-int \1)' for addition, e.g.
>
> \,(+ \# (string-to-int \1))

Why don't you write \,(+ \# \#1) instead?

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum


reply via email to

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