On Thu, May 8, 2014 at 4:35 PM, Benno Schulenberg <[email protected]> wrote: > With current SVN, doing 'info/ginfo doc/info.info' seems to work. > Seems, because when I add some words to that doc/info.info file, > they don't show. Those words do show when I add the --file option. > So the bare 'info/ginfo doc/info.info' shows me the system's info file. > > Doing a strace on both invocations shows that both find and open > the correct file, but then the call without --file goes on anyway to > search for info.info all over the place. :| >
It works for me in current SVN: could you make sure you are running the most recent version and try again? For comparison, I get: $ info/ginfo -x3 doc/info.info info: INFOPATH=doc info: INFOPATH=doc:/usr/local/share/info:/usr/share/info:/usr/share/texmf/info:/usr/local/info:/usr/info:/usr/local/lib/info:/usr/lib/info:/usr/local/gnu/info:/usr/local/gnu/lib/info:/usr/gnu/info:/usr/gnu/lib/info:/opt/gnu/info:/usr/share/info:/usr/share/lib/info:/usr/local/share/info:/usr/local/share/lib/info:/usr/gnu/lib/emacs/info:/usr/local/gnu/lib/emacs/info:/usr/local/lib/emacs/info:/usr/local/emacs/info:. info: looking for file "doc/info.info" info: found file doc/info.info In infodebug: info: looking for file "info.info" info: INFOPATH compacted: doc:/usr/local/share/info:/usr/share/info:/usr/share/texmf/info:/usr/local/info:/usr/info:/usr/local/lib/info:/usr/lib/info:/usr/local/gnu/info:/usr/local/gnu/lib/info:/usr/gnu/info:/usr/gnu/lib/info:/opt/gnu/info:/usr/share/lib/info:/usr/local/share/lib/info:/usr/gnu/lib/emacs/info:/usr/local/gnu/lib/emacs/info:/usr/local/lib/emacs/info:/usr/local/emacs/info:. info: looking for file info.info in doc info: found file doc/info.info It's the same with --file for me. > When calling up the index (or doing 'info/ginfo --file doc/info.info index'), > tabbing through it behaves strange. The cursor sits some way into the > lines, and when pressing Enter it jumps to the item that is three lines > further down. If you don't see that, then mine is really miscompiled. > This was a bug and I have fixed it. > > $ info/ginfo -x3 doc/info.info index This works for me as well, and brings up the index.
