[Top][All Lists]

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

Re: org-element-cache warning even when off

From: Colin Baxter 😺
Subject: Re: org-element-cache warning even when off
Date: Thu, 02 Dec 2021 11:13:05 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux)

>>>>> Ihor Radchenko <yantar92@gmail.com> writes:

    > Colin Baxter 😺 <m43cap@yandex.com> writes:
    >> I do not have an org-persist cache present. So I wonder where is
    >> the cache that I am supposedly corrupting.

    > That warning is shown when org-element--parse-to throws an error
    > (the parser fails). Apparently, there is some problem with Org
    > parser.

    >> Warning (org-element-cache): org-element--cache: Cache corruption
    >> detected in todo.habits.org::539. Resetting.

    > Can you try to copy the file text around 539 buffer point into
    > separate Org file and check if you are seeing this kind of error
    > there?

I have done this but now do not see any warning. Further, I now don't
seem to be able to re-produce the issue at all. It could that the
original warning was spurious and reflected some stale state. I did have
multiple emacsen open at the time.

I normally have org-persist on, but occasionally I need to do multiple
edits on an agenda file. On those occasions, I switch org-persist off
and move its cache out of the way in order to avoid cache corruption
warnings and to keep the syntax highlighting. I will look out for any
cache warnings if I edit any agenda files by hand again.

Best wishes,

Colin Baxter.

reply via email to

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