stand-alone info: The dir node becomes corrupted when using "info -v hide-note-references=On"

aidan <[email protected]> Tue, 7 Apr 2026 14:22:57 +0800
Newsgroups gmane.comp.tex.texinfo.bugs
Message-ID <CAFYOJqzqPfnqv1OuGXFMRQK0v4Def6dMTKVWNvsh+NMaEB0+-g@mail.gmail.com>
*Steps to reproduce:*



*run stand-alone info with:*env -u INFOPATH info --init-file /dev/null -v
hide-note-references=On


*Actual behavior:*

The nodes in the opened dir node menu cannot be selected

At the end of the dir node, two found dir nodes are listed:

Dir files used for this node

* dir 1
* dir 2

However, opening dir1 shows garbled content:

^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^A^@^@^@\307U^@^@\220k\356\244\377~^@^@\275\355\371\244\377~^@^@^@@\377~^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^


Additional Details:

This is bisected to d266fa4a

And "info --debug" output:

($ core aidan ~/Downloads) env -u INFOPATH info --init-file /dev/null -v
hide-note-references=On -x -1
info: adding /usr/local/share/info to INFOPATH
info: duplicate directory /usr/local/share/info not added to INFOPATH
info: duplicate directory /usr/local/share/info not added to INFOPATH
info: adding /usr/share/info to INFOPATH
info: inaccessible directory /usr/local/info not added to INFOPATH
info: inaccessible directory /usr/info not added to INFOPATH
info: inaccessible directory /usr/local/lib/info not added to INFOPATH
info: inaccessible directory /usr/lib/info not added to INFOPATH
info: inaccessible directory /usr/local/gnu/info not added to INFOPATH
info: inaccessible directory /usr/local/gnu/lib/info not added to INFOPATH
info: inaccessible directory /usr/gnu/info not added to INFOPATH
info: inaccessible directory /usr/gnu/lib/info not added to INFOPATH
info: inaccessible directory /opt/gnu/info not added to INFOPATH
info: duplicate directory /usr/share/info not added to INFOPATH
info: inaccessible directory /usr/share/lib/info not added to INFOPATH
info: duplicate directory /usr/local/share/info not added to INFOPATH
info: inaccessible directory /usr/local/share/lib/info not added to INFOPATH
info: inaccessible directory /usr/gnu/lib/emacs/info not added to INFOPATH
info: inaccessible directory /usr/local/gnu/lib/emacs/info not added to
INFOPATH
info: inaccessible directory /usr/local/lib/emacs/info not added to INFOPATH
info: inaccessible directory /usr/local/emacs/info not added to INFOPATH
info: adding . to INFOPATH