From: Ihor Radchenko <yantar92@gmail.com>
To: William Denton <wtd@pobox.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: "Cache corruption detected" when editing CLOCK timestamp by hand
Date: Sat, 23 Oct 2021 11:52:20 +0800 [thread overview]
Message-ID: <87tuh88kjv.fsf@localhost> (raw)
In-Reply-To: <87wnm48ldv.fsf@localhost>
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
next prev parent reply other threads:[~2021-10-23 3:51 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-22 18:47 "Cache corruption detected" when editing CLOCK timestamp by hand William Denton
2021-10-22 18:56 ` William Denton
2021-10-23 3:34 ` Ihor Radchenko
2021-10-23 3:52 ` Ihor Radchenko [this message]
2021-11-23 12:34 ` [PATCH] " Ihor Radchenko
2022-04-30 3:37 ` Ihor Radchenko
2022-05-30 11:50 ` Ihor Radchenko
2022-10-05 4:55 ` Ihor Radchenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87tuh88kjv.fsf@localhost \
--to=yantar92@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=wtd@pobox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).