emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] org-babel and emacs init


From: Eric Schulte
Subject: Re: [Orgmode] org-babel and emacs init
Date: Mon, 28 Jun 2010 10:59:46 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

Hi Richard,

Happy this is sorted out.  A similar startup example is available in the
init.el file in my copy of the Emacs Starter Kit [1], which also tangles
all configuration from org files.

Cheers -- Eric

Richard Riley <address@hidden> writes:

> Firstly  : Carsten and Eric I emailed you privately as I had no news
> access - pls ignore. Problem solved.
>
> With the latest git pull for org-mode I couldn't start my emacs because
> my init files are org files untangled using babel. Here is an updated
> init.el which which uses the new names and pulls in  ob-tangle.
>
>
> (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))))
>   (message "%s" org-dir)
>   ;; load up Org-mode and Org-babel
>   (require 'org-install)
>   (require 'ob)
>   (require 'ob-tangle)
> )

Footnotes: 
[1]  http://github.com/eschulte/emacs-starter-kit/blob/master/init.el




reply via email to

[Prev in Thread] Current Thread [Next in Thread]