Jason Terk <[email protected]> writes:

> Here's the requested backtrace:
>
> ⛔ Warning (eglot): Server tried to register unsupported capability
> ‘workspace/didChangeConfiguration’
> ⛔ Warning (org-element): org-element--cache:
> Warning(20260107154451-daily_notes_2026.org): Org parser error in
> 20260107154451-daily_notes_2026.org::337. Resetting.
>  The error was: (wrong-type-argument integer-or-marker-p nil)

Thanks!
This is still not very insightful unfortunately, but it is clear from
the backtrace that you have many lists in your file.
Those lists are clearly increasing the probability to experience the
bug.

Can you:
1. Update Org to the latest version from main.
   I just added special code that will (hopefully) detect the problems
   like yours and try to report more details.
   https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=4a38e4d4c
2. Keep (setq org-element--cache-self-verify 'backtrace)
   and also add (setq org-element-cache-persistent nil)
   I want you to disable intersession cache because all I see in the
   backtrace now is that some corrupted cache items are read from
   previous Emacs session without clues how the parser got into the
   corruption.

-- 
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