From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Leha Subject: Re: org-babel-lob-ingest and debug-init Date: Thu, 18 Jun 2015 10:00:19 +0100 Message-ID: References: <87pp4u6leb.fsf@selenimh.access.network> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34480) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5VhI-0002oy-HE for emacs-orgmode@gnu.org; Thu, 18 Jun 2015 05:01:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z5VhF-0003Zq-6p for emacs-orgmode@gnu.org; Thu, 18 Jun 2015 05:01:20 -0400 Received: from plane.gmane.org ([80.91.229.3]:36029) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5VhE-0003ZY-Pp for emacs-orgmode@gnu.org; Thu, 18 Jun 2015 05:01:16 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Z5Vgf-00073D-Ek for emacs-orgmode@gnu.org; Thu, 18 Jun 2015 11:00:41 +0200 Received: from 193.63.223.118 ([193.63.223.118]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 18 Jun 2015 11:00:41 +0200 Received: from andreas.leha by 193.63.223.118 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 18 Jun 2015 11:00:41 +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, Nicolas Goaziou writes: > 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. > Sorry, I did not even test with emacs -q before reporting here. I 'found' the problem. The problem is outshine/outorg. Disabling those does solve the problem. So, it is not really Org mode related. Regards, Andreas