emacs-orgmode
[Top][All Lists]
Advanced

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

Re: error tangling: how to debug please?


From: Ihor Radchenko
Subject: Re: error tangling: how to debug please?
Date: Fri, 15 Sep 2023 09:16:41 +0000

"Fraga, Eric" <e.fraga@ucl.ac.uk> writes:

> this did the trick.  However, interestingly, the error was a src block
> that ended with
>
> +end_src
>
> (somehow the "#" got deleted).  What's interesting is that org continued
> to see this as a src block.  I was having some unreproducible problems
> with the element cache which may have had something to do with this.

I recommend setting org-element--cache-self-verify to 'backtrace and
org-element--cache-self-verify-frequency to 1.0. Then, Org will
self-check the cache consistency and generate a backtrace when a problem
is detected.

> PS - is there a way to clear the cache completely prior to starting
> Emacs?

You can disable storing cache between Emacs sessions using
`org-element-cache-persistent'. Or you can simply delete
`org-persist-directory' before starting.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>



reply via email to

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