On 2023-02-17, at 19:14, Ihor Radchenko <yanta...@posteo.net> wrote:
> 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. Thanks! I added (setq org-element--cache-self-verify nil) to my init.el. -- Marcin Borkowski http://mbork.pl