From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Updating OrgMode Date: Wed, 14 Nov 2007 13:20:20 +0000 Message-ID: <87fxz97yln.fsf@bzg.ath.cx> References: <2c75873c0711140112u3011f011q5aaaa2084b7cc857@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IsIAP-0007Uk-Nc for emacs-orgmode@gnu.org; Wed, 14 Nov 2007 08:20:29 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IsIAN-0007Om-EM for emacs-orgmode@gnu.org; Wed, 14 Nov 2007 08:20:28 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IsIAN-0007OG-7f for emacs-orgmode@gnu.org; Wed, 14 Nov 2007 08:20:27 -0500 Received: from wr-out-0506.google.com ([64.233.184.238]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IsIAM-0002oR-JM for emacs-orgmode@gnu.org; Wed, 14 Nov 2007 08:20:26 -0500 Received: by wr-out-0506.google.com with SMTP id 50so190991wra for ; Wed, 14 Nov 2007 05:20:25 -0800 (PST) In-Reply-To: <2c75873c0711140112u3011f011q5aaaa2084b7cc857@mail.gmail.com> (Graham Smith's message of "Wed, 14 Nov 2007 09:12:25 +0000") 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 --=-=-= Hi Graham, "Graham Smith" writes: > I am returning to emacs after a brief try out some time ago. As Org-mode > is now part of the distribution I'm no longer too sure how to update > it. Before I had a folder for Org-mode that my .emacs file pointed to > and I just copied all the new files into that folder. Welcome back to Emacs :) Unless you're using Emacs CVS, it's likely that you want to download the whole Org package every now and then, and make sure you are using org.el that comes with it. To get the latest Org distribution, I am using Pete's script (attached). Please have a look at it; you certainly want to modify variables to make it work in your environment. --=-=-= Content-Type: text/x-sh Content-Disposition: attachment; filename=org-mode-update.sh #!/bin/sh # script to automate pullingthe latest org from Carsten's site # PJP pete@smtl.co.uk # $Revision: 1.1 $ # $Log: update-org.sh,v $ # Revision 1.1 2007/04/26 05:53:54 pete # Initial revision # directory where the org directory is located DIR=$HOME/elisp/testing ORGDIR=$DIR/org TMP=/tmp TMPTAR=$TMP/org.tar.gz # This is where I keep my copy of CVS emacs. EMACSBIN=/usr/local/bin/emacs # you should not need to edit anything else below here # go to the tmp dir cd $TMP # make sure we have the lisp dir mkdir -p $DIR # get the tar file # wget http://staff.science.uva.nl/~dominik/Tools/org/org.tar.gz wget http://orgmode.org/org.tar.gz # ORGDIR is a symbolic link. We get rid of it rm $ORGDIR # cd to the lisp directory cd $DIR # unpack the tar file tar xzvf $TMPTAR # what is the new directory name? ORGVER=`tar tvf $TMPTAR | head -1 | sed 's/ */ /g' | cut -d' ' -f6` # remake the link... ln -s $ORGVER org # make ... cd $ORGDIR mv Makefile Makefile.orig sed s:EMACS=emacs:EMACS=$EMACSBIN: < Makefile.orig > Makefile make --=-=-= To load the most recent org.el, always put it in the same location and add this location to your load-path in ~/.emacs: (add-to-list 'load-path "~/elisp/testing/org/") Then doing a simple (require 'org-install) somewhere after this should do the trick. It will override any org.el that you might already have in your .../emacs/lisp/ directory. HTH, -- Bastien --=-=-= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --=-=-=--