From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Eli Zaretskii" Newsgroups: gmane.emacs.devel Subject: Re: Info enhancements Date: Thu, 04 Dec 2003 17:29:35 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <7137-Thu04Dec2003172934+0200-eliz@elta.co.il> References: <200312031942.hB3JgAw08783@f7.net> <87zne9ukl5.fsf@mail.jurta.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1070555527 8456 80.91.224.253 (4 Dec 2003 16:32:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 4 Dec 2003 16:32:07 +0000 (UTC) Cc: juri@jurta.org, emacs-devel@gnu.org, karl@freefriends.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Thu Dec 04 17:32:01 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1ARwOW-0003iE-00 for ; Thu, 04 Dec 2003 17:32:00 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1ARwOW-0001g6-00 for ; Thu, 04 Dec 2003 17:32:00 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1ARxKw-0001bp-CU for emacs-devel@quimby.gnus.org; Thu, 04 Dec 2003 12:32:22 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1ARweY-0006c1-IK for emacs-devel@gnu.org; Thu, 04 Dec 2003 11:48:34 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1ARwbc-0005pI-JE for emacs-devel@gnu.org; Thu, 04 Dec 2003 11:46:03 -0500 Original-Received: from [192.114.186.24] (helo=legolas.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.24) id 1ARwQT-00010K-T5 for emacs-devel@gnu.org; Thu, 04 Dec 2003 11:34:02 -0500 Original-Received: from zaretski ([80.230.144.52]) by legolas.inter.net.il (Mirapoint Messaging Server MOS 3.3.8-GR) with ESMTP id AWS52928; Thu, 4 Dec 2003 17:30:30 +0200 (IST) Original-To: bob@rattlesnake.com X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 1.8.9 In-reply-to: (bob@rattlesnake.com) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:18380 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:18380 > Date: Thu, 4 Dec 2003 13:12:17 +0000 (UTC) > From: "Robert J. Chassell" > > But what do you think about recording the locations of index entries > in the tag table? > > The problem is, I think your fear: > > I hope this will not break older Info readers, ... > > If the suggestion does not break older Info readers, then I am all > for it. But I think it will break them. Karl, what do you think? AFAICS, it will break them: the first time Info sees a line in the tag table that is neither a "Node:" nor a "Ref:" line, it decides that it's outside the tag table and stops looking for further tags. So all the nodes and anchors after the first unrecognized line will be absent from the internal data structure created by the reader from the tag table, and the corresponding nodes and anchors will not be found. Or so it seemed to me when I glanced over the code (of the stand-alone Info reader). But you don't need to take my word for it: it is very easy to edit an Info file, add a line in the tag table that doesn't match "Node:" and "Ref:" lines, and then see if you can still reach every node and anchor in that file.