Re: [BUG] setting org-element-use-cache to nil doesn't seem to disable element cache [9.7.3 (release_9.7.3 @ /usr/share/emacs/30.0.50/lisp/org/)]

2024-06-21 Thread Ihor Radchenko
Platon Pronko writes: > However, regarding the original problem about cache seemingly being > active - I do often notice that there are other issues with text > highlighting (dates/todo markers/etc) and indentation breaking > seemingly without reason. I will keep looking for these issues, but > m

Re: [BUG] setting org-element-use-cache to nil doesn't seem to disable element cache [9.7.3 (release_9.7.3 @ /usr/share/emacs/30.0.50/lisp/org/)]

2024-06-21 Thread Platon Pronko
Thanks! This appears to be an old bug in the parser. Fixed, on main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=9f4f7338d Not for bugfix release as I do not want to break the parser accidentally without testing, and the problem appears to rare enough to not call it critical.

Re: [BUG] setting org-element-use-cache to nil doesn't seem to disable element cache [9.7.3 (release_9.7.3 @ /usr/share/emacs/30.0.50/lisp/org/)]

2024-06-20 Thread Ihor Radchenko
Platon Pronko writes: >> Any chance you can create a reproducer? > ... > Yes. Looks like this particular error is related to org-startup-indented: > > 1. Create file reproducer.org with contents: > * TODO item > DEADLINE: <2024-07-10 .+1d> > > 2. Launch Emacs with org-startup-indented=t: > $ emac

Re: [BUG] setting org-element-use-cache to nil doesn't seem to disable element cache [9.7.3 (release_9.7.3 @ /usr/share/emacs/30.0.50/lisp/org/)]

2024-06-20 Thread Platon Pronko
This particular warning may also happen when cache is disabled. You encountered some error with Org parser. Any chance you can create a reproducer? Yes. Looks like this particular error is related to org-startup-indented: 1. Create file reproducer.org with contents: * TODO item DEADLINE: <202

Re: [BUG] setting org-element-use-cache to nil doesn't seem to disable element cache [9.7.3 (release_9.7.3 @ /usr/share/emacs/30.0.50/lisp/org/)]

2024-06-19 Thread Ihor Radchenko
Platon Pronko writes: > I've attempted to disable the element cache using `(setq > org-element-use-cache nil)`. > > However, it seems that cache is still in use, because I'm regularly getting > org-element--cache errors like: > > ⛔ Warning (org-element): org-element--cache: Org parser error in

[BUG] setting org-element-use-cache to nil doesn't seem to disable element cache [9.7.3 (release_9.7.3 @ /usr/share/emacs/30.0.50/lisp/org/)]

2024-06-19 Thread Platon Pronko
I've attempted to disable the element cache using `(setq org-element-use-cache nil)`. However, it seems that cache is still in use, because I'm regularly getting org-element--cache errors like: ⛔ Warning (org-element): org-element--cache: Org parser error in todo-routine.org::55572. Resetting