From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] (Or "question"...) isearch-kill-found Date: Mon, 31 May 2010 10:24:13 -0400 Message-ID: <87vda45euq.fsf@stupidchicken.com> References: <87vda59rby.fsf@mail.jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1275315868 21790 80.91.229.12 (31 May 2010 14:24:28 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 31 May 2010 14:24:28 +0000 (UTC) Cc: Emacs-Devel devel , Deniz Dogan To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 31 16:24:26 2010 connect(): No such file or directory Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OJ5uk-00084t-7i for ged-emacs-devel@m.gmane.org; Mon, 31 May 2010 16:24:26 +0200 Original-Received: from localhost ([127.0.0.1]:45455 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OJ5ui-0004cY-K7 for ged-emacs-devel@m.gmane.org; Mon, 31 May 2010 10:24:24 -0400 Original-Received: from [140.186.70.92] (port=48369 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OJ5uc-0004cT-G9 for emacs-devel@gnu.org; Mon, 31 May 2010 10:24:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OJ5ub-0001KM-FL for emacs-devel@gnu.org; Mon, 31 May 2010 10:24:18 -0400 Original-Received: from pantheon-po31.its.yale.edu ([130.132.50.82]:45037) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OJ5ub-0001Jw-Dj for emacs-devel@gnu.org; Mon, 31 May 2010 10:24:17 -0400 Original-Received: from furry (dhcp128036014059.central.yale.edu [128.36.14.59]) (authenticated bits=0) by pantheon-po31.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id o4VEOEE4016338 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 31 May 2010 10:24:14 -0400 Original-Received: by furry (Postfix, from userid 1000) id 05C4216D427; Mon, 31 May 2010 10:24:14 -0400 (EDT) In-Reply-To: <87vda59rby.fsf@mail.jurta.org> (Juri Linkov's message of "Sun, 30 May 2010 21:36:49 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2.50 (gnu/linux) X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:125394 Archived-At: Juri Linkov 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.