"Stephen J. Turnbull" <turnbull(a)sk.tsukuba.ac.jp> writes:
Many of our Texinfo files have file cross-references of the following
form:
[...]
When you try to follow this cross reference, you get a error:
[...]
This form and some others are also contained in Texinfo files at
places which aren't intended as cross-refence or menu. If we change
the definition of a cross-reference, this might have an influence
on the probability and the extent of such false cross-references.
False cross-reference forms can be found by executing function
Info-random-walk a few times. This function is also useful for
identifying broken Info links, even those that reference nodes
in other Info files (they aren't found by Info-validate).
> Try to run Info-random-walk now.
Please report broken links. There are classes of them, for example,
links to file (emacs) which should be handled by file `xemacs'.
(cond ((string-match "XEmacs" (emacs-version))
(defun Info-navigate () (Info-follow-nearest-node (point))))
(t
(defun Info-navigate () (Info-follow-nearest-node))))
(defun Info-random-walk ()
(interactive)
"Randomly walk through the Info tree."
(info)
(Info-directory)
(while t
(mark-page)
(goto-char (+ (region-beginning)
(mod (random) (1+ (- (region-end)
(region-beginning))))))
(Info-navigate)))
(global-set-key [(meta f1)] 'Info-random-walk)