From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Gez" Subject: Re: compiling org without make Date: Sun, 26 Sep 2010 18:20:48 +0100 Message-ID: <918299C3C27A4BFB8E06807C7B0294A6@alice> References: <24ACFCB8211E4E82A413C36087B326A8@alice> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1216481855==" Return-path: Received: from [140.186.70.92] (port=39717 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ozuws-0006rH-44 for emacs-orgmode@gnu.org; Sun, 26 Sep 2010 13:23:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ozuwq-00057G-7H for emacs-orgmode@gnu.org; Sun, 26 Sep 2010 13:23:38 -0400 Received: from tripwire.c1.site5.com ([174.120.98.154]:49909) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ozuwq-00057A-2U for emacs-orgmode@gnu.org; Sun, 26 Sep 2010 13:23:36 -0400 Received: from localhost (localhost [127.0.0.1]) by tripwire.c1.site5.com (Postfix) with ESMTP id 1C34670C8D for ; Sun, 26 Sep 2010 12:23:35 -0500 (CDT) Received: from tripwire.c1.site5.com ([127.0.0.1]) by localhost (tripwire.c1.site5.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id daZEU+oY7bBR for ; Sun, 26 Sep 2010 12:23:34 -0500 (CDT) Received: from alice (82-69-51-46.dsl.in-addr.zen.co.uk [82.69.51.46]) by tripwire.c1.site5.com (Postfix) with ESMTPA id 81D7570C85 for ; Sun, 26 Sep 2010 12:23:33 -0500 (CDT) 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 This is a multi-part message in MIME format. --===============1216481855== Content-Type: multipart/alternative; boundary="----=_NextPart_000_00D4_01CB5DA7.8B0B8260" This is a multi-part message in MIME format. ------=_NextPart_000_00D4_01CB5DA7.8B0B8260 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I got it working, thanks to an offlist message from Don - copied with = permission below... Gez ----- Original Message -----=20 From: "Dan Davison" To: "Gez" Sent: Sunday, September 26, 2010 2:56 PM Subject: Re: compiling org without make > Hi Gez, > > It is possible to use the latest version of Org mode very easily, > without compiling or installing to system folders. I just posted = example > instructions in another thread; the link to that thread is > > http://thread.gmane.org/gmane.emacs.orgmode/30973 > > With this method, the info files in emacs will be out-of-date. Full > installation is covered in section 1.2 of the manual: > > http://orgmode.org/manual/Installation.html#Installation > > But here are the instructions I posted: > > 1. Download the latest version > .zip and .tar.gz version are kept at > http://orgmode.org/org-latest.zip > http://orgmode.org/org-latest.tar.gz > > 2. Extract the archived files > This will create a folder called "org-mode". Let's say that the > location of this folder is "~/path/to/org-mode" (for Windows see > footnote [1]) > > 3. Add the following lines to your .emacs file (note that we're = pointing > to the "lisp" folder *within* the main "org-mode" folder): > > (setq load-path (cons "~/path/to/org-mode/lisp" load-path) > (require 'org-install) > > That's it. However, this will not install the latest info files, so > these will be out of date (corresponding to whatever version of Org > shipped with your emacs). See XXXX for instructions on installing the > info files. > > Now, Emacs should load whatever version of Org-mode you put at > "~/path/to/org-mode". So to update Org in the future, simply delete = that > folder and replace it with a new one (steps 1 and 2 above). > > Footnotes: > > [1] On Windows, this path might look something like > "C:\\path\to\org-mode" > > Dan > > > > "Gez" writes: > >> I'm a beginner on windows and I'm prepared to learn slowly and = steadily,=20 >> but I'm having trouble getting started. I have GNU Emacs 23.2.1 and = I'd=20 >> like to get the latest version of orgmode (my version has no=20 >> org-capture). I see from=20 >> http://orgmode.org/worg/org-hacks.php#compiling-org-without-make that = >> this problem has been addressed, but I'm still not clear on what to = do... >> >> 1. How I find out which version of orgmode I have? I'm assuming from=20 >> http://orgmode.org/ that it's 6.21b, but is there a way of confirming = >> this? > > M-x org-version > >> >> 2. Do I need to compile at all? At least in order to get started=20 >> learning and using it? > > No, it is not necessary to compile. Some experienced Org users do not > compile at all, because they upgrade very often and don't want to risk > accidentally forgetting to recompile. > >> 3. Whether or not I compile, how do I "install" the downloaded = org-mode=20 >> files? Should I just copy them into \emacs-23.2\lisp\org (where my = org=20 >> lisp files are now) and let them overwrite where necessary? >> >> 3. In the example path in the function on=20 >> http://orgmode.org/worg/org-hacks.php#compiling-org-without-make, the = >> org-lisp-directory is under .emacs.d but my org files are under=20 >> \emacs-23.2\lisp\org - does this matter? >> >> 4. Assuming the path is ok as it is, how do I enter the path into the = >> function - do I write the whole path - e.g. = Q:\progs\emacs-23.2\lisp\org=20 >> ? >> >> 5. What option should I choose for org-compile-sources in the = function?=20 >> (I don't know what it means.) >> >> 6. Finally, how do I use this function? Do I write it to my .emacs = and=20 >> then call it? What is the command? >> ------=_NextPart_000_00D4_01CB5DA7.8B0B8260 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I got it working, thanks to an offlist message from Don - = copied with=20 permission below...

Gez
 

----- Original Message ----- =
From:=20 "Dan Davison" <davison@stats.ox.ac.uk>
To: = "Gez" <register@geekanddiva.com>
Sent: Sunday, September = 26, 2010=20 2:56 PM
Subject: Re: compiling org without make


> Hi=20 Gez,
>
> It is possible to use the latest version of Org = mode very=20 easily,
> without compiling or installing to system folders. I = just posted=20 example
> instructions in another thread; the link to that thread=20 is
>
> http://thread.gmane.org/gmane.emacs.orgmode/30973
>>=20 With this method, the info files in emacs will be out-of-date. = Full
>=20 installation is covered in section 1.2 of the manual:
>
> http://orgmode.org/manual/Installation.html#Installation>
>=20 But here are the instructions I posted:
>
> 1. Download the = latest=20 version
>   .zip and .tar.gz version are kept=20 at
>   http://orgmode.org/org-latest.zip
>   http://orgmode.org/org-latest.tar.gz
>
> 2. = Extract the=20 archived files
>   This will create a folder called = "org-mode".=20 Let's say that the
>   location of this folder is=20 "~/path/to/org-mode" (for Windows see
>   footnote=20 [1])
>
> 3. Add the following lines to your .emacs file = (note that=20 we're pointing
>   to the "lisp" folder *within* the = main=20 "org-mode" folder):
>
>   (setq load-path (cons=20 "~/path/to/org-mode/lisp" load-path)
>   (require=20 'org-install)
>
> That's it. However, this will not install = the=20 latest info files, so
> these will be out of date (corresponding = to=20 whatever version of Org
> shipped with your emacs). See XXXX for=20 instructions on installing the
> info files.
>
> Now, = Emacs=20 should load whatever version of Org-mode you put at
>=20 "~/path/to/org-mode". So to update Org in the future, simply delete = that
>=20 folder and replace it with a new one (steps 1 and 2 = above).
>
>=20 Footnotes:
>
> [1] On Windows, this path might look = something=20 like
> "C:\\path\to\org-mode"
>
>=20 Dan
>
>
>
> "Gez" <register@geekanddiva.com> writes:
>
>> = I'm a=20 beginner on windows  and I'm prepared to learn slowly and steadily, =
>> but I'm having trouble getting started.  I have GNU = Emacs=20 23.2.1 and I'd
>> like to get the latest version of orgmode = (my=20 version has no
>> org-capture).  I see from
>> = http://orgmode.org/worg/org-hacks.php#compiling-org-without-mak= e=20 that
>> this problem has been addressed, but I'm still not = clear on=20 what to do...
>>
>> 1. How I find out which version of = orgmode=20 I have? I'm assuming from
>> http://orgmode.org/ that=20 it's 6.21b, but is there a way of confirming
>> = this?
>
>=20 M-x org-version
>
>>
>> 2. Do I need to compile = at=20 all?  At least in order to get started
>> learning and = using=20 it?
>
> No, it is not necessary to compile. Some experienced = Org=20 users do not
> compile at all, because they upgrade very often and = don't=20 want to risk
> accidentally forgetting to = recompile.
>
>>=20 3. Whether or not I compile, how do I "install" the downloaded org-mode=20
>> files?  Should I just copy them into = \emacs-23.2\lisp\org=20 (where my org
>> lisp files are now) and let them overwrite = where=20 necessary?
>>
>> 3. In the example path in the = function on=20
>> http://orgmode.org/worg/org-hacks.php#compiling-org-without-mak= e,=20 the
>> org-lisp-directory is under .emacs.d but my org files = are under=20
>> \emacs-23.2\lisp\org - does this = matter?
>>
>> 4.=20 Assuming the path is ok as it is, how do I enter the path into the =
>>=20 function - do I write the whole path - e.g.  = Q:\progs\emacs-23.2\lisp\org=20
>> ?
>>
>> 5. What option should I choose = for=20 org-compile-sources in the function?
>> (I don't know what it=20 means.)
>>
>> 6. Finally, how do I use this = function?  Do=20 I write it to my .emacs and
>> then call it?  What is the = command?
>>
------=_NextPart_000_00D4_01CB5DA7.8B0B8260-- --===============1216481855== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============1216481855==--