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

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

Re: killing the result of isearch


From: Marcin Borkowski
Subject: Re: killing the result of isearch
Date: Tue, 07 Nov 2017 09:31:21 +0100
User-agent: mu4e 0.9.19; emacs 27.0.50

On 2017-11-07, at 07:01, Jean-Christophe Helary 
<jean.christophe.helary@gmail.com> wrote:

> But, isn't it something emacs users do normally? Search for a string and just 
> delete it? Doesn't it look like a function that could be useful in vanilla 
> emacs?

How about this?

C-s whatever M-% RET .

Explanation: when in isearch, typing M-% starts query-replace
prepopulated with isearched string.  RET makes the replacement empty.
`.' (period) performs a replacements and exits query-replace.

Hth,

--
Marcin Borkowski



reply via email to

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