>>>>> Ihor Radchenko <yanta...@gmail.com> writes: > Colin Baxter 😺 <m43...@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.