On Tue, Oct 20, 2026 at 05:44:09PM +0800, Aidan Zhai wrote: > Bisected to 4167460: > > 4167460 2026-10-16 00:30 +0200 Patrice Dumas o [HEAD] > [refs/bisect/bad] read index tag in Info reader and handle tag not > being a node name > > Steps to reproduce > > 1. INFOPATH= info -v infopath-no-defaults=On --init-file /dev/null > /usr/local/share/info/texinfo.info > 2. M-x last-node > 3. nothing happens > > Note that you need to open the newly generated `texinfo.info`.
Indeed, I used the installed texinfo manual to test before. So it is trigered by both the new code that handle the Index tag and having an Index tag at the end of the Info file. Reading the code (session-cmd.c info_last_node), I do not understand why i = last_node_tag_idx + 1; is not done also if count < 0, as afterwards 'i - 1' is used in any case. Also now I get a segfault when I use last-node on the installed texinfo manual from 7.3. With the standalone Info reader from 7.3, for the installed Texinfo manual without index tags, last-node goes to the last node. For the new texinfo.info manual with the index tag using Ref, the reader goes to the index beginning, which would mean that it follows the Ref. It is much better than the development version, but I would have expected last-node to go to the last node and not to the last anchor, given that (! T_IsAnchor) is checked in the 7.3 info reader code. I could have time to look at the issue in more details, but not soon. -- Pat
