From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.help Subject: Re: Easy way to rename files sequentially? Date: Wed, 28 Nov 2007 00:43:36 +0100 Organization: Organization?!? Message-ID: <85wss3b6fr.fsf@lola.goethe.zz> References: <87ejeexgfy.fsf@celephais.home.net> <871waeroap.fsf@newsguy.com> <8763zpwje7.fsf@newsguy.com> <87bq9fsb1f.fsf@W0053328.mgh.harvard.edu> <871wabv0bf.fsf@thievol.homelinux.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1196210455 20535 80.91.229.12 (28 Nov 2007 00:40:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 28 Nov 2007 00:40:55 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Nov 28 01:41:01 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IxAz0-0000tG-Hp for geh-help-gnu-emacs@m.gmane.org; Wed, 28 Nov 2007 01:40:54 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IxAyk-000634-RJ for geh-help-gnu-emacs@m.gmane.org; Tue, 27 Nov 2007 19:40:38 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!goblin1!goblin.stu.neva.ru!nuzba.szn.dk!pnx.dk!club-internet.fr!feedme-small.clubint.net!usenet-fr.net!feeder1-2.proxad.net!proxad.net!feeder2-2.proxad.net!newsfeed.arcor.de!newsspool4.arcor-online.net!news.arcor.de.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help X-Face: 2FEFf>]>q>2iw=B6, xrUubRI>pR&Ml9=ao@P@i)L:\urd*t9M~y1^:+Y]'C0~{mAl`oQuAl \!3KEIp?*w`|bL5qr,H)LFO6Q=qx~iH4DN; i"; /yuIsqbLLCh/!U#X[S~(5eZ41to5f%E@'ELIi$t^ Vc\LWP@J5p^rst0+('>Er0=^1{]M9!p?&:\z]|;&=NP3AhB!B_bi^]Pfkw User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux) Cancel-Lock: sha1:yB5dGsTgXQdnsCCRNsEPOGp40e0= Original-Lines: 21 Original-NNTP-Posting-Date: 28 Nov 2007 00:43:18 CET Original-NNTP-Posting-Host: 735d84d6.newsspool3.arcor-online.net Original-X-Trace: DXC=LPeP019\^j^V0Pe9PRnbJ\McF=Q^Z^V3X4Fo<]lROoRQ4nDHegD_]RU_E\UZ6>A2?QCV`H8_`hhQT^9QSCVg3dOVOIC5DBZVJ9[K=0WE0bG_l[ZEd List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:49604 Archived-At: jadamson@partners.org (Joel J. Adamson) writes: > Thierry Volpiatto 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