emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Re: Installing org-mode from git without byte-compiling


From: Ian Barton
Subject: Re: [Orgmode] Re: Installing org-mode from git without byte-compiling
Date: Sat, 01 Jan 2011 10:11:47 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7

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 "<f9> 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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]