-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thu, 31. Jan, David F. Skoll spammed my inbox with > Jan Seeger wrote: > > > It seems like omitting a range of days is not (yet?) possible in > > remind. I have used the following kludge: > > Omitting a range is not possible. Your kludge is not a good idea; > making the OMIT context "float" can yield surprising behaviour.
But since I created a new omit context, this behaviour should be limited to this context, shouldn't it? > If you have resigned yourself to using an IF, then why not simplify it: > > IF today() < '2008-02-09' || today() > '2008-02-29' > REM Tue +4 -1 MSG DS-Hausaufgaben... > REM Mon +4 -1 MSG Info-Hausaufgaben... > ENDIF > > Or you could even get very tricky: > > REM Tue +4 -1 SATISFY [trigdate() < '2008-02-09' || trigdate() > > '2008-02-29'] MSG ... The problem is I want to be able to easily add new holidays. With this solution, I'd have to edit the whole expression, whereas with my hack, I could just enter an additional OMIT [between....]. Regards, Jan Seeger - -- thenybble.de/blog/ -- four bits at a time -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (GNU/Linux) iD8DBQFHoiPBMmLQdC6jvocRAiJNAJ9diyBoAFoTd59BwRjJbq0fDjAxEwCgnzwO eenwncSk3QqYl+DYWO4bjZ0= =BYb+ -----END PGP SIGNATURE----- _______________________________________________ Remind-fans mailing list [email protected] http://lists.whatexit.org/mailman/listinfo/remind-fans
