unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
To: Ulrich Mueller <ulm@gentoo.org>
Cc: 14125@debbugs.gnu.org
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	[thread overview]
Message-ID: <87d2uc79zm.fsf@mail.jurta.org> (raw)
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")

> 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.





  reply	other threads:[~2013-04-02 23:47 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-02 16:47 bug#14125: 24.3; "No such node or anchor: Top" for Info files created by makeinfo 5.1 Ulrich Mueller
2013-04-02 23:47 ` Juri Linkov [this message]
2013-04-30  6:50 ` Juri Linkov
     [not found] ` <87zjwgd1qx.fsf@mail.jurta.org>
2013-05-05  4:40   ` Stefan Monnier
2013-05-05  8:49     ` Juri Linkov
     [not found]   ` <20130824071927.GA8566@free.fr>
2013-08-24 23:54     ` Juri Linkov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d2uc79zm.fsf@mail.jurta.org \
    --to=juri@jurta.org \
    --cc=14125@debbugs.gnu.org \
    --cc=ulm@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).