From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: Leaving isearch-mode and keeping the highlite Date: Thu, 11 Aug 2005 03:27:19 +0300 Organization: JURTA Message-ID: <87u0hxs3qj.fsf@jurta.org> References: <42FA87D5.5030705@student.lu.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1123722030 18994 80.91.229.2 (11 Aug 2005 01:00:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 11 Aug 2005 01:00:30 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Aug 11 03:00:28 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1E31PW-0002b5-Ir for ged-emacs-devel@m.gmane.org; Thu, 11 Aug 2005 02:59:07 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E31Sf-0000hb-0E for ged-emacs-devel@m.gmane.org; Wed, 10 Aug 2005 21:02:21 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1E31RN-0000Ij-Sv for emacs-devel@gnu.org; Wed, 10 Aug 2005 21:01:02 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1E31RG-0000Dv-Do for emacs-devel@gnu.org; Wed, 10 Aug 2005 21:00:56 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E31RF-00006q-4D for emacs-devel@gnu.org; Wed, 10 Aug 2005 21:00:53 -0400 Original-Received: from [194.126.101.111] (helo=mail.neti.ee) by monty-python.gnu.org with esmtp (Exim 4.34) id 1E31QX-00046W-2s for emacs-devel@gnu.org; Wed, 10 Aug 2005 21:00:09 -0400 Original-Received: from mail.neti.ee (80-235-36-62-dsl.mus.estpak.ee [80.235.36.62]) by Relayhost2.neti.ee (Postfix) with ESMTP id AEE03200C; Thu, 11 Aug 2005 03:45:19 +0300 (EEST) Original-To: Lennart Borgman In-Reply-To: <42FA87D5.5030705@student.lu.se> (Lennart Borgman's message of "Thu, 11 Aug 2005 01:03:49 +0200") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) X-Virus-Scanned: by amavisd-new-2.2.1 (20041222) (Debian) at neti.ee 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:41895 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:41895 > I would find it very helpful to be able to leave isearch-mode but keep > the highlite. Is this something other would find helpful too? There is already such an option: `lazy-highlight-cleanup'. When nil, highlighting is not removed after the search. You can use `M-x lazy-highlight-cleanup' to manually remove it. > It is of course a new feature, but it can possible not break anything > (except isearch highliting but that is easy to check). It we want this I > would suggest to put it on C-RET or S-RET in isearch-mode-map. BTW, I use C-RET to exit the search without pushing the search string into the search ring. Very useful to not stuff the search history with unnecessary search strings. -- Juri Linkov http://www.jurta.org/emacs/