From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Riley Subject: org-babel and emacs init Date: Mon, 28 Jun 2010 19:22:56 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=46160 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OTI34-0003z3-JO for emacs-orgmode@gnu.org; Mon, 28 Jun 2010 13:23:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OTI33-0003fq-IQ for emacs-orgmode@gnu.org; Mon, 28 Jun 2010 13:23:10 -0400 Received: from lo.gmane.org ([80.91.229.12]:55293) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OTI33-0003fe-8o for emacs-orgmode@gnu.org; Mon, 28 Jun 2010 13:23:09 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OTI31-0005tr-2i for emacs-orgmode@gnu.org; Mon, 28 Jun 2010 19:23:07 +0200 Received: from 85.183.18.158 ([85.183.18.158]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 28 Jun 2010 19:23:07 +0200 Received: from rileyrg by 85.183.18.158 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 28 Jun 2010 19:23:07 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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. --8<---------------cut here---------------start------------->8--- (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) ) --8<---------------cut here---------------end--------------->8--- -- Google Talk : rileyrg@googlemail.com http://www.google.com/talk