This sounds like a bug in Emacs. Could you construct a minimal texinfo
file which illustrates the problem, then post it with a bug report to
bug-gn...@gnu.org?
--
Alan Mackenzie (Nuremberg, Germany).
Thanks Alan.
I will try my best to post a bug report.
I hope my level of expertise will get the bug report meet the criteria
for bug reporting.
posted a bug report.
per reply posted by Glenn Morris, tried from terminal : emacs -Q --
eval '(info "./test.info")'
now its working as expected.
One question remains though -
wouldn't the above be equivalent to doing in emacs?
C-x C-f ./test.info
M-: (Info-mode)
No, not at all. Calling Info-mode manually will mostly not work.
Info is fairly special in this way (and it's clearly a misfeature).
You can try M-x Info-on-current-buffer which tries to turn a buffer
containing a .info file into a proper and mostly functional Info buffer,
but it's fairly hackish and has various quirks.
Part of the problem is that Info is basically designed around the idea
of accessing various files, so while at any given point it shows you
part of a single file, it is not really bound to a single file in the
same way as a normal file buffer.
Stefan