bug#81501: 30.2; Problems in timeclock log entry parsing
Sean Whitton <[email protected]> Thu, 30 Jul 2026 13:24:49 +0100
| Newsgroups | gmane.emacs.bugs |
|---|---|
| Message-ID | <[email protected]> |
Petteri Hintsanen [26/Jul 6:19pm +03] wrote: > I'd suggest to change timeclock-moment-regexp so that it requires a > comment to have exactly one space after the seconds field, and then one > or more non-newline characters. Then timeclock-read-moment would be > able to differentiate between nil and empty comments and also preserve > any leading or trailing whitespace in comments. It would be a backwards > incompatible change, but I consider this acceptable because I find the > current behavior clearly buggy. > > I can send a patch if maintainers agree. Can you say more about what use cases might be broken by the change? -- Sean Whitton