[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] org-babel-lob-ingest and debug-init
From: |
Andreas Leha |
Subject: |
Re: [O] org-babel-lob-ingest and debug-init |
Date: |
Thu, 18 Jun 2015 10:00:19 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (darwin) |
Hi,
Nicolas Goaziou <address@hidden> writes:
> Hello,
>
> Andreas Leha <address@hidden> writes:
>
>> Andreas Leha <address@hidden> 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