emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* "Cache corruption detected" when editing CLOCK timestamp by hand
@ 2021-10-22 18:47 William Denton
  2021-10-22 18:56 ` William Denton
  2021-10-23  3:34 ` Ihor Radchenko
  0 siblings, 2 replies; 8+ messages in thread
From: William Denton @ 2021-10-22 18:47 UTC (permalink / raw)
  To: emacs-orgmode

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 #(" 
" 0 8 (face org-indent)) line-prefix #("        " 0 8 (face org-indent)) fontified t) 25 26 (wrap-prefix #("        " 0 8 (face org-indent)) line-prefix #("        " 0 8 (face org-indent)) fontified t))) Disable showing Disable 
logging

"[2021" certainly isn't a time string, but the warning surprised me.  I presume 
it's because of the recent improvements about persistence.  I have no 
suggestions but thought I'd point it out in case it might crop up more if other 
people enter clock timestamps by hand.

Thanks,

Bill

--
William Denton
https://www.miskatonic.org/
Librarian, artist and licensed private investigator.
Toronto, Canada


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-10-05  4:55 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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).