Andreas Leha <andreas.l...@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)