[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] Installing over snapshot on ubuntu gnu/linux system
From: |
Manish |
Subject: |
Re: [Orgmode] Installing over snapshot on ubuntu gnu/linux system |
Date: |
Fri, 27 Jun 2008 10:32:01 +0530 |
On Tue, Jun 17, 2008 at 1:04 PM, Alan E. Davis wrote:
> I have a few questions about installing org-mode over an
> emacs-snapshot on Ubuntu GNU/Linux. I have been doing
> this by trial and error, and while it's been working I
> am not sure I have all the bits correctly worked out.
> First, how to edit the Makefile for the purpose.
>
> The package emacs-snapshot is installed in /usr . Does
> that suggest prefix=/usr ?
>
> The lispdir---is this my local repository, where I've
> unpacked the tar.gz file? (I am specifying this
> directory in my load path). Or is it the snapshot
> install lisp directory?
>
> I have similar questions for the info file. So far I've
> been just copying it into /usr/share/info/emacs-snapshot
> (or similar). Thank you for any suggestions/pointers.
May be you have ironed out your setup by now but FWIW, I can
share how I setup Org.
1. Org is cloned from it's git repo in ~/elisp/org-mode.git:
$ mkdir ~/elisp/ && cd ~/elisp
$ git clone git://repo.or.cz/org-mode.git org-mode.git
2. Run `make' to compile elisp files and `make doc' to
produce documentation (no need to edit Makefile to do any
of these.)
$ cd ~/elisp/org-mode.git && make && make doc
3. Do not run make install (Currently I also do not
currently install info documentation anywhere by myself.)
4. Introduce Org mode to Emacs (add to your .emacs and
reload):
(add-to-list 'load-path "~/elisp/org-mode.git/lisp")
(add-to-list 'load-path "~/elisp/org-mode.git/contrib/lisp")
(require 'org-install)
5. Customize to your taste/needs e.g. my org-directory is
set to "~/org.git" etc.
I have this setup on Cygwin on a WinXP machine and a
similar setup on a Debian box.
I like this setup because it is available to all
installed versions of Emacs (a Cygwin version and a Windows
native version) and lets me stay current with a minimum of
effort which boils down to:
1. $ cd ~/elisp/org-mode.git && git pull \
make clean && make && make doc
2. Browse the latest git log entries and diffs (I use tig)
3. Browse the updated portions of documentation (if
org.texi, Changes.org and/or ChangeLog files were
updated.)
You may want to select a different location for housing
git clone if you need to make that available to multiple
users.
HTH,
-- Manish