From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer M Krug Subject: Re: info for org not found in emacs Date: Wed, 12 Dec 2012 12:23:31 +0100 Message-ID: <50C86933.70502@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> <87pq2glw5b.fsf@gmail.com> Reply-To: Rainer@krugs.de Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:58815) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TikPd-0001y0-SC for emacs-orgmode@gnu.org; Wed, 12 Dec 2012 06:23:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TikPX-0007T2-8x for emacs-orgmode@gnu.org; Wed, 12 Dec 2012 06:23:41 -0500 Received: from mail-bk0-f41.google.com ([209.85.214.41]:63704) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TikPW-0007Sv-Ti for emacs-orgmode@gnu.org; Wed, 12 Dec 2012 06:23:35 -0500 Received: by mail-bk0-f41.google.com with SMTP id jg9so263684bkc.0 for ; Wed, 12 Dec 2012 03:23:33 -0800 (PST) In-Reply-To: <87pq2glw5b.fsf@gmail.com> 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: Jambunathan K Cc: emacs-orgmode@gnu.org, Charles -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 11/12/12 11:29, Jambunathan K wrote: > 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? That is working - thanks. It is the better way then modifying the INFOPATH userwide. Strange that changing the Info-default-directory-list did not work. Cheers, Rainer > > ,---- | 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 >>> >>> >> > - -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbosch University South Africa Tel : +33 - (0)9 53 10 27 44 Cell: +33 - (0)6 85 62 59 98 Fax : +33 - (0)9 58 10 27 44 Fax (D): +49 - (0)3 21 21 25 22 44 email: Rainer@krugs.de Skype: RMkrug -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iEYEARECAAYFAlDIaTIACgkQoYgNqgF2egrpLACfTnzUOidmNH9urOhcOePWTb7T SUEAn2u3ObN0rX+JkILBKkYaE8PxNMa/ =PxHi -----END PGP SIGNATURE-----