From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Re: Installing org-mode from git without byte-compiling Date: Sat, 01 Jan 2011 10:15:31 -0500 Message-ID: <3648.1293894931@gamaville.dokosmarshall.org> References: <81fwtdchir.fsf@gmail.com> <4D1EFACD.8070407@manor-farm.org> <4D1EFDE3.6060206@manor-farm.org> Reply-To: nicholas.dokos@hp.com Return-path: Received: from [140.186.70.92] (port=54581 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PZ3BL-0006JW-4a for emacs-orgmode@gnu.org; Sat, 01 Jan 2011 10:15:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PZ3BJ-0001LH-Ej for emacs-orgmode@gnu.org; Sat, 01 Jan 2011 10:15:47 -0500 Received: from vms173005pub.verizon.net ([206.46.173.5]:36165) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PZ3BJ-0001Kx-BX for emacs-orgmode@gnu.org; Sat, 01 Jan 2011 10:15:45 -0500 Received: from gamaville.dokosmarshall.org ([unknown] [173.76.32.106]) by vms173005.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0LEC002Y5NPWQQ30@vms173005.mailsrvcs.net> for emacs-orgmode@gnu.org; Sat, 01 Jan 2011 09:15:32 -0600 (CST) In-reply-to: Message from Ian Barton of "Sat, 01 Jan 2011 10:11:47 GMT." <4D1EFDE3.6060206@manor-farm.org> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: lists@manor-farm.org Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org Ian Barton wrote: > On 01/01/11 09:58, Ian Barton wrote: > > On 01/01/11 05:36, Jambunathan K wrote: > >> > >>> Inspecting the Makefile, I see that I probably want to make the info > >>> documentation and have that installed automatically, I just don't want > >>> to byte-compile the lisp. > >> > >> $ make doc/org > >> > >> The above command will create a file named 'org' in the doc directory. > >> > >> Once this is done alter `Info-directory-list' with the following line in > >> your init file. > >> > >> (push "~/path/to/git/root/doc/" Info-directory-list) > >> > >> If you get some surprises, you can do a C-h v Info-directory-list and > >> make sure that the order of the dirs is just as you want it. > >> > > I have been struggling to get the info from the git repo to display in > > Emacs, rather than the default info. > > > > In my .emacs I have: (add-to-list 'Info-default-directory-list > > "~/.emacs.d/src/org-mode/doc/") > > > > C-h v Info-directory-list shows: > > > > Info-directory-list's value is > > ("~/.emacs.d/src/org-mode/doc/" "/usr/share/info/emacs-23" > > "/usr/share/info/" "/usr/share/info/") > > > > > > However, I still get the info file for org 6.36.trans displayed. If I do: > > > > info ~/.emacs.d/src/org-mode/doc/org > > > > I get the correct git version of the info file. So what am I doing wrong? > > > > I am using: > > > > GNU Emacs 23.2.1 (x86_64-pc-linux-gnu, GTK+ Version 2.21.6) > > of 2010-09-01 on americium, modified by Debian > > > > > > I have managed to get it to display the correct info file by binding a > function key like: > > (global-set-key (kbd " i") (lambda () > (interactive) > (info > > "~/Private/Dropbox/.emacs.d/src/org-mode/doc/org"))) > > This seems to be a bit of a sledgehammer/nut solution though. > I have vague recollections of struggling with Info customization many years ago. I finally worked around the problem by explicitly setting my INFOPATH env variable appropriately in my .profile, so that when emacs starts up, it knows where to look. Of course, making sure that some shell init file gets executed at login time in a "modern" desktop environment (I use the Gnome desktop on Linux) is a battle as well, but at least that only has to be figured out once: I set it up back in Ubuntu Dapper days and I have not touched it since then. If it ever breaks, I will be tempted to chuck the whole thing out the window... Nick