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: Wed, 03 Apr 2013 02:47:05 +0300 Organization: JURTA Message-ID: <87d2uc79zm.fsf@mail.jurta.org> References: <20827.2991.777277.325096@a1i15.kph.uni-mainz.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1364947869 13263 80.91.229.3 (3 Apr 2013 00:11:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 3 Apr 2013 00:11:09 +0000 (UTC) Cc: 14125@debbugs.gnu.org To: Ulrich Mueller Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Apr 03 02:11:33 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 1UNBIZ-0006lm-FK for geb-bug-gnu-emacs@m.gmane.org; Wed, 03 Apr 2013 02:11:31 +0200 Original-Received: from localhost ([::1]:52130 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNBIA-0006cF-OF for geb-bug-gnu-emacs@m.gmane.org; Tue, 02 Apr 2013 20:11:06 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:39678) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNBI7-0006c9-E2 for bug-gnu-emacs@gnu.org; Tue, 02 Apr 2013 20:11:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UNBI6-0003G4-9G for bug-gnu-emacs@gnu.org; Tue, 02 Apr 2013 20:11:03 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54755) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNBI6-0003Fq-65 for bug-gnu-emacs@gnu.org; Tue, 02 Apr 2013 20:11:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UNBL0-0002Id-Ff for bug-gnu-emacs@gnu.org; Tue, 02 Apr 2013 20:14: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: Wed, 03 Apr 2013 00:14:02 +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.13649480348816 (code B ref 14125); Wed, 03 Apr 2013 00:14:02 +0000 Original-Received: (at 14125) by debbugs.gnu.org; 3 Apr 2013 00:13:54 +0000 Original-Received: from localhost ([127.0.0.1]:58864 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UNBKr-0002I9-Fp for submit@debbugs.gnu.org; Tue, 02 Apr 2013 20:13:54 -0400 Original-Received: from ps18281.dreamhost.com ([69.163.218.105]:58163 helo=ps18281.dreamhostps.com) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UNBKo-0002I0-FF for 14125@debbugs.gnu.org; Tue, 02 Apr 2013 20:13:51 -0400 Original-Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id D889D258B92960; Tue, 2 Apr 2013 17:10:47 -0700 (PDT) In-Reply-To: <20827.2991.777277.325096@a1i15.kph.uni-mainz.de> (Ulrich Mueller's message of "Tue, 2 Apr 2013 18:47:43 +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.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.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:73098 Archived-At: > Info-goto-node cannot find the "Top" node for some Info files > generated with makeinfo 5.1. Thanks for the bug report. > Not entirely sure if the problem is in Emacs or in makeinfo. I report > it here because standalone info (version 4.13 or 5.1) has no problem > with the files. There is a difference between the output of makeinfo 4.13 and 5.1 that the Info reader doesn't handle. I'm not sure whether it's a bug in makeinfo 5.1 (maybe not) but in the tag table it outputs the position of the beginning of the Info header of the indirect Info file instead of the position of the beginning of the first node. The following comment in `Info-find-node-2' in info.el: ;; Now search from our advised position (or from beg of ;; buffer) to find the actual node. First, check ;; whether the node is right where we are, in case the ;; buffer begins with a node. says that first it searches from the advised position (that is different now in the Info files produced by makeinfo 5.1, so the reader overshoots). If this fails it says that then it searches from the beginning of the buffer (this would allow to find the Top node) but actually code doesn't do what the comment says. Currently I'm trying the solution that searches from the beginning of the buffer.