[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] Org-babel init
From: |
Eric Schulte |
Subject: |
Re: [Orgmode] Org-babel init |
Date: |
Mon, 12 Jul 2010 10:15:53 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
Hi Jordi,
With the latest Org-mode from Git, Org-babel is now part of Org-mode, so
you no longer need to add the contrib directory to your load path, or
require org-babel-init. The following should work for you.
(setq load-path (cons "/home/inglada/local/src/org-mode/lisp" load-path))
(require 'org-install)
(require 'ob-python)
note that for a language-specific require, you now prefix the language
name with ob- rather than org-babel-
For more complete information on the new setup, see
http://eschulte.github.com/babel-dev/DONE-document-configuration-changes-for-Babel-integration.html
Cheers -- Eric
Jordi Inglada <address@hidden> writes:
> Hi all,
>
> I am having the same problem as this user here:
>
> http://www.mail-archive.com/address@hidden/msg17498.html
>
> and the contrib/lisp directory is indeed in my load path.
>
> I am using a git changeset cloned today (Org-mode version 6.34trans
> (release_6.36.608.gc1ef)).
>
> I have tried using "emacs -q" and then loading an .el file containing
> only the following lines:
>
> (setq load-path (cons "/home/inglada/local/src/org-mode/lisp" load-path))
> (setq load-path (cons "/home/inglada/local/src/org-mode/contrib/lisp"
> load-path))
>
> (require 'org-install)
> (require 'org-babel-init)
> (require 'org-babel-python)
>
> and I get the same result.
>
> Thank you very much for your help.
>
> Jordi
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> address@hidden
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode