From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Leha Subject: outorg issue Date: Wed, 12 Aug 2015 22:51:50 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33519) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZPdwP-00042s-F0 for emacs-orgmode@gnu.org; Wed, 12 Aug 2015 17:52:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZPdwL-0001S1-LT for emacs-orgmode@gnu.org; Wed, 12 Aug 2015 17:52:09 -0400 Received: from plane.gmane.org ([80.91.229.3]:50043) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZPdwL-0001Rd-E6 for emacs-orgmode@gnu.org; Wed, 12 Aug 2015 17:52:05 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZPdwJ-0008Mn-7i for emacs-orgmode@gnu.org; Wed, 12 Aug 2015 23:52:03 +0200 Received: from cpc33-cmbg15-2-0-cust4.5-4.cable.virginm.net ([81.102.136.5]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 12 Aug 2015 23:52:03 +0200 Received: from andreas.leha by cpc33-cmbg15-2-0-cust4.5-4.cable.virginm.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 12 Aug 2015 23:52:03 +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 all, For quite some time now, I have to disable outshine/outorg [1] as it does give me "Before first heading" (complete backtrace [2]) whenever I open an org file followed by more issues actually using org mode. I can even reproduce this with emacs -Q and a minimal configuration [3]. My system is: : GNU Emacs 25.0.50.1 (x86_64-apple-darwin13.4.0, NS appkit-1265.21 Version 10.9.5 (Build 13F1077)) : of 2015-06-17 : Org-mode version 8.3beta (release_8.3beta-1264-g365c19) Can anyone reproduce this and/or has a fix? Or am I missing anything obvious? Thanks in advance! Regards, Andreas [1] https://github.com/tj64/outshine https://github.com/tj64/outorg [2] complete backtrace when opening a random org file --8<---------------cut here---------------start------------->8--- Debugger entered--Lisp error: (error "Before first heading") signal(error ("Before first heading")) error("Before first heading") outline-back-to-heading() outline-flag-subtree(t) hide-subtree() (save-excursion (goto-char (point-min)) (hide-subtree) (show-children keep-levels) (condition-case err (while (outline-get-next-sibling) (hide-subtree) (show-children keep-levels)) (error nil))) hide-sublevels(1) org-overview() org-set-startup-visibility() org-mode() set-auto-mode-0(org-mode nil) set-auto-mode() normal-mode(t) after-find-file(nil t) find-file-noselect-1(# "~/hipsci/cellomics/cellomics.org" nil nil "~/hipsci/cellomics/cellomics.org" (25636441 16777218)) find-file-noselect("~/hipsci/cellomics/cellomics.org" nil nil t) find-file("~/hipsci/cellomics/cellomics.org" t) funcall-interactively(find-file "~/hipsci/cellomics/cellomics.org" t) call-interactively(find-file nil nil) command-execute(find-file) --8<---------------cut here---------------end--------------->8--- [3] minimal startup file --8<---------------cut here---------------start------------->8--- ;; outorg/outshine pre-requisite (defvar outline-minor-mode-prefix "\M-#") (add-to-list 'load-path (expand-file-name "~/local/emacs/org-mode-install/lisp")) (add-to-list 'auto-mode-alist '("\\.\\(org\\ |org_archive\\|txt\\)$" . org-mode)) ;; outorg/outshine (add-to-list 'load-path "~/local/emacs/org-mode-in-comments/outorg/") (add-to-list 'load-path "~/local/emacs/org-mode-in-comments/outshine") (require 'outshine) (add-hook 'outline-minor-mode-hook 'outshine-hook-function) (setq outshine-use-speed-commands t) --8<---------------cut here---------------end--------------->8---