You are not logged in.
Just installed remind and I'm loving it. But I came across a little problem:
Now, I've got my normal tasks and stuff, and I have my uni stuff. Problem is that I have certain days, such as lecture recesses, that should only stop uni related stuff from popping up. I tried the PUSH-POP, as shown in the example below, and it works just fine.
But now my lecture reminders are not omitted on public holidays any more --- which they should of course. So I'm guessing I may have overlooked something. Been reading the man pages up and down and searched online but couldn't find any useful clues.
Any hints would be highly appreciated.
#UNIVERSITY
PUSH
OMIT 2010-04-19 MSG Lecture recess
OMIT 2010-04-20 MSG Lecture recess
OMIT 2010-04-21 MSG Lecture recess
OMIT 2010-04-22 MSG Lecture recess
OMIT 2010-04-23 MSG Lecture recess
REM 2010-02-22 *7 AT 15:00 DURATION 0:50 UNTIL 2010-05-24 SKIP MSG Lecture 1
REM 2010-02-22 *7 AT 09:00 DURATION 0:50 UNTIL 2010-05-24 SKIP MSG Lecture 2
POP
#PUBLIC HOLIDAYS
#NEW YEAR
OMIT 01 Jan MSG New Year's Day
#EASTER
SET easter EASTERDATE(YEAR(TODAY()))
OMIT [TRIGGER(easter-2)] MSG Good Friday
REM [TRIGGER(easter-1)] MSG Easter Saturday
REM [TRIGGER(easter)] MSG Easter Sunday
OMIT [TRIGGER(easter+1)] MSG Easter Monday
etc ........
Cheers
Last edited by JackH79 (2010-02-07 06:41:27)
Offline
I haven't used remind for anything especially sophisticated, but the way I understand the PUSH & POP commands is that you are setting the REMs outside of the global OMIT context - though I did think you needed a CLEAR to remove all OMITS first. You could try putting the global OMITs first, but I'm not sure that's the one.
One thing you could do instead of the PUSH & POP is create a Lecture Recess OMITFUNC that is used for the Uni stuff. Remember to use the isomitted() function in to catch the global OMITs too.
Incidentally, there is a low volume remind users list here:
http://lists.whatexit.org/mailman/listinfo/remind-fans
It's read by the writer who will answer the tough stuff, and the archives can be useful for some ideas.
"...one cannot be angry when one looks at a penguin." - John Ruskin
"Life in general is a bit shit, and so too is the internet. And that's all there is." - scepticisle
Offline
Thanks for the for your suggestions and the link. Will try to get some information there and report back.
EDIT: Just got a very quick reply from David, the author of remind. The solution is elegant and simple, and has been suggested by skanky (thanks again) as well: put the holidays before the uni stuff. It works!
Last edited by JackH79 (2010-02-07 06:40:39)
Offline
Saw your email. The answer clarified for me how it worked, so win win.
"...one cannot be angry when one looks at a penguin." - John Ruskin
"Life in general is a bit shit, and so too is the internet. And that's all there is." - scepticisle
Offline