From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: isearch highlighting Date: Tue, 11 Jan 2005 09:30:13 -0500 Message-ID: References: <87fz2e6h6b.fsf@jurta.org> <87sm65uenh.fsf@jurta.org> <87wtvcd6x9.fsf@jurta.org> <87u0pv0z7e.fsf@jurta.org> <87y8f2gu45.fsf-monnier+emacs@gnu.org> Reply-To: rms@gnu.org NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1105454560 20817 80.91.229.6 (11 Jan 2005 14:42:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 11 Jan 2005 14:42:40 +0000 (UTC) Cc: juri@jurta.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 11 15:42:23 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CoNDz-00044R-00 for ; Tue, 11 Jan 2005 15:42:23 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CoNPX-0000Md-Lc for ged-emacs-devel@m.gmane.org; Tue, 11 Jan 2005 09:54:19 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1CoNLI-0007Ry-JF for emacs-devel@gnu.org; Tue, 11 Jan 2005 09:49:57 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1CoNL5-0007LH-T8 for emacs-devel@gnu.org; Tue, 11 Jan 2005 09:49:44 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CoNL5-0007J2-QQ for emacs-devel@gnu.org; Tue, 11 Jan 2005 09:49:43 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CoN2b-0003vs-Ce for emacs-devel@gnu.org; Tue, 11 Jan 2005 09:30:37 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1CoN2D-0000ke-Hf; Tue, 11 Jan 2005 09:30:13 -0500 Original-To: Stefan Monnier In-reply-to: <87y8f2gu45.fsf-monnier+emacs@gnu.org> (message from Stefan Monnier on Sun, 09 Jan 2005 16:40:27 -0500) 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: main.gmane.org gmane.emacs.devel:32121 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:32121 > Is it worth doing this now considering that the default value of > lazy-highlight-max-at-a-time (20) already provides quite good > responsiveness of isearch to key presses. If it's responsive enough, then it won't be interrupted by while-no-input. That is not entirely true. If it spends even a tiny amount of time being busy, then it can sometimes be interrupted by while-no-input. So we would need to do the work to make it use while-no-input correctly, even if those cases are rather rare. What does it need to do? Any input character that triggers while-no-input will certainly be intepreted by the search command loop. Most of the time, this will change the search string.