Next: , Previous: , Up: Miscellaneous  


Q5.3.11: How do I add new Info directories?

You use something like:

(setq Info-directory-list (cons
                           (expand-file-name "~/info")
                           Info-default-directory-list))

David Masterson writes:

Emacs Info and (S)XEmacs Info do many things differently. If you’re trying to support a number of versions of Emacs, here are some notes to remember:

  1. Emacs Info scans Info-directory-list from right-to-left while SXEmacs Info reads it from left-to-right, so append to the correct end of the list.
  2. Use Info-default-directory-list to initialize Info-directory-list if it is available at startup, but not all Emacsen define it.
  3. Emacs Info looks for a standard dir file in each of the directories scanned from #1 and magically concatenates them together.
  4. SXEmacs Info looks for a localdir file (which consists of just the menu entries from a dir file) in each of the directories scanned from #1 (except the first), does a simple concatenation of them, and magically attaches the resulting list to the end of the menu in the dir file in the first directory.

Another alternative is to convert the documentation to HTML with texi2html and read it from a web browser like Lynx or W3.