[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: combine isearch-forward-regexp and query-replace-regexp
From: |
Stefan Monnier |
Subject: |
Re: combine isearch-forward-regexp and query-replace-regexp |
Date: |
Wed, 09 Feb 2005 20:23:48 -0500 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux) |
>> > If I composed the right regexp with isearch-forward-regexp, how
>> > can I supply it as an argument to query-replace-regexp? M-p does
>> > not help.
>>
>> In Emacs-CVS, if you hit M-% from isearch, it'll do that for
>> you automatically.
> Thanks. So I guess there's no solution I you are bound to non-CVS
> versions ...
Well you can either define this isearch M-% thingy (IIRC it was originally
posted in this newsgroup before being integrated in Emacs-CVS), or you can
go the low-tech route:
C-s M-p C-k C-g
M-% C-y
Stefan