From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric Schulte" Subject: Re: org-babel and emacs init Date: Mon, 28 Jun 2010 10:59:46 -0700 Message-ID: <87y6dz6nsd.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=47577 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OTIcZ-0007Gg-W5 for emacs-orgmode@gnu.org; Mon, 28 Jun 2010 13:59:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OTIcY-0008VK-SN for emacs-orgmode@gnu.org; Mon, 28 Jun 2010 13:59:51 -0400 Received: from mail-pv0-f169.google.com ([74.125.83.169]:57497) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OTIcY-0008VA-MU for emacs-orgmode@gnu.org; Mon, 28 Jun 2010 13:59:50 -0400 Received: by pvg11 with SMTP id 11so3784925pvg.0 for ; Mon, 28 Jun 2010 10:59:49 -0700 (PDT) In-Reply-To: (Richard Riley's message of "Mon, 28 Jun 2010 19:22:56 +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: Richard Riley Cc: emacs-orgmode@gnu.org 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 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