From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jambunathan K Subject: Re: info for org not found in emacs Date: Tue, 11 Dec 2012 15:59:20 +0530 Message-ID: <87pq2glw5b.fsf@gmail.com> References: <50C1FC20.1090401@gmail.com> <50C331F7.3020505@gmail.com> <87ip89x35y.fsf@gmail.com> <50C61CAC.1000902@gmail.com> <87sj7d951k.fsf@gmail.com> <50C65EEB.5050207@verizon.net> <50C6EDFD.9050604@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:53266) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TiN2d-0008R2-TI for emacs-orgmode@gnu.org; Tue, 11 Dec 2012 05:26:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TiN2X-0007Qp-MY for emacs-orgmode@gnu.org; Tue, 11 Dec 2012 05:26:23 -0500 Received: from mail-pb0-f41.google.com ([209.85.160.41]:40092) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TiN2X-0007Qf-FX for emacs-orgmode@gnu.org; Tue, 11 Dec 2012 05:26:17 -0500 Received: by mail-pb0-f41.google.com with SMTP id xa7so2574163pbc.0 for ; Tue, 11 Dec 2012 02:26:16 -0800 (PST) In-Reply-To: <50C6EDFD.9050604@gmail.com> (Rainer M. Krug's message of "Tue, 11 Dec 2012 09:25:33 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Rainer M Krug Cc: emacs-orgmode@gnu.org, Charles Rainer M Krug writes: > On 10/12/12 23:15, Charles wrote: >> On 12/10/2012 12:43 PM, Eric Schulte wrote: >>> Rainer M Krug writes: >>> >>>> On 10/12/12 17:50, Jambunathan K wrote: >>>>> Rainer M Krug 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 >> >> > --