unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Andreas Röhler" <andreas.roehler@easy-emacs.de>
To: help-gnu-emacs@gnu.org
Subject: Re: query-replace-regexp interactive replacement string
Date: Thu, 03 Mar 2011 09:39:15 +0100	[thread overview]
Message-ID: <4D6F53B3.70300@easy-emacs.de> (raw)
In-Reply-To: <20110303001137.514d10b1@bhishma.homelinux.net>

Am 03.03.2011 09:11, schrieb Suvayu Ali:
> On Thu, 3 Mar 2011 09:03:38 +0100
> Deniz Dogan<deniz.a.m.dogan@gmail.com>  wrote:
>
>> 2011/3/2 suvayu ali<fatkasuvayu+linux@gmail.com>:
>>> 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/




      parent reply	other threads:[~2011-03-03  8:39 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-02 22:52 query-replace-regexp interactive replacement string suvayu ali
2011-03-03  8:03 ` Deniz Dogan
2011-03-03  8:11   ` Suvayu Ali
2011-03-03  8:35     ` Deniz Dogan
2011-03-03  9:14       ` Suvayu Ali
2011-03-03  8:39     ` Andreas Röhler [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D6F53B3.70300@easy-emacs.de \
    --to=andreas.roehler@easy-emacs.de \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).