From mboxrd@z Thu Jan 1 00:00:00 1970 From: Manish Subject: Re: Installing over snapshot on ubuntu gnu/linux system Date: Fri, 27 Jun 2008 10:32:01 +0530 Message-ID: References: <7bef1f890806170034s7f12ecffl4dfe4c60abec7423@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KC662-0005nL-I7 for emacs-orgmode@gnu.org; Fri, 27 Jun 2008 01:02:06 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KC660-0005ml-Pm for emacs-orgmode@gnu.org; Fri, 27 Jun 2008 01:02:06 -0400 Received: from [199.232.76.173] (port=37368 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KC660-0005mi-MZ for emacs-orgmode@gnu.org; Fri, 27 Jun 2008 01:02:04 -0400 Received: from ti-out-0910.google.com ([209.85.142.186]:44244) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KC65z-0002oJ-Tm for emacs-orgmode@gnu.org; Fri, 27 Jun 2008 01:02:04 -0400 Received: by ti-out-0910.google.com with SMTP id u5so191588tia.10 for ; Thu, 26 Jun 2008 22:02:02 -0700 (PDT) In-Reply-To: <7bef1f890806170034s7f12ecffl4dfe4c60abec7423@mail.gmail.com> Content-Disposition: inline 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: "Alan E. Davis" Cc: emacs-orgmode@gnu.org 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