Mariusz Klochowicz <mariusz.klochow...@gmail.com> writes: > org-ai buffer encountered a bug during execution, whilst populating the > answer from `org-ai-explain-code`. > > > Here's the log: > > ⛔ Warning (org-element-cache): org-element--cache: Org parser error in > *org-ai-on-region*::2885. Resetting. > The error was: (error "Invalid search bound (wrong side of point)") > Backtrace: > " backtrace-to-string(nil) > org-element-at-point() > org-element-context() > org-appear--current-elem() > org-appear--post-cmd() > "
Thanks for reporting! Are you seeing this warning frequently? If yes, may you set org-element--cache-self-verify to 'backtrace and then post the long diagnostics data that will additionally appear in the warnings buffer? (beware that the diagnostics may contain some buffer text; you may want to strip sensitive data from there or send it privately). -- 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>