Hello, Andreas Leha <andreas.l...@med.uni-goettingen.de> writes:
> 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? Dunno. A backtrace with an uncompiled Org would help. Regards, -- Nicolas Goaziou