From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Barton Subject: Re: Re: Installing org-mode from git without byte-compiling Date: Sat, 01 Jan 2011 10:11:47 +0000 Message-ID: <4D1EFDE3.6060206@manor-farm.org> References: <81fwtdchir.fsf@gmail.com> <4D1EFACD.8070407@manor-farm.org> Reply-To: lists@manor-farm.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=40112 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PYyRH-0006bV-NG for emacs-orgmode@gnu.org; Sat, 01 Jan 2011 05:11:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PYyRE-0001xm-MU for emacs-orgmode@gnu.org; Sat, 01 Jan 2011 05:11:55 -0500 Received: from mail.ian-barton.com ([109.74.196.44]:45115 helo=li40-130.members.linode.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PYyRE-0001xe-A5 for emacs-orgmode@gnu.org; Sat, 01 Jan 2011 05:11:52 -0500 Received: from localhost (mail.wilkesley.org [127.0.0.1]) by li40-130.members.linode.com (Postfix) with ESMTP id EB03DA083 for ; Sat, 1 Jan 2011 10:11:47 +0000 (UTC) Received: from li40-130.members.linode.com ([127.0.0.1]) by localhost (mail.manor-farm.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6IIbdOn1es0e for ; Sat, 1 Jan 2011 10:11:47 +0000 (UTC) Received: from [192.168.0.133] (unknown [217.146.125.41]) (Authenticated sender: ian@manor-farm.org) by li40-130.members.linode.com (Postfix) with ESMTPSA id ACA7EA056 for ; Sat, 1 Jan 2011 10:11:47 +0000 (UTC) In-Reply-To: <4D1EFACD.8070407@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: emacs-orgmode@gnu.org 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. Ian.