Search code examples
emacselisporg-modemanpageinfo

Updating infopath for org-mode


With emacs24 I'm using org-mode 8.2.8 installed from the tar.gz file available on orgmode.org.

I'm trying to get the infopath loaded so that C-h i m Org Mode RET will give me the org manual.

The org faq mentions two methods - both of which make reference to /path/to/org-mode/info but there isn't any info directory in the 8.2.8 org-mode root directory, only a doc directory.

Compiling org-mode 8.2.8 with the make command from the org-mode 8.2.8 root directory builds the file /usr/share/org which seemingly contains the manual for org 8.2.8 but I'm not able to load that with neither methods mentioned in the FAQ.

Note: I've previously asked this question. In that case I was using the version of org-mode that shipped with emacs24 and apt-get install emacs24-common-non-dfsg got me the man pages. This is a different case in which I'm using another version of org-mode than the default.


Solution

  • The doc directory contains org.texi. Add that to Info-directory-list.

    (add-to-list 'Info-directory-list "/path/to/org-mode/doc")
    

    If info hasn't been loaded yet, use

    (eval-after-load "info"
      '(progn
         (info-initialize)
         (add-to-list 'Info-directory-list "/path/to/org-mode/doc")))
    

    or

    (add-to-list 
     'Info-default-directory-list "/path/to/org-mode/doc")