emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Tony Mc <afmcc@btinternet.com>
To: emacs-orgmode@gnu.org
Subject: Re: Installing on windows
Date: Thu, 05 Feb 2009 09:38:15 +0000	[thread overview]
Message-ID: <chclo4lgc0n7ds7to5ufafstdks59f0fbu@4ax.com> (raw)
In-Reply-To: <bfcafcdc0902040919n7cf6efacm3ea78642fb388e0a@mail.gmail.com>

On Wed, 4 Feb 2009 11:19:50 -0600, Bill Raynor <braynor3500@gmail.com>

> I and many others would be grateful for a detailed step-by-step tutorial on
> installing org-mode on windows. The basic instructions work just fine on,
> say, OS X (edit makefile, make and make install) but don't work on windows.
> Using emacs on windows is quite simple (download and install) but updating
> Org doesn't work so well.
> In the past I've used dired to attempt to compile the directory directly,
> which gets lots of error messages, but sort of works. I read a recent post
> on installing cygwin, but that doesn't quite work, as the post neglected to
> mention that you have to install cygwin + some unspecified packages (to get
> make, for instance). I trying that now.  I am also using the W32 version of
> emacs.

I use a batch file for JP Software's TCC (the successor to 4NT and
4DOS) command line. I have copied the batch file below, I don't think
it would take much editing to make it work with the built-in cmd.exe
command processor. When I download a new org-xxx.zip file I just close
Emacs and run:

	org_update xxx

and it takes care of the unpacking, batch compiling, installing into
my elisp directory and cleaning up temporary files afterwards. You
will probably need to change some of the paths (I have Emacs installed
in C:\Emacs and my customization directory is D:\.emacs.d 

I hope that is of some help to you.

org_update.btm follows:

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 -eval "(progn (add-to-list (quote load-path)
(expand-file-name \"./lisp/\")) (add-to-list (quote load-path)
\"D:/.emacs.d/elisp\"))" -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
c:\pacl\paext -o+ -d -p%TEMP\ %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 ..\doc\org %INFODIR\
COPY ..\doc\org.pdf ..\doc\orgcard.pdf %INFODIR\

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

  parent reply	other threads:[~2009-02-05  9:38 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-04 17:19 Bill Raynor
2009-02-04 17:47 ` Saurabh Agrawal
2009-02-04 17:48 ` Manish
2009-02-04 18:07   ` Saurabh Agrawal
2009-02-05  2:01     ` Manish
2009-02-05  5:02       ` Saurabh Agrawal
2009-02-05  5:14         ` Manish
2009-02-05  5:18           ` Cameron Horsburgh
2009-02-05  5:30             ` Manish
2009-02-05  6:11               ` Cameron Horsburgh
2009-02-05  7:53                 ` Manish
2009-02-05  8:25                   ` Cameron Horsburgh
2009-02-06  7:15           ` Saurabh Agrawal
2009-02-06  8:05             ` Manish
2009-02-06 11:26               ` Saurabh Agrawal
     [not found]                 ` <e7cdbe30902060434y5a5011eep1a2567f5facce184@mail.gmail.com>
2009-02-06 13:07                   ` Saurabh Agrawal
2009-02-06 19:52                     ` Manish
2009-02-06 21:24                       ` Chris McMahan
2009-02-06 23:30                         ` Sebastian Rose
2009-02-07  8:20                           ` Manish
2009-02-04 18:16   ` Bill Raynor
2009-02-04 19:52 ` Charles Sebold
2009-02-05  9:38 ` Tony Mc [this message]
2009-02-06 23:19 Tim O'Callaghan
2009-02-07  9:09 ` Manish

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=chclo4lgc0n7ds7to5ufafstdks59f0fbu@4ax.com \
    --to=afmcc@btinternet.com \
    --cc=emacs-orgmode@gnu.org \
    --subject='Re: Installing on windows' \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Code repositories for project(s) associated with this 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).