Calaf
Calaf

Reputation: 10837

info indexing (within and without emacs)

Does info provide any facility to link a foo.info file to info's main index?

The context is this: I would like to avoid maintaining my own index ("the info page for foo.info is in /abc/def/foo.info, ...").

The idea is to be able to type info foo and start reading the page, or, within emacs, to type M-x info RET foo RET and also start navigating.

Upvotes: 2

Views: 308

Answers (1)

Drew
Drew

Reputation: 30708

  • For additional *.info files, that is, ones that don't come with Emacs, see the doc -- e.g. (info) Emacs Info Variables and (info) Expert Info. Essentially, you just add an entry to the dir menu (the top-level, directory level of Info).

  • Besides that, you can create virtual books with Info.

    • Vanilla Emacs gives you I (command Info-virtual-index), which creates a virtual index of nodes (across all manuals) that match a string you enter.

    • Better yet, Info+ lets you add any Info nodes (pages) at all, from any manuals, to a virtual book. You can have any number of such virtual books. . (command Info-save-current-node) adds the current node, and v (command Info-virtual-book) visits a virtual book -- that is, a menu of saved nodes.

Upvotes: 5

Related Questions