From mboxrd@z Thu Jan 1 00:00:00 1970 From: Philipp Kroos Subject: Re: hidden-subtree-error Date: Sun, 30 Sep 2012 22:46:11 +0200 Message-ID: <20120930204611.GA2131@Vostro> References: <20120911093720.GA2435@Vostro.dhcp.fh-bielefeld.de> <87y5k71mta.fsf@bzg.ath.cx> <20120930131023.GA3639@Vostro> <87k3vb8kt9.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([208.118.235.92]:37079) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TIQTg-0003YA-Od for emacs-orgmode@gnu.org; Sun, 30 Sep 2012 16:51:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TIQTf-0006cu-CA for emacs-orgmode@gnu.org; Sun, 30 Sep 2012 16:51:04 -0400 Received: from mailout04.t-online.de ([194.25.134.18]:51316) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TIQTf-0006cq-2N for emacs-orgmode@gnu.org; Sun, 30 Sep 2012 16:51:03 -0400 Content-Disposition: inline In-Reply-To: <87k3vb8kt9.fsf@bzg.ath.cx> 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: Bastien Cc: orgmode Hi, I just pulled from master. $> emacs -Q -l minimal-init.el M-x version M-x org-version C-x C-f minimal-org.org C-x b *Messages* RET Org-mode version 7.9.2 (release_7.9.2-347-gd79227 @ /home/philipp/Lisp/elisp/org-mode/lisp/) GNU Emacs 24.2.1 (i686-pc-linux-gnu, GTK+ Version 3.4.4) of 2012-08-29 on shirley.hoetzel.info File mode specification error: (error "Hidden subtree, open with TAB or use subtree command M-S-/") with minimal-init.el: (setq org-mode-home "~/Lisp/elisp/org-mode") (add-to-list 'load-path (concat org-mode-home "/lisp")) (add-to-list 'load-path (concat org-mode-home "/contrib/lisp")) (add-hook 'org-mode-hook (local-set-key (kbd "ESC ") 'org-metaleft)) (add-hook 'org-mode-hook (local-set-key (kbd "ESC ") 'org-metaright)) and minimal-org.org: * Head 1 ** Head 2 The same happens if I don't add the git-version to load-path, i.e., with Org-mode version 7.8.11 Thank you, Philipp On Sun, Sep 30, 2012 at 07:47:14PM +0200, Bastien wrote: > Hi Philipp, > > Philipp Kroos writes: > > > sorry, I missed your answer till tidying up my mailbox was due today ;) > > This error doesn't prevent anything from working, so I haven't looked > > into it much deeper yet. > > Anyway, last time I even forgot the obvious step to investigate my > > .emacs first. > > Now I could narrow down the reason for the message to these lines: > > > > #+BEGIN_SRC emacs-lisp > > (add-hook 'org-mode-hook > > (global-set-key (kbd "ESC ") 'org-metaleft)) > > (add-hook 'org-mode-hook > > (global-set-key (kbd "ESC ") 'org-metaright)) > > #+END_SRC > > > > These bindings are ignored if i use `local-set-key` (why?), but the > > file-mode-specification error still comes up. > > I still cannot reproduce this error. What version of Org are you using? > > -- > Bastien >