Paul Stansell <paulstans...@gmail.com> writes:

> Occasionally, when I start emacs from the command line, I get this bug, but
> it's intermittent,
> so I have ignored it until now.
>
> All I can report is that I opened an org file named scratch.org and
> received the following error message:
>
>   Warning (org-element): org-element--cache: Org parser error in
> scratch.org::8756. Resetting.
>    The error was: (error "Invalid search bound (wrong side of point)")
>    Backtrace:
>   nil
>    Please report this to Org mode mailing list (M-x org-submit-bug-report).

Thanks for reporting!
May you add
(setq org-element--cache-self-verify 'backtrace)
to your config?

This will enable extra logging that will provide more context about the error.

-- 
Ihor Radchenko // yantar92,
Org mode maintainer,
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>

Reply via email to