[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "Cache corruption detected" when editing CLOCK timestamp by hand
From: |
Ihor Radchenko |
Subject: |
Re: "Cache corruption detected" when editing CLOCK timestamp by hand |
Date: |
Sat, 23 Oct 2021 11:52:20 +0800 |
Ihor Radchenko <yantar92@gmail.com> writes:
> William Denton <wtd@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