help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: multiple search strings in query-replace-regexp


From: Kim F. Storm
Subject: Re: multiple search strings in query-replace-regexp
Date: Sun, 08 Oct 2006 22:55:15 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Mathias Dahl <brakjoller@gmail.com> writes:

> Ilya Zakharevich <nospam-abuse@ilyaz.org> writes:
>
>> Given this, C-M-% (or whatever is the key in default Emacs bindings)
>> could just accept multiple pairs REGEXP + REPLACEMENT (separated,
>> e.g., by C-u RET).
>
> Hmm, I think that could work quite nicely. C-RET could also be an

C-RET is used by CUA-mode to mark a rectangle.

> option. Would probably need quite some changes to the code though;
> currently I guess `query-replace-regexp' uses `read-string' or similar
> and I am not sure how it would react to C-u RET.

-- 
Kim F. Storm  http://www.cua.dk





reply via email to

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