[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] compiling org without make
From: |
Sebastian Rose |
Subject: |
Re: [Orgmode] compiling org without make |
Date: |
Sun, 26 Sep 2010 19:27:03 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Hi Gez,
"Gez" <address@hidden> writes:
> 1. How I find out which version of orgmode I have? I'm assuming from
> 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
> learning and using it?
No. I never compile the sources.
> 3. Whether or not I compile, how do I "install" the downloaded
> org-mode files? Should I just copy them into \emacs-23.2\lisp\org
> (where my org lisp files are now) and let them overwrite where
> necessary?
Add this to your .emacs file (adjust the path):
(add-to-list 'load-path "C:org-mode/lisp/")
This way, the sources of the downloaded Org-mode will be found before
the ones that come with emacs.
> 3. In the example path in the function on
> 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
> \emacs-23.2\lisp\org - does this matter?
Yes. You'd need to adjust this line:
;; Customize:
(setq my/org-lisp-directory "~/.emacs.d/org/lisp")
> 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 ?
No need for parameters, ones the path is adjusted (item 3.).
> 5. What option should I choose for org-compile-sources in the
> function? (I don't know what it means.)
Just change this line
(setq my/org-compile-sources t)
to this:
(setq my/org-compile-sources nil)
if you do not want to compile the sources.
> 6. Finally, how do I use this function? Do I write it to my .emacs
> and then call it? What is the command?
M-x my/compile-org RET
That's it.
HTH
Sebastian