From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Graham Smith" Subject: Re: Re: Updating OrgMode Date: Wed, 14 Nov 2007 19:37:19 +0000 Message-ID: <2c75873c0711141137j7638d3a9v96dc955823e80702@mail.gmail.com> 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: multipart/mixed; boundary="===============1318599549==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IsO36-0001lo-Pm for emacs-orgmode@gnu.org; Wed, 14 Nov 2007 14:37:20 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IsO36-0001lc-7C for emacs-orgmode@gnu.org; Wed, 14 Nov 2007 14:37:20 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IsO36-0001lZ-4a for emacs-orgmode@gnu.org; Wed, 14 Nov 2007 14:37:20 -0500 Received: from an-out-0708.google.com ([209.85.132.249]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IsO35-0000wS-KJ for emacs-orgmode@gnu.org; Wed, 14 Nov 2007 14:37:19 -0500 Received: by an-out-0708.google.com with SMTP id c38so57725ana for ; Wed, 14 Nov 2007 11:37:19 -0800 (PST) In-Reply-To: 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 --===============1318599549== Content-Type: multipart/alternative; boundary="----=_Part_6810_22944139.1195069039071" ------=_Part_6810_22944139.1195069039071 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 > ------=_Part_6810_22944139.1195069039071 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 <afmcc@btinternet.com> wrote:
On Wed, 14 Nov 2007 14:07:35 +0000, Bastien <bzg@altern.org> wrote:

> "Graham Smith" <myotisone@gmail.com> 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

------=_Part_6810_22944139.1195069039071-- --===============1318599549== 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 --===============1318599549==--