* org-babel-lob-ingest and debug-init
@ 2015-06-17 21:25 Andreas Leha
2015-06-17 21:43 ` Andreas Leha
0 siblings, 1 reply; 4+ messages in thread
From: Andreas Leha @ 2015-06-17 21:25 UTC (permalink / raw)
To: emacs-orgmode
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: org-babel-lob-ingest and debug-init
2015-06-17 21:25 org-babel-lob-ingest and debug-init Andreas Leha
@ 2015-06-17 21:43 ` Andreas Leha
2015-06-17 22:05 ` Nicolas Goaziou
0 siblings, 1 reply; 4+ messages in thread
From: Andreas Leha @ 2015-06-17 21:43 UTC (permalink / raw)
To: emacs-orgmode
Andreas Leha <andreas.leha@med.uni-goettingen.de> 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)
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: org-babel-lob-ingest and debug-init
2015-06-17 21:43 ` Andreas Leha
@ 2015-06-17 22:05 ` Nicolas Goaziou
2015-06-18 9:00 ` Andreas Leha
0 siblings, 1 reply; 4+ messages in thread
From: Nicolas Goaziou @ 2015-06-17 22:05 UTC (permalink / raw)
To: Andreas Leha; +Cc: emacs-orgmode
Hello,
Andreas Leha <andreas.leha@med.uni-goettingen.de> writes:
> Andreas Leha <andreas.leha@med.uni-goettingen.de> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: org-babel-lob-ingest and debug-init
2015-06-17 22:05 ` Nicolas Goaziou
@ 2015-06-18 9:00 ` Andreas Leha
0 siblings, 0 replies; 4+ messages in thread
From: Andreas Leha @ 2015-06-18 9:00 UTC (permalink / raw)
To: emacs-orgmode
Hi,
Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:
> Hello,
>
> Andreas Leha <andreas.leha@med.uni-goettingen.de> writes:
>
>> Andreas Leha <andreas.leha@med.uni-goettingen.de> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-06-18 9:01 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-17 21:25 org-babel-lob-ingest and debug-init Andreas Leha
2015-06-17 21:43 ` Andreas Leha
2015-06-17 22:05 ` Nicolas Goaziou
2015-06-18 9:00 ` Andreas Leha
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.