From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Andreas_R=F6hler?= Newsgroups: gmane.emacs.help Subject: Re: query-replace-regexp interactive replacement string Date: Thu, 03 Mar 2011 09:39:15 +0100 Message-ID: <4D6F53B3.70300@easy-emacs.de> References: <20110303001137.514d10b1@bhishma.homelinux.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1299141343 13719 80.91.229.12 (3 Mar 2011 08:35:43 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 3 Mar 2011 08:35:43 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Mar 03 09:35:39 2011 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.69) (envelope-from ) id 1Pv40X-0007D0-Vy for geh-help-gnu-emacs@m.gmane.org; Thu, 03 Mar 2011 09:35:39 +0100 Original-Received: from localhost ([127.0.0.1]:33289 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pv40V-00026f-QS for geh-help-gnu-emacs@m.gmane.org; Thu, 03 Mar 2011 03:35:35 -0500 Original-Received: from [140.186.70.92] (port=48299 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pv3zt-000265-8Q for help-gnu-emacs@gnu.org; Thu, 03 Mar 2011 03:34:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pv3zp-0007CU-1J for help-gnu-emacs@gnu.org; Thu, 03 Mar 2011 03:34:54 -0500 Original-Received: from moutng.kundenserver.de ([212.227.126.187]:49883) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pv3zo-0007Bt-LZ for help-gnu-emacs@gnu.org; Thu, 03 Mar 2011 03:34:52 -0500 Original-Received: from [192.168.178.29] (brln-d9ba32bd.pool.mediaWays.net [217.186.50.189]) by mrelayeu.kundenserver.de (node=mrbap0) with ESMTP (Nemesis) id 0LnUli-1QUwRo3lOg-00hdO4; Thu, 03 Mar 2011 09:34:51 +0100 User-Agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.1.11) Gecko/20100711 Thunderbird/3.0.6 In-Reply-To: <20110303001137.514d10b1@bhishma.homelinux.net> X-Provags-ID: V02:K0:KMo7nB3DzWgLsKxOdB4d6dfzQvVyr4bDBjC0tGfKOg6 m1aSuVLylHkOHBffFq67uCq2yi65lsbnelzDftQCkS7wGhU6DK wC57mcFhuNsA9o3Buy1Log+SQcLFQsjrPvgIr4tgeNUlJfzhTa 0m9W09uCMWY9B4ovUMvYP/XZoPpy6/AqLqotJZAUJGx2lyW39t ozvRRR9r6pGvO3ixe70aII7AtoLZiWw2UwDLR8YTfA= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 212.227.126.187 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor 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:79736 Archived-At: Am 03.03.2011 09:11, schrieb Suvayu Ali: > On Thu, 3 Mar 2011 09:03:38 +0100 > Deniz Dogan wrote: > >> 2011/3/2 suvayu ali: >>> Hi Emacs users, >>> >>> I wanted to replace interactively all numbers in the text of an >>> org-mode document with the number in words, so I tried: >>> >>> `C-M-% [0-9]+ RET \? RET' >>> >>> But this gives me an error like this: >>> ... >>> >> >> Weird, it doesn't work for me either. However, if I use >> M-x replace-regexp it does work. In "(emacs) Regexp Replace" it also >> mentions \?. >> > > Thank you for looking into this, I can also confirm that it works for me > with replace-regexp but not query-replace-regexp. > > Could it be a bug? > Hi, can confirm this with GNU Emacs 23.2.94.1 (i686-pc-linux-gnu, GTK+ Version 2.18.6) of 2011-02-25 Seems worth a bug-report Thanks Andreas -- https://code.launchpad.net/~a-roehler/python-mode/python-mode-components https://code.launchpad.net/s-x-emacs-werkstatt/