[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[BUG] LANG=fr_FR.UTF-8 org-clock "not at timestamp"
From: |
Ruijie Yu |
Subject: |
[BUG] LANG=fr_FR.UTF-8 org-clock "not at timestamp" |
Date: |
Sun, 23 Apr 2023 17:42:20 +0800 |
User-agent: |
mu4e 1.9.22; emacs 30.0.50 |
Hello,
I am investigating test failures with LANG=fr_FR.UTF-8 amongst some
other locales. I noticed that the test
`test-org-clok/org-clock-timestamps-change' in
testing/lisp/test-org-clock.el around line 92 failed with "not at
timestamp", which I presume reveals a genuine bug.
To simplify, here is a reproducer:
--8<---------------cut here---------------start------------->8---
(require 'org-clock)
(with-temp-buffer
(org-mode)
(insert "CLOCK: [2023-02-19 Sun 22:30]--[2023-02-20 Mon 00:35] => 2:05")
(goto-char 25) ; 2|2:30
(org-clock-timestamps-change 'down 1))
--8<---------------cut here---------------end--------------->8---
The error appears: "Not at timestamp". I think it is due to the "." in
French day-of-week words, such as "dim.", "lun.", etc. Something must
not be expecting punctuations in that place.
Reproduced in newest orgmode, and 1-month old Emacs master.
--
Best,
RY
[Please note that this mail might go to spam due to some
misconfiguration in my mail server -- still investigating.]
- [BUG] LANG=fr_FR.UTF-8 org-clock "not at timestamp",
Ruijie Yu <=