stand-alone info: M-x global-next-node freezes info when the current node is the last one (using a generated dir.info file)

aidan <[email protected]> Thu, 23 Apr 2026 10:15:14 +0800
Newsgroups gmane.comp.tex.texinfo.bugs
Message-ID <CAFYOJqwx=3Q_BBO925TLvDfEA5LgDF4rdZfb+fjDf7PKiOAUfA@mail.gmail.com>
Steps to reproduce:

1. execute command: texi2any --info --no-split --output="$HOME/info" dir.texi

dir.texi:

```
\input texinfo

@node Top

@bye
```

2. execute command: INFOPATH=$HOME/info info --init-file /dev/null texinfo
3. press ">" to go to the last node
4. press "]" (or M-x global-next-node)

Note:

In the generated dir.info file, replacing
File: dir.info, Node: Top, Up: (dir)
with
File: dir.info, Node: Top
resolves the issue.

Question:

The doc says:

   When you create your own ‘dir’ file for use with
‘Info-directory-list’ or ‘INFOPATH’, it's easiest to start by copying an
existing ‘dir’ file and replace all the text after the ‘* Menu:’ with
your desired entries.  That way, the punctuation and special ‘CTRL-_’
characters that Info needs will be present.

So is it incorrect to generate dir.info from dir.texi?