* hidden-subtree-error
@ 2012-09-11 9:37 Philipp Kroos
2012-09-18 13:29 ` hidden-subtree-error Bastien
0 siblings, 1 reply; 7+ messages in thread
From: Philipp Kroos @ 2012-09-11 9:37 UTC (permalink / raw
To: orgmode
Hi,
for the following file I get the errormessage
`File mode specification error: (error "Hidden subtree, open with TAB or
use subtree command M-S-<left>/<right>")`.
* Level 1
text
** Nested Level 2
othertext
Is this a user-error?
I'm on the HEAD of the git-repository.
With (toggle-debug-on-error) the backtrace is
Debugger entered--Lisp error: (error "Hidden subtree, open with TAB or use subtree command M-S-<left>/<right>")
signal(error ("Hidden subtree, open with TAB or use subtree command M-S-<left>/<right>"))
error("Hidden subtree, open with TAB or use subtree command M-S-<left>/<right>")
org-metaright()
run-hooks(change-major-mode-after-body-hook text-mode-hook outline-mode-hook org-mode-hook)
apply(run-hooks (change-major-mode-after-body-hook text-mode-hook outline-mode-hook org-mode-hook))
run-mode-hooks(org-mode-hook)
org-mode()
set-auto-mode-0(org-mode nil)
set-auto-mode()
normal-mode(t)
after-find-file(nil t)
find-file-noselect-1(#<buffer test.org> "/tmp/test.org" nil nil "/tmp/test.org" (300 2055))
find-file-noselect("/tmp/test.org" nil nil t)
find-file("/tmp/test.org" t)
call-interactively(find-file nil nil)
Best regards, Philipp
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: hidden-subtree-error
2012-09-11 9:37 hidden-subtree-error Philipp Kroos
@ 2012-09-18 13:29 ` Bastien
2012-09-30 13:10 ` hidden-subtree-error Philipp Kroos
0 siblings, 1 reply; 7+ messages in thread
From: Bastien @ 2012-09-18 13:29 UTC (permalink / raw
To: Philipp Kroos; +Cc: orgmode
Hi Philipp,
Philipp Kroos <Philipp.Kroos@t-online.de> writes:
> for the following file I get the errormessage
> `File mode specification error: (error "Hidden subtree, open with TAB or
> use subtree command M-S-<left>/<right>")`.
>
> * Level 1
> text
> ** Nested Level 2
> othertext
>
> Is this a user-error?
I don't know how to reproduce this error -- can you give a more detailed
recipe?
Thanks,
--
Bastien
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: hidden-subtree-error
2012-09-18 13:29 ` hidden-subtree-error Bastien
@ 2012-09-30 13:10 ` Philipp Kroos
2012-09-30 17:47 ` hidden-subtree-error Bastien
0 siblings, 1 reply; 7+ messages in thread
From: Philipp Kroos @ 2012-09-30 13:10 UTC (permalink / raw
To: emacs-orgmode; +Cc: bzg
Hi,
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 <down>") 'org-metaleft))
(add-hook 'org-mode-hook
(global-set-key (kbd "ESC <up>") 'org-metaright))
#+END_SRC
These bindings are ignored if i use `local-set-key` (why?), but the
file-mode-specification error still comes up.
Best regards, Philipp
On Tue, Sep 18, 2012 at 03:29:37PM +0200, Bastien wrote:
> Hi Philipp,
>
> Philipp Kroos <Philipp.Kroos@t-online.de> writes:
>
> > for the following file I get the errormessage
> > `File mode specification error: (error "Hidden subtree, open with TAB or
> > use subtree command M-S-<left>/<right>")`.
> >
> > * Level 1
> > text
> > ** Nested Level 2
> > othertext
> >
> > Is this a user-error?
>
> I don't know how to reproduce this error -- can you give a more detailed
> recipe?
>
> Thanks,
>
> --
> Bastien
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: hidden-subtree-error
2012-09-30 13:10 ` hidden-subtree-error Philipp Kroos
@ 2012-09-30 17:47 ` Bastien
2012-09-30 20:46 ` hidden-subtree-error Philipp Kroos
0 siblings, 1 reply; 7+ messages in thread
From: Bastien @ 2012-09-30 17:47 UTC (permalink / raw
To: Philipp Kroos; +Cc: emacs-orgmode
Hi Philipp,
Philipp Kroos <Philipp.Kroos@t-online.de> 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 <down>") 'org-metaleft))
> (add-hook 'org-mode-hook
> (global-set-key (kbd "ESC <up>") '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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: hidden-subtree-error
2012-09-30 17:47 ` hidden-subtree-error Bastien
@ 2012-09-30 20:46 ` Philipp Kroos
2012-09-30 21:23 ` hidden-subtree-error Bastien
0 siblings, 1 reply; 7+ messages in thread
From: Philipp Kroos @ 2012-09-30 20:46 UTC (permalink / raw
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-<left>/<right>")
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 <down>") 'org-metaleft))
(add-hook 'org-mode-hook
(local-set-key (kbd "ESC <up>") '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 <Philipp.Kroos@t-online.de> 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 <down>") 'org-metaleft))
> > (add-hook 'org-mode-hook
> > (global-set-key (kbd "ESC <up>") '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
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: hidden-subtree-error
2012-09-30 20:46 ` hidden-subtree-error Philipp Kroos
@ 2012-09-30 21:23 ` Bastien
2012-09-30 22:19 ` hidden-subtree-error Philipp Kroos
0 siblings, 1 reply; 7+ messages in thread
From: Bastien @ 2012-09-30 21:23 UTC (permalink / raw
To: Philipp Kroos; +Cc: orgmode
Hi Philipp,
Philipp Kroos <Philipp.Kroos@t-online.de> writes:
> The same happens if I don't add the git-version to load-path,
> i.e., with Org-mode version 7.8.11
I still cannot reproduce this. The error is only displayed when
I use M-<left>/<right> on a subtree that has folded children.
Maybe someone else can reproduce.
--
Bastien
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: hidden-subtree-error
2012-09-30 21:23 ` hidden-subtree-error Bastien
@ 2012-09-30 22:19 ` Philipp Kroos
0 siblings, 0 replies; 7+ messages in thread
From: Philipp Kroos @ 2012-09-30 22:19 UTC (permalink / raw
To: Bastien; +Cc: orgmode
Oh my.
It's fixed...
I should add a function to the hooks, right?
So this works
(add-hook 'org-mode-hook
(lambda () (local-set-key ...
as expected.
Thanks, sorry :)
On Sun, Sep 30, 2012 at 11:23:08PM +0200, Bastien wrote:
> Hi Philipp,
>
> Philipp Kroos <Philipp.Kroos@t-online.de> writes:
>
> > The same happens if I don't add the git-version to load-path,
> > i.e., with Org-mode version 7.8.11
>
> I still cannot reproduce this. The error is only displayed when
> I use M-<left>/<right> on a subtree that has folded children.
>
> Maybe someone else can reproduce.
>
> --
> Bastien
>
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2012-09-30 22:23 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-11 9:37 hidden-subtree-error Philipp Kroos
2012-09-18 13:29 ` hidden-subtree-error Bastien
2012-09-30 13:10 ` hidden-subtree-error Philipp Kroos
2012-09-30 17:47 ` hidden-subtree-error Bastien
2012-09-30 20:46 ` hidden-subtree-error Philipp Kroos
2012-09-30 21:23 ` hidden-subtree-error Bastien
2012-09-30 22:19 ` hidden-subtree-error Philipp Kroos
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.