emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Sebastian Rose <sebastian_rose@gmx.de>
To: Gez <register@geekanddiva.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: compiling org without make
Date: Sun, 26 Sep 2010 19:27:03 +0200	[thread overview]
Message-ID: <87sk0wiffc.fsf@gmx.de> (raw)
In-Reply-To: <24ACFCB8211E4E82A413C36087B326A8@alice> (Gez's message of "Sun, 26 Sep 2010 12:27:11 +0100")

Hi Gez,


"Gez" <register@geekanddiva.com> 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

      parent reply	other threads:[~2010-09-26 17:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-26 11:27 compiling org without make Gez
2010-09-26 17:20 ` Gez
2010-09-26 17:27 ` Sebastian Rose [this message]

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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  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=87sk0wiffc.fsf@gmx.de \
    --to=sebastian_rose@gmx.de \
    --cc=emacs-orgmode@gnu.org \
    --cc=register@geekanddiva.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* 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

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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