Michael Dauer <mick.da...@gmail.com> writes: > What could be called. It's not org-fold-core-style.
I am not really sure. In order to avoid these situations Org advices `outline-flag-region'. But something may apply outline overlays bypassing that function, in theory. > Can I be just a data corruption of the text properties? I've no idea what > they are exactly, and what other parts use them. Maybe a conflicting key, > or failed optimization, or side effect on the regions they apply to. I just > want to give ideas from somebody who is free of knowledge. If your `org-fold-core-style' is set to 'text-properties (default), folding in Org should never ever use overlays that were observed in this thread. > My guess is that the issue is within org-mode. But tell us, what functions > we should look for in our code and the used packages. I am 99% sure it is not within Org. -- 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>