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: Searching in the minibuffer Date: Fri, 21 Oct 2005 18:38:04 +0300 Organization: JURTA Message-ID: <87vezrvstv.fsf@jurta.org> References: <87slv2rjtl.fsf@jurta.org> <87fyr0k2ry.fsf_-_@jurta.org> <87ek6j2zeo.fsf@jurta.org> <87fyqxri5g.fsf@jurta.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1129912342 2502 80.91.229.2 (21 Oct 2005 16:32:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 21 Oct 2005 16:32:22 +0000 (UTC) Cc: drew.adams@oracle.com, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 21 18:32:21 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1ESzku-0002jt-CX for ged-emacs-devel@m.gmane.org; Fri, 21 Oct 2005 18:28:32 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ESzkt-0001lD-Mn for ged-emacs-devel@m.gmane.org; Fri, 21 Oct 2005 12:28:31 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ESz8w-0004Da-CF for emacs-devel@gnu.org; Fri, 21 Oct 2005 11:49:18 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ESz8u-0004CF-JY for emacs-devel@gnu.org; Fri, 21 Oct 2005 11:49:17 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ESz8t-0004Bf-Qz for emacs-devel@gnu.org; Fri, 21 Oct 2005 11:49:16 -0400 Original-Received: from [194.126.101.111] (helo=mail.neti.ee) by monty-python.gnu.org with esmtp (Exim 4.34) id 1ESz8t-0004Db-2n; Fri, 21 Oct 2005 11:49:15 -0400 Original-Received: from mail.neti.ee (80-235-32-191-dsl.mus.estpak.ee [80.235.32.191]) by Relayhost1.neti.ee (Postfix) with ESMTP id 32F421CA3; Fri, 21 Oct 2005 18:49:19 +0300 (EEST) Original-To: rms@gnu.org In-Reply-To: (Richard M. Stallman's message of "Thu, 20 Oct 2005 00:54:30 -0400") 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:44513 Archived-At: > Having a delay in the minibuffer between typing C-s and seeing > the search string highlighted, or requiring to type another key > to exit the delay, would be a nuisance. > > I agree. If we display the search prompt at the end, clearly that > should be done after highlighting the string that was > found, so that it imposes no delay on seeing the highlighting. Displaying the search prompt at the end of the minibuffer could be placed in `isearch-update' after highlighting the search string. But there is another problem - with lazy-highlighting. `minibuffer-message' doesn't allow lazy-highlighting timers to start. This causes other occurrences of the search string to be highlighted only after 2 sec delay, and not 0.25 sec initial delay as specified by the default value of `lazy-highlight-initial-delay'. However, `isearch-update' can be changed to start the first lazy-highlighting loop in the minibuffer immediately without timers. -- Juri Linkov http://www.jurta.org/emacs/