On Thu, 27 Nov 2025 10:45:35 -0800
Aric Gregson <[email protected]> wrote:

> I am clearly doing something wrong with these lines then. They work as
> intended, but it seems remind does not like them?

OK, you might make your error messages go away by updating to the
latest version of Remind, or by putting this at the top of your
.reminders file:

    SET $ParseUntriggered 0

which will make Remind not attempt to parse the body of reminders that
are not being triggered (and hence that would have an invalid $T)

You can look up $ParseUntriggered in the man page to see what it does.

That said, I'm not really sure why you need such a complicated sequence
of code.  As far as I can tell, this whole sequence:

> SET last_done date(2025,11,20)
> REM scanfrom [trigger(last_done)] satisfy 1
> REM FROM 2025-09-16 [trigger(trigdate())] *7 UNTIL [trigger(trigdate()+7)] 
> MSG XYZ 1.5 (3) [ord(($T - '2025-09-16')/7 +1)] week

can be replaced with:

    SET last_done '2025-11-20'
    REM [last_done] *7 UNTIL [last_done+7] MSG XYZ 1.5 (3) [ord(($T - 
'2025-09-16')/7 +1)] week

Regards,

Dianne.
_______________________________________________
Remind-fans mailing list
[email protected]
https://dianne.skoll.ca/mailman/listinfo/remind-fans
Remind is at https://dianne.skoll.ca/projects/remind/

Reply via email to