Hi Rainer, Rainer M Krug <rai...@krugs.de> writes: > Kyle Meyer <k...@kyleam.com> writes: > >> Hi, >> >> Rainer M Krug <rai...@krugs.de> writes: >> >>> Hi >>> >>> when doing global cycling using org in emacs 25.0.50.1, I get an "Before >>> first heading" error (see backtrace below). >>> >>> It doesn't matter if the cursor is before or after the first header in >>> the document. >>> >>> Is this something in my settings or the combination emacs 25 HEAD and >>> org-mode git? >> >> I'm not able to reproduce this using emacs -Q with a recent version of >> Org (release_8.3.1-218-g70f590) and Emacs >> (emacs-24.5-rc3-fixed-5796-g8a6260e). C-u org-cycle goes through all >> the views fine. > > OK - it seems to be outshine: > > When evaluating the following: > > #+begin_src emacs-lisp > ;; must be set before outline is loaded > (defvar outline-minor-mode-prefix "\M-#") > > (require 'outshine) > (add-hook 'outline-minor-mode-hook 'outshine-hook-function) > (setq outshine-use-speed-commands t) > > (eval-after-load 'outline > '(progn > (require 'outline-magic) > (define-key outline-minor-mode-map (kbd "<C-tab>") 'outline-cycle))) > > #+end_src > > I get the error when opening an org file. > > ,---- > | GNU Emacs 25.0.50.1 (x86_64-apple-darwin14.5.0, NS appkit-1348.17 Version > 10.10.5 (Build 14F27)) of 2015-09-10 > | Org-mode version 8.3.1 (release_8.3.1-225-g66a211 @ > /Users/rainerkrug/.emacs.d/org-mode/lisp/) > `---- > >
This might be the issue discussed earlier [1]. If so, it is solved (see the linked thread). Regards, Andreas [1] http://article.gmane.org/gmane.emacs.orgmode/100215/match=outshine