GNU bug report logs - #14125
24.3; "No such node or anchor: Top" for Info files created by makeinfo 5.1

Previous Next

Package: emacs;

Reported by: Ulrich Mueller <ulm <at> gentoo.org>

Date: Tue, 2 Apr 2013 16:52:02 UTC

Severity: normal

Found in version 24.3

Fixed in version 24.4

Done: Juri Linkov <juri <at> jurta.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 14125 <at> debbugs.gnu.org (full text, mbox):

From: Juri Linkov <juri <at> jurta.org>
To: Ulrich Mueller <ulm <at> gentoo.org>
Cc: 14125 <at> debbugs.gnu.org
Subject: Re: 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
> 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.




This bug report was last modified 11 years and 273 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.