From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#9918: 24.0.90; lazy-highlighting in Info mode Date: Wed, 02 Nov 2011 01:07:11 +0200 Organization: JURTA Message-ID: <87aa8fo2ko.fsf@mail.jurta.org> References: <87vcr4pxau.fsf@mail.jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1320189599 19974 80.91.229.12 (1 Nov 2011 23:19:59 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 1 Nov 2011 23:19:59 +0000 (UTC) Cc: 9918@debbugs.gnu.org To: Dani Moncayo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Nov 02 00:19:54 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 1RLNcS-0000CE-N7 for geb-bug-gnu-emacs@m.gmane.org; Wed, 02 Nov 2011 00:19:48 +0100 Original-Received: from localhost ([::1]:58443 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RLNcS-00016D-1H for geb-bug-gnu-emacs@m.gmane.org; Tue, 01 Nov 2011 19:19:48 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:49098) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RLNcO-00013w-3y for bug-gnu-emacs@gnu.org; Tue, 01 Nov 2011 19:19:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RLNcN-0007RF-2R for bug-gnu-emacs@gnu.org; Tue, 01 Nov 2011 19:19:44 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41781) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RLNcM-0007RB-Vv for bug-gnu-emacs@gnu.org; Tue, 01 Nov 2011 19:19:43 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RLNec-0005Po-D2 for bug-gnu-emacs@gnu.org; Tue, 01 Nov 2011 19:22:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 01 Nov 2011 23:22:02 +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.132018969020767 (code B ref 9918); Tue, 01 Nov 2011 23:22:02 +0000 Original-Received: (at 9918) by debbugs.gnu.org; 1 Nov 2011 23:21:30 +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 1RLNe6-0005Ot-Bf for submit@debbugs.gnu.org; Tue, 01 Nov 2011 19:21:30 -0400 Original-Received: from smarty.dreamhost.com ([208.113.175.8]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RLNe3-0005Ok-O7 for 9918@debbugs.gnu.org; Tue, 01 Nov 2011 19:21:28 -0400 Original-Received: from ps18281.dreamhostps.com (ps18281.dreamhost.com [69.163.218.105]) by smarty.dreamhost.com (Postfix) with ESMTP id 7E23B6E8085; Tue, 1 Nov 2011 16:19:07 -0700 (PDT) Original-Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id A520A451C2D8; Tue, 1 Nov 2011 16:19:06 -0700 (PDT) In-Reply-To: (Dani Moncayo's message of "Tue, 1 Nov 2011 10:39:36 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (x86_64-pc-linux-gnu) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 01 Nov 2011 19:22:02 -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:53421 Archived-At: > 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. If it's not possible to code this situation with the combination of existing variables `isearch-success' and `isearch-error', then perhaps we should introduce a new variable `isearch-warning'. > 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. This is intentional because when you see "No previous search string" the search string is empty, so the message should look like the beginning of a new sentence, not like the continuation of a non-empty search string. > BTW, whatever the patch be, there is a second issue (discovered by > Drew) that should be addressed: > > The first time Isearch is fails inside an Info node, you get the > "initial node" message, and then, typing another "C-s" have the effect > of continuing the Isearch across subsequent info nodes. But this > behavior sometimes fails. For example: > > 1. Go to Info node "(emacs)Intro". > 2. Type "C-s extensible C-s C-s". > --> Here you've got the "initial node" message. OK. > 3. Type "C-s". > --> (Observed) The "initial node" message is removed, and everything > remains the same. You have to type "C-s" again to continue the search > in subsequent nodes. > --> (Expected) The Isearch is continued across subsequent nodes, > without the need of an extra "C-s". The current behavior is correct. When you see the message about failing Isearch without the "initial node" suffix, that means that it reached the end of the whole manual and failed completely. The subsequent `C-s' starts searching from the beginning of the manual.