From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Leha Subject: Re: org-babel-lob-ingest and debug-init Date: Wed, 17 Jun 2015 22:43:16 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41786) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5L8F-0002aO-QX for emacs-orgmode@gnu.org; Wed, 17 Jun 2015 17:44:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z5L8A-0005wP-9U for emacs-orgmode@gnu.org; Wed, 17 Jun 2015 17:44:27 -0400 Received: from plane.gmane.org ([80.91.229.3]:56860) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5L8A-0005vJ-31 for emacs-orgmode@gnu.org; Wed, 17 Jun 2015 17:44:22 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Z5L83-0006Wd-2B for emacs-orgmode@gnu.org; Wed, 17 Jun 2015 23:44:15 +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:44:15 +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:44:15 +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 Andreas Leha writes: > Hi all, > > I have two lines like this in my .emacs: > > (org-babel-lob-ingest "~/path/to/library-of-babel.org") > (org-babel-lob-ingest "~/path/to/custom-library-of-babel.org") > > > 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: > > (add-to-list 'load-path "~/path/to/org-mode-from-git/") > (require 'org-loaddefs) > > Why do I get this error? > > Many thanks in advance, > Andreas Sorry, this was the wrong diagnosis. I get 'Before first heading' now quite often with Org mode files (visiting the file, global visibility cycling, etc.) I got myself into this by upgrading emacs [1]. I also upgraded Org mode [2] to no avail. What am I missing? Thanks, Andreas [1] GNU Emacs 25.0.50.1 (x86_64-apple-darwin13.4.0, NS appkit-1265.21 Version 10.9.5 (Build 13F1077)) [2] Org-mode version 8.3beta (release_8.3beta-1264-g365c19)