Tony, Thanks I don't 4NT, indeed had never heard of it until now, but its all useful to know and building my knowledge. Graham On 14/11/2007, Tony Mc wrote: > > 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 > > > > _______________________________________________ > 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 >