Ihor Radchenko <[email protected]> writes:

> Bastien Guerry <[email protected]> writes:
>
>> Debugger entered--Lisp error: (error "cl-ecase failed: 1, (minute hour day 
>> month year)")
>
> Morgan, could you take a look?

Owned.  I caused this and I will fix this.

But first, What behavior are we actually looking for?  Using the org builtin to
emacs on guix (version 9.7.11) I get the following behavior playing with S-<up>
and S-<down> with the example text

On the brackets it toggles the brackets (debatably incorrect to toggle brackets
on a SCHEDULED timestamp but seems harmless to me).

On the year, month, and day it increments by 1 which seems correct.

On the start hour it increments both the start hour and finish hour which seems
correct.  It does not roll over correctly though as you see from these
successive timestamps.

<2026-04-18 Sat 20:00-23:00>
<2026-04-18 Sat 21:00-00:00>
<2026-04-18 Sat 22:00-01:00> // We don't support this kind of timestamp right?

On the start minutes it increments both the start and end minutes according to
`org-timestamp-rounding-minutes'.  This seems roughly correct to me although it
can change the elapsed time as with this example

<2026-04-18 Sat 15:10-15:11>
<2026-04-18 Sat 15:15-15:15>

On the end hours it simply increments that number and not the start.  I guess
that seems correct to me.

On the end minutes it simply increments that number ignoring
`org-timestamp-rounding-minutes' which seems wrong to me.

Reply via email to