From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tony Mc Subject: Re: Updating OrgMode Date: Wed, 14 Nov 2007 18:54:30 +0000 Message-ID: References: <2c75873c0711140112u3011f011q5aaaa2084b7cc857@mail.gmail.com> <87fxz97yln.fsf@bzg.ath.cx> <2c75873c0711140549y4dd79294mc8d098e6bfbf6e70@mail.gmail.com> <87oddwdioo.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IsNwF-0008NC-5d for emacs-orgmode@gnu.org; Wed, 14 Nov 2007 14:30:15 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IsNwC-0008ME-AH for emacs-orgmode@gnu.org; Wed, 14 Nov 2007 14:30:14 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IsNwC-0008MB-4K for emacs-orgmode@gnu.org; Wed, 14 Nov 2007 14:30:12 -0500 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IsNwB-0006dC-Dq for emacs-orgmode@gnu.org; Wed, 14 Nov 2007 14:30:11 -0500 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1IsNw2-0004Kd-FD for emacs-orgmode@gnu.org; Wed, 14 Nov 2007 19:30:02 +0000 Received: from host217-43-121-164.range217-43.btcentralplus.com ([217.43.121.164]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 14 Nov 2007 19:30:02 +0000 Received: from afmcc by host217-43-121-164.range217-43.btcentralplus.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 14 Nov 2007 19:30:02 +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 On Wed, 14 Nov 2007 14:07:35 +0000, Bastien wrote: > "Graham Smith" writes: > > > Having said that the lines in my .emac is slightly different. > > > > (Add-to-list 'load-path "C:\\Program Files\\EmacAddIns\\org-mode") > ^ > > I guess this should come in lower-case, no? > > (Very unlikely the erro comes from this though, this should return an > error...) > > > I'm afraid I don't know how to use the script you have attached :-( > > Maybe Windows people in this list have other ways of automating the > process of updating their Org installation -- and will share on the > list... Graham, if you have 4NT you can use the following batch file to do the installation. Obviously you should change the directories at the top of the file to suit your setup. Just download the latest org-xxx.zip and then do org_update xxx and emacs will use the latest org-mode. I have (setq load-path (cons "~/.emacs.d/elisp" load-path)) in my .emacs so that emacs knows to look there for addon packages. I also have an environment variable INFOPATH set to include ~/.elisp.d/info before the standard emacs info directory, so that info in emacs picks up the documentation for the latest version. HTH, Tony -------------------- Batch file org_update.btm ------------------- @ECHO OFF REM Update the Emacs org-mode automatically REM Usage: org_update xxx REM to update to version xxx SETLOCAL SET ORGFILES=org-%1 SET EMACS=C:\emacs\bin\emacs.exe SET EMACS_OPTS=--batch -q -f batch-byte-compile SET ELISPDIR=D:\.emacs.d\elisp SET INFODIR=D:\.emacs.d\info SET DOWNLOADDIR=D:\Downloads\Editors\Emacs\Elisp SET ORGZIPFILE=%ORGFILES.zip REM Unpack the downloaded file in a temp directory CDD %DOWNLOADDIR unzip -d %TEMP\ -o %ORGZIPFILE CDD %TEMP\%ORGFILES REM Compile the Elisp sources FOR %f in (org*.el) %EMACS %EMACS_OPTS %f REM Copy parts of the archive to where Emacs can find them COPY org*.el org*.elc %ELISPDIR\ COPY org %INFODIR\ COPY org.pdf orgcard.pdf %DOWNLOADDIR\ REM Cleanup temp files CDD %TEMP\ DEL %ORGFILES\*.* /s /x /y ENDLOCAL