emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: lists@manor-farm.org
Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org
Subject: Re: Re: Installing org-mode from git without byte-compiling
Date: Sat, 01 Jan 2011 10:15:31 -0500	[thread overview]
Message-ID: <3648.1293894931@gamaville.dokosmarshall.org> (raw)
In-Reply-To: Message from Ian Barton <lists@manor-farm.org> of "Sat, 01 Jan 2011 10:11:47 GMT." <4D1EFDE3.6060206@manor-farm.org>

Ian Barton <lists@manor-farm.org> 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 "<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.
> 

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

  reply	other threads:[~2011-01-01 15:15 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-31 18:43 Installing org-mode from git without byte-compiling Jeff Horn
2010-12-31 20:41 ` Bernt Hansen
2011-01-01  5:36 ` Jambunathan K
2011-01-01  9:58   ` Ian Barton
2011-01-01 10:11     ` Ian Barton
2011-01-01 15:15       ` Nick Dokos [this message]
2011-01-14  8:20     ` Jeff Horn
2011-01-01 12:23   ` Jambunathan K
2011-01-03 11:29 ` Noorul Islam K M

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3648.1293894931@gamaville.dokosmarshall.org \
    --to=nicholas.dokos@hp.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=lists@manor-farm.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).