Jordan Ellis Coppard <j...@wz.ht> writes:

> I'm mostly submitting this because the *Warnings* log requests I do so.
> It happens sometimes, and the org-file in-question is quite large and
> (dare I say) complex.
> ...
> Package: Org mode version 9.8-pre (9.8-pre-n/a-g5b419c
>  @ /Users/tsujp/.config/emacs/elpaca/builds/org/)
> ...
>  org--warnings '("org-element--cache: Org parser error in
> noir_grammar.org::9101. Resetting.\n The error was:
> (wrong-type-argument integer-or-marker-p nil)\n Backtrace:\n\"
> backtrace-to-string(nil)\n  org-element-at-point()\n
> org-adaptive-fill-function()\n  fill-match-adaptive-prefix()\n
> visual-wrap--apply-to-line()\n  visual-wrap-prefix-function(9101
> 9102)\n  #f(compiled-function (fun) #<bytecode
> 0x1ba291230a28e93f>)(visual-wrap-prefix-function)\n
> jit-lock--run-functions(9101 9102)\n  jit-lock-fontify-now(9101
> 9258)\n  jit-lock-function(9101)\n  scroll-down(2)\n
> mwheel-scroll((triple-wheel-up (#<window 13 on noir_grammar.org> 15534
> (553 . 498) 27716355 nil 15534 (69 . 24) nil (1 . 18) (8 . 20)) 67 2
> (0.0 . 23.0)) nil)\n  funcall-interactively(mwheel-scroll
> (triple-wheel-up (#<window 13 on noir_grammar.org> 15534 (553 . 498)
> 27716355 nil 15534 (69 . 24) nil (1 . 18) (8 . 20)) 67 2 (0.0 . 23.0))
> nil)\n  command-execute(mwheel-scroll)\n\"\n Please report this to Org
> mode mailing list (M-x org-submit-bug-report)."

Thanks for reporting!
It looks like the problem happens repeatedly (when it happens)

Next time you see the warning, can you run

(setq backtrace-on-redisplay-error t)
(setq debug-on-error t)

trigger the warning again (mouse wheel movement?)
and post the contents of *Redisplay-trace* buffer?

(I cannot see any problems with your file)

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