From: "Eric Schulte" <schulte.eric@gmail.com>
To: Richard Riley <rileyrg@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Re: Org-babel init
Date: Mon, 12 Jul 2010 10:17:19 -0700 [thread overview]
Message-ID: <87eif8liw0.fsf@gmail.com> (raw)
In-Reply-To: <i1ffsh$8lo$1@dough.gmane.org> (Richard Riley's message of "Mon, 12 Jul 2010 18:29:04 +0200")
Hi Richard,
You could probably safely simplify your config to something more like
the following.
http://github.com/eschulte/emacs-starter-kit/blob/master/init.el
Cheers -- Eric
Richard Riley <rileyrg@gmail.com> writes:
> Jordi Inglada <jordi.inglada@cesbio.cnes.fr> writes:
>
>> Hi all,
>>
>> I am having the same problem as this user here:
>>
>> http://www.mail-archive.com/emacs-orgmode@gnu.org/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.
>> Emacs-orgmode@gnu.org
>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>>
>
>
> I havent looked in detail but I recently had issues with it. Here is my
> init.el. No idea if its even relevant to be honest, but babel works for
> elisp files ;)
>
>
> ;;; init.el --- Where all the magic begins
> ;;
> ;; This file loads both
> ;; - Org-mode : http://orgmode.org/ and
> ;; - Org-babel: http://orgmode.org/worg/org-contrib/babel/org-babel.php#library-of-babel
> ;;
> ;; It then loads the rest of our Emacs initialization from Emacs lisp
> ;; embedded in literate Org-mode files.
>
> ;; Load up Org Mode and Org Babel for elisp embedded in Org Mode files
> (setq dotfiles-dir (file-name-directory (or (buffer-file-name) load-file-name)))
>
> (let* ((org-dir (expand-file-name
> "lisp" (expand-file-name
> "org-mode" dotfiles-dir)))
> (org-contrib-dir (expand-file-name
> "lisp" (expand-file-name
> "contrib" (expand-file-name
> ".." org-dir))))
> (load-path (append (list org-dir org-contrib-dir (concat org-dir "/babel"))
> (or load-path nil))))
> ;; load up Org-mode and Org-babel
> (require 'org-install)
> (require 'ob-tangle)
> )
>
> ;; load up all literate org-mode files in this directory
> ;;(mapc #'org-babel-load-file (directory-files dotfiles-dir t "\\.org$"))
> (org-babel-load-file "~/.emacs.d/emacs-init.org")
> ;;; init.el ends here
>
>
> Hopefully it helps.
>
> r.
>
>
> _______________________________________________
> 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
next prev parent reply other threads:[~2010-07-12 17:22 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-12 16:23 Org-babel init Jordi Inglada
2010-07-12 16:29 ` Richard Riley
2010-07-12 17:17 ` Eric Schulte [this message]
2010-07-12 17:07 ` Erik Iverson
2010-07-12 17:15 ` Eric Schulte
[not found] ` <2244855.24695.1278961524540.JavaMail.root@zm-cesbio-01>
2010-07-12 20:53 ` Jordi Inglada
2010-07-12 20:58 ` Jordi Inglada
2010-07-12 21:17 ` Eric Schulte
[not found] ` <8956733.24699.1278969401734.JavaMail.root@zm-cesbio-01>
2010-07-13 7:01 ` Jordi Inglada
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87eif8liw0.fsf@gmail.com \
--to=schulte.eric@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=rileyrg@gmail.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.