I saw this error when opening emacs.org via (counsel-find-file &optional INITIAL-INPUT INITIAL-DIRECTORY) Slightly different error now (same style, different element), but I didn't get a backtrace. https://gist.github.com/justinabrahms/4bc97379cb8d8e317ca98a1f09524a5c On Mon, Jun 13, 2022, at 10:03 PM, Ihor Radchenko wrote: > "Justin Abrahms" writes: > > > I've recently upgraded to emacs 29 w/ native-comp support. I'm > > consistently getting this error when I load emacs.org and it stops > > parsing my document, which is a bit painful. Hopefully this bug report > > helps. > > > > My full emacs.org: https://gist.github.com/justinabrahms/7fc5bfcc292ca6fba7d10ec2958bae57 > > > > Error I see in *Warnings*: > > > > Warning (org-element-cache): org-element--cache: (ivy-alt-done) Cached element is incorrect in emacs.org. (Cache tic up to date: "yes") Resetting. > > Thanks for reporting! > > Do I understand correctly that you observe the error when you are trying > to jump to a candidate from swiper buffer? > > Could you please set org-element--cache-self-verify to 'backtrace, > org-element--cache-self-verify-frequency to 1.0, try to trigger the > error; and then post the full backtrace? > > Best, > Ihor >