From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.help Subject: RE: killing the result of isearch Date: Tue, 7 Nov 2017 07:26:30 -0800 (PST) Message-ID: References: <433bd3d0-a506-4d89-9d10-dcbfb0e23be0@default> <852BAA28-2A50-4AD9-B8D6-9F06905A4395@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1510068500 23898 195.159.176.226 (7 Nov 2017 15:28:20 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 7 Nov 2017 15:28:20 +0000 (UTC) To: Jean-Christophe Helary , Help Gnu Emacs mailing list Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Nov 07 16:28:17 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eC5nO-0005kj-9z for geh-help-gnu-emacs@m.gmane.org; Tue, 07 Nov 2017 16:28:10 +0100 Original-Received: from localhost ([::1]:53968 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eC5nV-0002yh-Jq for geh-help-gnu-emacs@m.gmane.org; Tue, 07 Nov 2017 10:28:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40941) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eC5lu-0002Kg-7c for help-gnu-emacs@gnu.org; Tue, 07 Nov 2017 10:26:39 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eC5lq-00032v-FB for help-gnu-emacs@gnu.org; Tue, 07 Nov 2017 10:26:38 -0500 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:29091) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eC5lq-00032N-63 for help-gnu-emacs@gnu.org; Tue, 07 Nov 2017 10:26:34 -0500 Original-Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id vA7FQVvu010009 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 7 Nov 2017 15:26:32 GMT Original-Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id vA7FQVQK022452 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 7 Nov 2017 15:26:31 GMT Original-Received: from abhmp0018.oracle.com (abhmp0018.oracle.com [141.146.116.24]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id vA7FQVVq010337; Tue, 7 Nov 2017 15:26:31 GMT In-Reply-To: <852BAA28-2A50-4AD9-B8D6-9F06905A4395@gmail.com> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4600.0 (x86)] X-Source-IP: aserv0022.oracle.com [141.146.126.234] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] [fuzzy] X-Received-From: 141.146.126.69 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:114772 Archived-At: > > If you use Isearch+ >=20 > Is there a way to emulate that in vanilla emacs? > Well, I guess yes, by creating the adequate function, etc. Isearch+ is defined using vanilla Emacs. ;-) And yes, any or all of it could be added to Emacs, if someone were interested. Or you can just use it as is. Why not? It's not a big deal to load a Lisp file. > 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? Some Emacs users long ago suggested that setting the region around the final search target (the last search hit you visit) can be useful - including for killing it. I added that feature to Isearch+ in 2006. It was later (2013, I think) that I added the ability to act arbitrarily on any number of search hits, selectively (on demand) during (not after) Isearch.