[Remind-Fans] "too many full OMITs"???

Rainer Clasen bj at zuto.de
Wed Jan 7 09:45:47 EST 2009


David F. Skoll wrote:
> Rainer Clasen wrote:
> 
> > for scheduling my private activities I have a recurring entry for "work"
> > and a bunch of OMIT's for each day I've vacation (BTW: unfortunatly ranges
> > don't seem to work with OMIT):
> 
> I'd recommend upgrading to Remind 3.1.6 and rewriting your reminders
> to use computed OMITs.  Or, you can recompile Remind to increase
> MAX_FULL_OMITS.  (In fact, I believe 3.1.6 increases it from 75 to 250,
> which might be all you need.)

Thanks for your hint. Looking at OMITFUNC I've been remembered of SATISFIY
(which is sufficient for this case):

 FSET between(x,a,b)     (x>=a && x <=b)

 FSET vacation_2009(x) ( 0 \
        || between(x, '2009-3-6', '2009-3-23' )\
        || between(x, '2009-7-30', '2009-8-2' )\
        )

 FSET vacation(x) ( vacation_2009(x) || vacation_2008(x))
 REM SATISFY [ vacation(today()) ] MSG vacation
 REM mon thu wed tue fri SKIP \
        AT 8:00 DURATION 9:00 \
        SATISFY [!vacation(today())] \
        CAL work

Oh, yeah, removing last year's stuff was too easy ;)

Rainer

-- 
KeyID=759975BD fingerprint=887A 4BE3 6AB7 EE3C 4AE0  B0E1 0556 E25A 7599 75BD



More information about the Remind-fans mailing list