From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dani Moncayo Newsgroups: gmane.emacs.bugs Subject: bug#9918: 24.0.90; lazy-highlighting in Info mode Date: Tue, 1 Nov 2011 10:39:36 +0100 Message-ID: References: <87vcr4pxau.fsf@mail.jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1320140403 11757 80.91.229.12 (1 Nov 2011 09:40:03 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 1 Nov 2011 09:40:03 +0000 (UTC) Cc: 9918@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Nov 01 10:39:59 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RLAp4-0000K1-OW for geb-bug-gnu-emacs@m.gmane.org; Tue, 01 Nov 2011 10:39:58 +0100 Original-Received: from localhost ([::1]:43521 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RLAp4-0003AE-AS for geb-bug-gnu-emacs@m.gmane.org; Tue, 01 Nov 2011 05:39:58 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:56981) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RLAp1-00039X-DW for bug-gnu-emacs@gnu.org; Tue, 01 Nov 2011 05:39:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RLAor-0002rn-Rt for bug-gnu-emacs@gnu.org; Tue, 01 Nov 2011 05:39:55 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39524) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RLAor-0002rj-QJ for bug-gnu-emacs@gnu.org; Tue, 01 Nov 2011 05:39:45 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RLAr3-0000Gg-TA for bug-gnu-emacs@gnu.org; Tue, 01 Nov 2011 05:42:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dani Moncayo Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 01 Nov 2011 09:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9918 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 9918-submit@debbugs.gnu.org id=B9918.13201405151014 (code B ref 9918); Tue, 01 Nov 2011 09:42:01 +0000 Original-Received: (at 9918) by debbugs.gnu.org; 1 Nov 2011 09:41:55 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RLAqw-0000GI-Vl for submit@debbugs.gnu.org; Tue, 01 Nov 2011 05:41:55 -0400 Original-Received: from mail-gy0-f172.google.com ([209.85.160.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RLAqv-0000G3-4v for 9918@debbugs.gnu.org; Tue, 01 Nov 2011 05:41:53 -0400 Original-Received: by gyh20 with SMTP id 20so6720692gyh.3 for <9918@debbugs.gnu.org>; Tue, 01 Nov 2011 02:39:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=XXuwRoG1QsKnSsqxwtPdgkvjukupXSdW6j1QwgmvmSE=; b=FEfBWUh26w1V0EoqXX823g5VPhg6Up7tBMtY0hSMHflAkqHZ6eCHkxNbLgjOv/V1r4 MBBBlEX8ry5hHDTcuClXC4OcYo8D/j9GOLyEIU1Zl9xI77WwkuKar8k40oZtjIak7ZR6 BGzT08dSEtjNDLEFZkzDG8HKXIk+KP8wuGP6w= Original-Received: by 10.236.126.52 with SMTP id a40mr20850163yhi.125.1320140376252; Tue, 01 Nov 2011 02:39:36 -0700 (PDT) Original-Received: by 10.236.36.40 with HTTP; Tue, 1 Nov 2011 02:39:36 -0700 (PDT) In-Reply-To: <87vcr4pxau.fsf@mail.jurta.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 01 Nov 2011 05:42:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:53384 Archived-At: > But Info Isearch sets `isearch-error' to "initial node", so > `isearch-lazy-highlight-new-loop' doesn't start lazy-highlighting. > It seems with the error "initial node", it's still possible to > lazy-highlight other matches. =A0So it's not a normal error, > and we can make an exception for this type of "error". > This will work with the following patch: > > [...] > > But it's not good to hardcode it, so perhaps we should introduce > a special property for errors that are not quite an error, > and set it just for "initial node". Indeed. IIUC, "initial node" just inform the user that the current search is failing inside this node (where the search started), but this should not be considered an error (like "incomplete input" or "No previous search string"), because "initial node", unlike "incomplete input", does not deactivate the current Isearch. So, I think that maybe TRT would be to move the "inital node" message to the Isearch prompt, so that such prompt would be "Failing I-search (initial node): ". BTW: while looking for sentences that set the value of `isearch-error' inside lisp/isearch.el, I've noticed that some errors begins with an uppercase letter ("No previous search string") and others don't ("incomplete input"). This should be fixed to make it consistent for all error messages. --=20 Dani Moncayo