emacstexinfo

How to display an info page (not installed on system)?


I'm working on documentation for a large eLisp library. I have it in *.info file. I would like to be able to display its contents (also during development) in Emacs somehow, but I can't find a way to display it in info mode (I can only open it as source).

Ideally, I'd also be interested in a mechanism to add this file to the contents of info-finder.


Solution

  • As a shortcut, you can launch a file from within a dired buffer directly into info mode by pressing the 'I' key on the file.

    Just ensure you've loaded the dired-x package (included in 24) and have the variable dired-bind-info set to true

    (load "dired-x")
    (setq dired-x-hands-off-my-keys nil)
    (setq dired-bind-info t)
    (dired-x-bind-find-file)