[Remind-Fans] Native way to display reminders with no-delta only (except via calendar forms)
Dianne Skoll
dianne at skoll.ca
Thu May 18 09:02:48 EDT 2023
On Thu, 18 May 2023 13:08:03 +0200 (CEST)
l0f4r0--- via Remind-fans <remind-fans at lists.skoll.ca> wrote:
> I haven't noticed in the manpage a simple/native way to display only
> the no-delta reminders (except in the calendar outputs). Have I
> overlooked something please?
If by "the no-delta" reminders you mean pretend that all the deltas are
zero, then there's no built-in way. You could do a hack similar to this
at the top of your reminders file:
IF defined(no_delta)
FSET d(x) ""
FSET dd(x) ""
ELSE
FSET d(x) "+" + x
FSET dd(x) "++" + x
ENDIF
Then in all of your reminders, replace +n with [d(n)] and ++n with
[dd(n)] like this:
Original:
REM whatever +3 MSG foo
REM another ++5 MSG bar
Replaced:
REM whatever [d(3)] MSG foo
REM another [dd(5)] MSG bar
Then if you invoke Remind with the command-line option: -ino_delta=1
it will essentially take away all the deltas.
Yes, it's a hack.
Regards,
Dianne.
More information about the Remind-fans
mailing list