From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: bojohan@gnu.org (Johan =?utf-8?Q?Bockg=C3=A5rd?=) Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] (Or "question"...) isearch-kill-found Date: Sun, 30 May 2010 16:05:25 +0200 Message-ID: <87iq65v61m.fsf@gnu.org> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1275228342 26709 80.91.229.12 (30 May 2010 14:05:42 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 30 May 2010 14:05:42 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun May 30 16:05:40 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 1OIj8z-0005Ru-US for ged-emacs-devel@m.gmane.org; Sun, 30 May 2010 16:05:38 +0200 Original-Received: from localhost ([127.0.0.1]:45617 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OIj8y-0004Gk-N9 for ged-emacs-devel@m.gmane.org; Sun, 30 May 2010 10:05:36 -0400 Original-Received: from [140.186.70.92] (port=43369 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OIj8s-0004EO-Ap for emacs-devel@gnu.org; Sun, 30 May 2010 10:05:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OIj8r-0007Mm-9F for emacs-devel@gnu.org; Sun, 30 May 2010 10:05:30 -0400 Original-Received: from smtprelay-b12.telenor.se ([62.127.194.21]:34224) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OIj8r-0007MW-43 for emacs-devel@gnu.org; Sun, 30 May 2010 10:05:29 -0400 Original-Received: from ipb1.telenor.se (ipb1.telenor.se [195.54.127.164]) by smtprelay-b12.telenor.se (Postfix) with ESMTP id 0606CEACEB for ; Sun, 30 May 2010 16:05:27 +0200 (CEST) X-SENDER-IP: [85.228.196.17] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AiRGAB8OAkxV5MQRPGdsb2JhbACSMIwEDAEBAQE1Lb1IhRYEhnw X-IronPort-AV: E=Sophos;i="4.53,327,1272837600"; d="scan'208";a="85667279" Original-Received: from c-11c4e455.04-211-6c6b701.cust.bredbandsbolaget.se (HELO muon.localdomain) ([85.228.196.17]) by ipb1.telenor.se with ESMTP; 30 May 2010 16:05:27 +0200 Original-Received: by muon.localdomain (Postfix, from userid 1000) id 34BAD484137; Sun, 30 May 2010 16:05:26 +0200 (CEST) Mail-Copies-To: never In-Reply-To: (Deniz Dogan's message of "Sun, 30 May 2010 14:37:25 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. 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:125358 Archived-At: Deniz Dogan writes: > Recently, in a discussion on #emacs, we looked for a command which > kills the text that has been found using isearch. None of us knew if > there existed anything like that and I coludn't find it. > > So attached is a patch which adds isearch-kill-found and binds it to > M-C-m (not too keen on the choice of binding though). > > Any thoughts or comments? Does this already exist? A command to simply exit isearch and set the region around the match would be more generally useful. The key M-RET would make more sense there too. http://lists.gnu.org/archive/html/emacs-devel/2007-07/msg00492.html