|
From: | Platon Pronko |
Subject: | 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/)] |
Date: | Thu, 20 Jun 2024 11:52:13 +0400 |
User-agent: | Mozilla Thunderbird |
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: <2024-07-10 .+1d> 2. Launch Emacs with org-startup-indented=t: $ emacs -Q --eval "(progn (require 'org) (setq org-startup-indented t))" reproducer.org 3. Delete one character from the date to make it invalid. For example delete the "4" so that the file becomes: * TODO item DEADLINE: <202-07-10 .+1d> 4. Observe the error: ⛔ Warning (org-element): org-element--cache: Org parser error in reproducer.org::13. Resetting. The error was: (error "Not an Org time string: <202-07-10 .+1d") Backtrace: nil Please report this to Org mode mailing list (M-x org-submit-bug-report). -- Best regards, Platon Pronko PGP 2A62D77A7A2CB94E
[Prev in Thread] | Current Thread | [Next in Thread] |