[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] (Or "question"...) isearch-kill-found
From: |
Lennart Borgman |
Subject: |
Re: [PATCH] (Or "question"...) isearch-kill-found |
Date: |
Mon, 31 May 2010 17:38:09 +0200 |
On Mon, May 31, 2010 at 4:24 PM, Chong Yidong <address@hidden> wrote:
> Juri Linkov <address@hidden> writes:
>
>> A command to delete the current match without exiting isearch
>> would be more useful. It will allow to continue searching for the
>> next matches and delete them too:
>>
>> (define-key isearch-mode-map [delete] 'isearch-delete-current-match)
>>
>> (defun isearch-delete-current-match ()
>> "Kills the region that isearch has found."
>> (interactive)
>> (kill-region isearch-other-end (point)))
>
> I think this is a good idea, since [delete] isn't currently used. Maybe
> add C-d also.
Can't you easily do this by for example switching to query-replace
from within isearch?
I think being able to mark the match at exit would be more useful.
(This could also easily be used to delete the matched region.) And
perhaps exiting with a submatch marked instead could be done with
numerical prefixes.
- Re: [PATCH] (Or "question"...) isearch-kill-found, (continued)
- Re: [PATCH] (Or "question"...) isearch-kill-found, Deniz Dogan, 2010/05/30
- RE: [PATCH] (Or "question"...) isearch-kill-found, Drew Adams, 2010/05/30
- Re: [PATCH] (Or "question"...) isearch-kill-found, Christoph, 2010/05/30
- Re: [PATCH] (Or "question"...) isearch-kill-found, Lennart Borgman, 2010/05/30
- RE: [PATCH] (Or "question"...) isearch-kill-found, Drew Adams, 2010/05/30
- Re: [PATCH] (Or "question"...) isearch-kill-found, Michael Welsh Duggan, 2010/05/30
- Re: [PATCH] (Or "question"...) isearch-kill-found, Lennart Borgman, 2010/05/31
- RE: [PATCH] (Or "question"...) isearch-kill-found, Drew Adams, 2010/05/30
Re: [PATCH] (Or "question"...) isearch-kill-found, Juri Linkov, 2010/05/30
- Re: [PATCH] (Or "question"...) isearch-kill-found, Chong Yidong, 2010/05/31
- Re: [PATCH] (Or "question"...) isearch-kill-found,
Lennart Borgman <=
- Re: [PATCH] (Or "question"...) isearch-kill-found, Stefan Monnier, 2010/05/31
- Re: [PATCH] (Or "question"...) isearch-kill-found, Lennart Borgman, 2010/05/31
- RE: [PATCH] (Or "question"...) isearch-kill-found, Drew Adams, 2010/05/31
- Re: [PATCH] (Or "question"...) isearch-kill-found, Stefan Monnier, 2010/05/31
- RE: [PATCH] (Or "question"...) isearch-kill-found, Drew Adams, 2010/05/31
- Re: [PATCH] (Or "question"...) isearch-kill-found, Stefan Monnier, 2010/05/31
Re: [PATCH] (Or "question"...) isearch-kill-found, Juri Linkov, 2010/05/31