From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: org-babel-lob-ingest and debug-init Date: Thu, 18 Jun 2015 00:05:32 +0200 Message-ID: <87pp4u6leb.fsf@selenimh.access.network> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46351) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5LRF-0002dY-2B for emacs-orgmode@gnu.org; Wed, 17 Jun 2015 18:04:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z5LRE-0008IC-6z for emacs-orgmode@gnu.org; Wed, 17 Jun 2015 18:04:04 -0400 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:58574) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5LRE-0008I7-1D for emacs-orgmode@gnu.org; Wed, 17 Jun 2015 18:04:04 -0400 In-Reply-To: (Andreas Leha's message of "Wed, 17 Jun 2015 22:43:16 +0100") 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: Andreas Leha Cc: emacs-orgmode@gnu.org Hello, Andreas Leha writes: > 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? Dunno. A backtrace with an uncompiled Org would help. Regards, -- Nicolas Goaziou