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: Mon, 26 Nov 2007 22:00:49 +0100 Organization: Organization?!? Message-ID: <85zlx0yb5q.fsf@lola.goethe.zz> References: <87ejeexgfy.fsf@celephais.home.net> <871waeroap.fsf@newsguy.com> <8763zpwje7.fsf@newsguy.com> <87y7cl6uka.fsf@localhorst.mine.nu> <87ve7ox53v.fsf@newsguy.com> <87tzn87tj9.fsf@localhorst.mine.nu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1196113298 8329 80.91.229.12 (26 Nov 2007 21:41:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 26 Nov 2007 21:41:38 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Nov 26 22:41:46 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 1Iwlhx-0002aJ-Dv for geh-help-gnu-emacs@m.gmane.org; Mon, 26 Nov 2007 22:41:37 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Iwlhh-0000xt-O8 for geh-help-gnu-emacs@m.gmane.org; Mon, 26 Nov 2007 16:41:21 -0500 Original-Path: shelby.stanford.edu!headwall.stanford.edu!newsfeed.news2me.com!news.skynet.be!news.germany.com!storethat.news.telefonica.de!telefonica.de!newsfeed.arcor.de!newsspool2.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:+41Medhdbgz6qnUumCxjpTc/eUQ= Original-Lines: 20 Original-NNTP-Posting-Date: 26 Nov 2007 22:00:33 CET Original-NNTP-Posting-Host: a0e0303e.newsspool4.arcor-online.net Original-X-Trace: DXC=>PfB5>bFV02QC\C1_LiI6ENVaM3>5MOK`; S:bhJLf?iCR>[d]DM 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:49563 Archived-At: Eli Zaretskii writes: >> From: David Hansen >> 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