Platon Pronko <platon7pro...@gmail.com> 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: > $ 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>
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. -- Ihor Radchenko // yantar92, Org mode contributor, 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>