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#14125: 24.3; "No such node or anchor: Top" for Info files created by makeinfo 5.1 Date: Sun, 25 Aug 2013 02:54:55 +0300 Organization: JURTA Message-ID: <87r4diablc.fsf__29345.9527231336$1377389953$gmane$org@mail.jurta.org> References: <20827.2991.777277.325096@a1i15.kph.uni-mainz.de> <87zjwgd1qx.fsf@mail.jurta.org> <20130824071927.GA8566@free.fr> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1377389945 6677 80.91.229.3 (25 Aug 2013 00:19:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 25 Aug 2013 00:19:05 +0000 (UTC) Cc: 14125@debbugs.gnu.org, bug-texinfo@gnu.org To: Patrice Dumas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Aug 25 02:19:07 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VDO2s-0007m5-Jy for geb-bug-gnu-emacs@m.gmane.org; Sun, 25 Aug 2013 02:19:06 +0200 Original-Received: from localhost ([::1]:44328 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VDO2s-0003lC-12 for geb-bug-gnu-emacs@m.gmane.org; Sat, 24 Aug 2013 20:19:06 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34404) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VDO2h-0003jt-Ne for bug-gnu-emacs@gnu.org; Sat, 24 Aug 2013 20:19:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VDO2b-0006k3-Ky for bug-gnu-emacs@gnu.org; Sat, 24 Aug 2013 20:18:55 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59038) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VDNw1-0004jJ-V8 for bug-gnu-emacs@gnu.org; Sat, 24 Aug 2013 20:12:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VDNw1-0005Tm-LX for bug-gnu-emacs@gnu.org; Sat, 24 Aug 2013 20:12:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 25 Aug 2013 00:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14125 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 14125-submit@debbugs.gnu.org id=B14125.137738946120976 (code B ref 14125); Sun, 25 Aug 2013 00:12:01 +0000 Original-Received: (at 14125) by debbugs.gnu.org; 25 Aug 2013 00:11:01 +0000 Original-Received: from localhost ([127.0.0.1]:53354 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VDNv3-0005SA-6z for submit@debbugs.gnu.org; Sat, 24 Aug 2013 20:11:01 -0400 Original-Received: from ps18281.dreamhost.com ([69.163.218.105]:41199 helo=ps18281.dreamhostps.com) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VDNv1-0005S2-Fv for 14125@debbugs.gnu.org; Sat, 24 Aug 2013 20:10:59 -0400 Original-Received: from localhost.jurta.org (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id E69CB258B9E935; Sat, 24 Aug 2013 17:10:57 -0700 (PDT) In-Reply-To: <20130824071927.GA8566@free.fr> (Patrice Dumas's message of "Sat, 24 Aug 2013 09:19:27 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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:77704 Archived-At: > I think that this was a bug, bytes of text appearing before the > first node were not correctly counted, but the behaviour you describe > should be the correct one (we even documented it in the info > specification part of the Texinfo manual). > > It was compounded by a backward incompatible change of not having the > same preamble for an info subfiles, as explained to me by Sergey. > > Not having the same preamble, especially for the first node with the tag > table and the other could well become the norm after some decades, so, > in general, if you can make the Info reader as robust as possible (if > not already), that would be fine. > > The standalone info reader has an option --strict-node-location and you > can see that it had trouble with your test when using that option, > which should show that there is an issue in the Info file. I believe we made the Emacs Info reader robust enough to handle both old and new formats of preamble. Regarding the option --strict-node-location in the standalone Info reader, we could create a similar option in the Emacs Info reader with a name like `Info-strict-node-location', but I doubt that many users might want to use it since it's intended for debugging, and Emacs has a built-in debugger for that.