[Top][All Lists]

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

Re: Interactive query-replace

From: Chunyang Xu
Subject: Re: Interactive query-replace
Date: Fri, 10 Feb 2017 12:47:26 +0800
User-agent: mu4e 0.9.18; emacs

(I replied a empty message a minute ago by accident, sorry about that)

Ole Laursen writes:

> Search and replace has three phases:
> - Enter search term
> - Enter replacement term
> - Confirmation
> Only confirmation is interactive in Emacs.
> The search phase could move the cursor and highlight all matches as
> you type, just like isearch. Then we can see what we're about to
> overwrite.

The search term is also interactive if you start your query-replace from
isearch via the same keys (that is M-% ('isearch-query-replace')). I use
this whenever I am not sure if my search pattern is correct.

reply via email to

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