emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Tony Mc <afmcc@btinternet.com>
To: emacs-orgmode@gnu.org
Subject: Re: Updating OrgMode
Date: Wed, 14 Nov 2007 18:54:30 +0000	[thread overview]
Message-ID: <njgmj318dtpujevcij298b6ub5ab1o9ipp@4ax.com> (raw)
In-Reply-To: 87oddwdioo.fsf@bzg.ath.cx

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...


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

(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 -------------------
REM Update the Emacs org-mode automatically
REM Usage: org_update xxx
REM   to update to version xxx

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

REM Unpack the downloaded file in a temp directory
unzip -d %TEMP\ -o %ORGZIPFILE

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.pdf orgcard.pdf %DOWNLOADDIR\

REM Cleanup temp files
DEL %ORGFILES\*.* /s /x /y

  reply	other threads:[~2007-11-14 19:30 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-14  9:12 Updating OrgMode Graham Smith
2007-11-14 13:20 ` Bastien
2007-11-14 13:49   ` Graham Smith
2007-11-14 14:07     ` Bastien
2007-11-14 18:54       ` Tony Mc [this message]
2007-11-14 19:37         ` Graham Smith
2007-11-14 15:51   ` William Case
2007-11-14 16:37     ` Bastien
  -- strict thread matches above, loose matches on Subject: below --
2012-06-08  1:09 Updating orgmode Vikas Rawal
2012-06-08 14:42 ` Jonathan Leech-Pepin
     [not found] ` <uvh8a9x1fu.ln2@news.c0t0d0s0.de>
2012-06-08 15:10   ` Memnon Anon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=njgmj318dtpujevcij298b6ub5ab1o9ipp@4ax.com \
    --to=afmcc@btinternet.com \
    --cc=emacs-orgmode@gnu.org \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).