emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] (Or "question"...) isearch-kill-found


From: Chong Yidong
Subject: Re: [PATCH] (Or "question"...) isearch-kill-found
Date: Mon, 31 May 2010 10:24:13 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2.50 (gnu/linux)

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.



reply via email to

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