Marcin Borkowski <mb...@mbork.pl> writes: >> Another thing you can try is setting org-element--cache-self-verify to >> nil. > > That did help indeed. Should I make it nil in my init.el?
You can, as long as you do not see warnings from Org about org-element-cache. This variable is enabling extra consistency checks in org-element-cache. The plan is setting this to nil in one of the next releases. Alternatively, you can reduce the value of org-element--cache-self-verify-frequency. By default, 5% of all the cache queries are double-checked, which is expensive in your use case. -- 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>