On Thu, 14 Jul 2011 18:35:32 +0200
Jostein Berntsen <[email protected]> wrote:

> I have tested this function, but it does not seem to work when there
> is an OMITFUNC after skip. 

>From the remind man page:

       Note  that if you use OMITFUNC, then a local OMIT is ignored as are all
       global OMITs.  If you want to omit specific weekdays, your  omit  func-
       tion will need to test for them specifically.  If you want to take into
       account the global OMIT context, then your omit function will  need  to
       test for that explicitly (using the isomitted() function.)

So your vacation_2010 function needs to be defined something like:

FSET vacation_2010(x) isomitted(x) || (your_normal_logic_here)

and it will work.

Regards,

David.
_______________________________________________
Remind-fans mailing list
[email protected]
http://lists.roaringpenguin.com/cgi-bin/mailman/listinfo/remind-fans
Remind is at http://www.roaringpenguin.com/products/remind

Reply via email to