From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Leha Subject: org-babel-lob-ingest and debug-init Date: Wed, 17 Jun 2015 22:25:44 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36887) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5KqU-0006zb-Vw for emacs-orgmode@gnu.org; Wed, 17 Jun 2015 17:26:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z5KqP-0005nS-WE for emacs-orgmode@gnu.org; Wed, 17 Jun 2015 17:26:06 -0400 Received: from plane.gmane.org ([80.91.229.3]:55463) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5KqP-0005nM-OT for emacs-orgmode@gnu.org; Wed, 17 Jun 2015 17:26:01 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Z5KqE-0006JJ-7q for emacs-orgmode@gnu.org; Wed, 17 Jun 2015 23:25:50 +0200 Received: from cpc33-cmbg15-2-0-cust4.5-4.cable.virginm.net ([81.102.136.5]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 17 Jun 2015 23:25:50 +0200 Received: from andreas.leha by cpc33-cmbg15-2-0-cust4.5-4.cable.virginm.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 17 Jun 2015 23:25:50 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi all, I have two lines like this in my .emacs: --8<---------------cut here---------------start------------->8--- (org-babel-lob-ingest "~/path/to/library-of-babel.org") (org-babel-lob-ingest "~/path/to/custom-library-of-babel.org") --8<---------------cut here---------------end--------------->8--- All works fine usually. But when I start emacs using the --debug-init option, these lines result in ,---- | Debugger entered--Lisp error: (error "Before first heading") `---- Not sure whether this is relevant, but these are basically my first lines in .emacs: --8<---------------cut here---------------start------------->8--- (add-to-list 'load-path "~/path/to/org-mode-from-git/") (require 'org-loaddefs) --8<---------------cut here---------------end--------------->8--- Why do I get this error? Many thanks in advance, Andreas