[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: query-replace-regexp interactive replacement string

From: Andreas Röhler
Subject: Re: query-replace-regexp interactive replacement string
Date: Thu, 03 Mar 2011 09:39:15 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; de; rv: Gecko/20100711 Thunderbird/3.0.6

Am 03.03.2011 09:11, schrieb Suvayu Ali:
On Thu, 3 Mar 2011 09:03:38 +0100
Deniz Dogan<address@hidden>  wrote:

2011/3/2 suvayu ali<address@hidden>:
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?


can confirm this with

GNU Emacs (i686-pc-linux-gnu, GTK+ Version 2.18.6) of 2011-02-25

Seems worth a bug-report




reply via email to

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