From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Leha Subject: Re: [BUG] outshine and emacs 25.0.5.1 - Was: [error] orgmode git on emacs 25 - HEAD - org-global-cycle Date: Thu, 10 Sep 2015 11:28:24 +0100 Message-ID: References: <8737ynu18z.fsf@kyleam.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33201) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZz5y-0004Hv-3b for emacs-orgmode@gnu.org; Thu, 10 Sep 2015 06:28:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZZz5u-0001Ip-Rm for emacs-orgmode@gnu.org; Thu, 10 Sep 2015 06:28:46 -0400 Received: from plane.gmane.org ([80.91.229.3]:46540) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZz5u-0001Ig-Kb for emacs-orgmode@gnu.org; Thu, 10 Sep 2015 06:28:42 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZZz5h-0006E0-KQ for emacs-orgmode@gnu.org; Thu, 10 Sep 2015 12:28:29 +0200 Received: from 193.63.220.240 ([193.63.220.240]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 10 Sep 2015 12:28:29 +0200 Received: from andreas.leha by 193.63.220.240 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 10 Sep 2015 12:28:29 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi Rainer, Rainer M Krug writes: > Kyle Meyer writes: > >> Hi, >> >> Rainer M Krug 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 "") '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