From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: Todays exercise of sanity (or does "see" really match "not"?) Date: Mon, 21 Mar 2005 15:20:34 -0800 Message-ID: References: <200503211349.j2LDnxX12741@raven.dms.auburn.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1111447768 12831 80.91.229.2 (21 Mar 2005 23:29:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 21 Mar 2005 23:29:28 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 22 00:29:28 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DDWKn-0006oo-VT for ged-emacs-devel@m.gmane.org; Tue, 22 Mar 2005 00:29:22 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DDWac-0006gP-Oj for ged-emacs-devel@m.gmane.org; Mon, 21 Mar 2005 18:45:42 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DDWaI-0006Ze-7s for emacs-devel@gnu.org; Mon, 21 Mar 2005 18:45:22 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DDWa6-0006S8-2A for emacs-devel@gnu.org; Mon, 21 Mar 2005 18:45:11 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DDWa5-0006RB-Cv for emacs-devel@gnu.org; Mon, 21 Mar 2005 18:45:09 -0500 Original-Received: from [148.87.122.30] (helo=rgminet01.oracle.com) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1DDWCN-00022h-EA for emacs-devel@gnu.org; Mon, 21 Mar 2005 18:20:39 -0500 Original-Received: from rgminet01.oracle.com (localhost [127.0.0.1]) by rgminet01.oracle.com (Switch-3.1.6/Switch-3.1.6) with ESMTP id j2LNKcun029421 for ; Mon, 21 Mar 2005 18:20:38 -0500 Original-Received: from rgmsgw300.us.oracle.com (rgmsgw300.us.oracle.com [138.1.186.49]) by rgminet01.oracle.com (Switch-3.1.6/Switch-3.1.6) with ESMTP id j2LNKaUa029381 for ; Mon, 21 Mar 2005 18:20:36 -0500 Original-Received: from rgmsgw300.us.oracle.com (localhost [127.0.0.1]) by rgmsgw300.us.oracle.com (Switch-3.1.4/Switch-3.1.0) with ESMTP id j2LNKajv003959 for ; Mon, 21 Mar 2005 16:20:36 -0700 Original-Received: from dradamslap (dradams-lap.us.oracle.com [130.35.177.126]) by rgmsgw300.us.oracle.com (Switch-3.1.4/Switch-3.1.0) with SMTP id j2LNKZ38003949 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) for ; Mon, 21 Mar 2005 16:20:35 -0700 Original-To: X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) Importance: Normal In-Reply-To: <200503211349.j2LDnxX12741@raven.dms.auburn.edu> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE 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 X-MailScanner-To: ged-emacs-devel@m.gmane.org Xref: news.gmane.org gmane.emacs.devel:34926 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:34926 I guess that you have Info-hide-note-references enabled. The reason why it stops on "see" is that the actual text in the buffer is: (*note Character Sets::). and note matches "not". I filed a bug report on this behavior on Oct 4. Juri fixed it on Oct 31 with respect to stuff in the header (File, Next etc.), but there was no fix AFAIK for Note and Menu. In discussion of the bug report, I stated that "we should be able somehow to separate _content_ in a manual from _structural and navigational artifacts_ that support that content." I still think that should be the goal: users should use TAB to go to the next cross reference, instead of searching for "Note". The text "Note" for a cross reference is not content; it is metacontent. If a user searches for "Note", he should find only occurrences of the actual text "Note" in the manual, not cross references. In practice, however, it might not be that easy to distinguish content from meta-information in the case of meta-info that is not in the header. At least that's what I understood from the discussion at the time. Here is part of Juri's explanation from that discussion: `Info-search' searches for a string on raw text of Info files. Some parts of Info files where Info nodes were already visited are fontified and have `invisible' property. But fontifying and adding `invisible' or other properties to hide the tags from search to the whole Info file before search is too inefficient, so `Info-search' can't rely on text properties. Instead of that, it should rely on the known syntax of Info files such as that Info nodes begin with a ^_ character. I think skipping the header is sufficient to ignore irrelevant parts of Info nodes, and I see no problem with other special Info tags like Note and Menu. In reply to David's point about preview-latex needing to search and find the meta-text: I agree that programs need to be able to find meta-text. The point is to separate such meta-text from the content - or at least be _able_ to separate/distinguish it. In most modes, at least, Info-search should not find strings that are in meta-text (if this is not to difficult to fix).