emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] user-error: Not at a block -- how to debug?


From: Thorsten Jolitz
Subject: Re: [O] user-error: Not at a block -- how to debug?
Date: Mon, 15 Sep 2014 12:32:57 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Eric S Fraga <address@hidden> writes:

Hello,

> all of a sudden, for one of my (rather large) org files, I get an error:
>
>  user-error: Not at a block
>
> I note that this error message appears in three places in
> org.el.  However, I cannot figure out why this is being incurred and
> debug-on-error does not get invoked when this error occurs.
>
> Can anybody please suggest how to debug this?  I have tried going
> through the file but nothing is obviously wrong with the
> structure.  Annoyingly, this error stops org-mode-hook from executing so
> my environment is not what I expect.

Just guessing: you do some visibility cycling when opening up the
org-buffer (open in overview or so)?

Maybe edebug `org-hide-block-toggle`? Seems the most likely candidate
for me ...

-- 
cheers,
Thorsten




reply via email to

[Prev in Thread] Current Thread [Next in Thread]