Hi, I'm new to emacs and have been working my way through various Info manuals I find interesting. Right now I'm on the "eintr" one (the intro to Lisp one). In section 4.1 "Finding More Information", it says the following:
For example, ‘xref-find-definitions’ will jump to the various nodes in the Texinfo source file of this document (provided that you’ve run the ‘etags’ utility to record all the nodes in the manuals that come with Emacs; see (emacs)Create Tags Table).
When I try the command **M-.** it puts this in the minibuffer:
Visit tags table (default TAGS): /usr/local/Cellar/emacs/28.1/share/info/emacs/
Which I interpret to mean I do not have a TAGS file already generated for the Info pages.
If I navigate to:
/usr/local/Cellar/emacs/28.1/share/info/emacs
And then do:
etags eintr.info.gz
It does create a TAGS file, but it doesn't look right. Every line starts with "function", which makes me think etags interpreted this as the wrong language. I'm assuming the language expected is texinfo (based on the Info pages own text), so I tried manually specifying the language:
etags -l texinfo eintr.info.gz
But it creates an almost-empty TAGS file.
Now I'm kind of stumped. Anyone have any ideas how I can get tags working within Info mode? Thanks!