[Remind-Fans] Omit several weeks possible?

borghal rantipole rantipole at gmx.de
Sat Jan 21 13:55:06 EST 2012


Hello Jostein,

thank you for your quick answer!

I applied your vacation function, but get an "Unexpected end of line" error with the last line:

FSET vacation_2012(x) isomitted (x) || \
                      (evaltrig("2012-04-02 *1 UNTIL 2012-04-14", x) == x) || \
                      (evaltrig("2012-05-30 *1 UNTIL 2010-06-11", x) == x) ||

REM Mon SKIP \
    OMITFUNC vacation_2012 \
    AT 7:45 DURATION 8:00 MSG Hello World

This is what I put into my rem-file and the last line gets the unexpected eol. What am I doing wrong?

Thank you for your help!


-------- Original-Nachricht --------
> Datum: Thu, 19 Jan 2012 15:31:59 +0100
> Von: Jostein Berntsen <jbernts at broadpark.no>
> An: remind-fans at lists.roaringpenguin.com
> Betreff: Re: [Remind-Fans] Omit several weeks possible?

> On 19.01.12,15:16, Jostein Berntsen wrote:
> > On 19.01.12,15:03, Borghal Rantipole wrote:
> > > Hello,
> > > 
> > > I want to set up weekly recurring events (rehearsals) that skip dates
> from my school holiday calendar. How do I do this?
> > > 
> > > Example: rehearsals are monday every week but not during easter
> holidays (april 2 until april 14).
> > > 
> > 
> > You use PUSH and POP like this:
> > 
> > 
> > PUSH-OMIT-CONTEXT
> > OMIT 2012-04-02 THROUGH 2012-04-14
> > REM Monday AT 18:00 DURATION 3:00 MSG Rehearseals 
> > POP-OMIT-CONTEXT
> > 
> > Or you can have a Vacation function like this:
> > 
> > 
> > FSET vacation_2012(x) isomitted (x) || \
> >                       (evaltrig("2012-04-02 *1 UNTIL 2012-04-14", x) ==
> x) || \
> >                       (evaltrig("2012-05-30 *1 UNTIL 2010-06-11", x) ==
> x) || 
> > 
> >                       
> > REM Mon SKIP \
> >     OMITFUNC vacation_2010 \
> >     AT 7:45 DURATION 8:00 MSG 
> > 
> >     
> > REM 2012-04-02 *1 UNTIL 2012-04-14 MSG Vacation: Easter holidays
> > REM 2012-05-30 *1 UNTIL 2012-06-11 MSG Vacation: Italy
> > 
> 
> This should be:
> 
> REM Mon SKIP \
>     OMITFUNC vacation_2012 \
>     AT 7:45 DURATION 8:00 MSG 
> 
> in the vacation function.
> 
> 
> Jostein
> 
> 
> _______________________________________________
> Remind-fans mailing list
> Remind-fans at lists.roaringpenguin.com
> http://lists.roaringpenguin.com/cgi-bin/mailman/listinfo/remind-fans
> Remind is at http://www.roaringpenguin.com/products/remind

-- 
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de


More information about the Remind-fans mailing list