Rainer M Krug <r.m.k...@gmail.com> writes: > On 10/12/12 23:15, Charles wrote: >> On 12/10/2012 12:43 PM, Eric Schulte wrote: >>> Rainer M Krug <r.m.k...@gmail.com> writes: >>> >>>> On 10/12/12 17:50, Jambunathan K wrote: >>>>> Rainer M Krug <rai...@krugs.de> writes: >>>>> >>>>>> Thanks - does anybody else has any ideas on how I can get org into info? >>>>> M-x info-display-manual RET ~/src/org-mode/doc/org RET >>>>> >>>> This definitely works - thanks. But is there a way of adding this >>>> permanentely, so that I >>>> can use the menu entry in the org menu to see the info file? >>>> >>> The following works for me (your mileage may vary) >>> >>> ;; info paths (add-to-list 'Info-default-directory-list >>> "/home/eschulte/.emacs.d/src/org-mode/doc/") >>> >>> > > This did not work. > >> For my set up (see below) I have tried Eric's suggestion, except >> "/home/Charlie/elisp/org-mode/doc/" >> >> I have also tried (expand-file-name "~/elisp/org-mode/doc/") (I >> found this in the FAQ) >> >> "C-h v Info-default-directory-list" shows that >> "/home/Charlie/elisp/org-mode/doc" loads before >> all other info directories. >> >> Info at the command line and "C-h i" from Emacs still bring up the >> manual for 7.9.1 even though >> the 7.9.2 org.doc has been downloaded. . . . . . . . . . . . . After >> writing the above I went >> back to the FAQ and added the following to my ~/.bash_profile >> >> INFOPATH=/home/Charlie/elisp/org-mode/doc/
How about customizing `Info-additional-directory-list' without touching INFOPATH as suggested below? ,---- | Info-default-directory-list is a variable defined in `info.el'. | Its value is ("/usr/local/share/info/" "/usr/share/info/") | | Documentation: | Default list of directories to search for Info | documentation files. They are searched in the order they are given in | the list. Therefore, the directory of Info files that come with Emacs | normally should come last (so that local files override standard | ones), unless Emacs is installed into a non-standard directory. In | the latter case, the directory of Info files that come with Emacs | should be first in this list. | | Once Info is started, the list of directories to search comes from the | variable `Info-directory-list'. This variable | `Info-default-directory-list' is used as the default for initializing | `Info-directory-list' when Info is started, unless the environment | variable INFOPATH is set. | | ,---- | | ,---- | | | Although this is a customizable variable, that is mainly for | | | technical reasons. Normally, you should either set INFOPATH or | | | customize `Info-additional-directory-list', rather than changing | | | this variable. | | `---- | `---- | | You can customize this variable. `---- > I added this to the .bashrc and it is working now. > > Thanks, > > Rainer > >> >> It works for info from the command line. As a matter of fact the new >> org info is at the >> beginning of the info contents. However emacs C-h i only bring up >> the Org info, even though >> "C-h v Info-default-directory-list" shows that all info directories are >> loaded. >> >> Set up: Windows 7 Home Premium, Service Pack 1, 64 bit Cygwin 1.7.17-1 GNU >> Emacs >> 24.2.1(i686-pc-cygwin, GTK+ Version 2.24.11) of 2012-08-27 on fiona >> Org-mode version 7.9.2 >> (release_7.9.2-664-gb1f369 @ /home/Charlie/elisp/org-mode/lisp/) >> >> Charlie Millar >> >> > --