Ihor Radchenko <yanta...@gmail.com> writes: > William Denton <w...@pobox.com> writes: > >> Sometimes I edit timestamps by hand when I'm clocking things. I had a task >> where I'd clocked in and wanted to close by hand (by adding --[2021 and so >> on to >> the CLOCK line) but when I started typing this popped up in a window: >> >> Warning (emacs): org-element--cache: Cache corruption detected in >> work-diary.org. Resetting. >> The error was: (error #("Not an Org time string: []" 24 25 (wrap-prefix >> #("
Confirmed. This looks like a bug in org-element-timestamp-parser Minimal reproducer: 1. Create an empty org file and open it 2. Yank the following string: "CLOCK: [2021-10-22 Fri 10:41]--[2021]" 3. M-: (org-element-at-point) <RET> Best, Ihor