Akim Demaille writes:
Akim> I don't know too well where the bug is, but depending whether makeinfo
Akim> is called with --no-split or not, the Emacs info mode is unable to
Akim> recognize the `g' Goto command (it recognizes no node). The bad case
Akim> being --no-split.
Akim> A typical example is autoconf.info, which is --no-split. The Tag table
Akim> is output in both cases, but not at the same place.
I'm not sure the --no-split is the origin of the problem, but I'm sure
the bug is in info.el. For some reason, Info-build-node-completions can get a
tag table marker whose buffer is the *info* buffer itself, not another one
that you could get if the file is indirect. In that case, it tries to go to
the marker position without the buffer being widended, and thus fails finding
the tag table.
Here's a half-blind fix. Half-blind because I don't really know if we
should always have another buffer for the tag table or not.
1999-02-12 Didier Verna <verna(a)inf.enst.fr>
* info.el (Info-build-node-completions): unconditionally widen the
tag table buffer.
--- lisp/info.el.orig Fri Feb 12 19:36:34 1999
+++ lisp/info.el Fri Feb 12 19:37:03 1999
@@ -1542,6 +1542,7 @@
(let ((compl (Info-build-annotation-completions)))
(save-excursion
(save-restriction
+ (widen)
(if (marker-buffer Info-tag-table-marker)
(progn
(set-buffer (marker-buffer Info-tag-table-marker))
@@ -1551,7 +1552,6 @@
(cons (list (buffer-substring (match-beginning 1)
(match-end 1)))
compl))))
- (widen)
(goto-char (point-min))
(while (search-forward "\n\^_" nil t)
(forward-line 1)
--
/ / _ _ Didier Verna
http://www.inf.enst.fr/~verna/
- / / - / / /_/ / E.N.S.T. INF C201.1 mailto:verna@inf.enst.fr
/_/ / /_/ / /__ / 46 rue Barrault Tel. (33) 01 45 81 73 46
75634 Paris cedex 13 Fax. (33) 01 45 81 31 19