[Remind-Fans] Layers of information

Alan Young alansyoungiii at gmail.com
Thu Jan 11 02:50:07 EST 2007


Paul M Foster wrote:
> No it doesn't make sense. I was hoping someone else understood what you 
> were saying, but apparently not.

Sorry.  I'll try to be more clear.

> FWIW, you *can* put groups of events in different .reminders files, and 
> call them with INCLUDE directives (see the man page). Though I'm not 
> sure what benefit that would have.

Yeah, I know about the INCLUDE directive.  It helps me keep various 
schedules separate, makes them easier to maintain.

I'm trying to maintain a schedule for myself and my 6 children.  Myself 
includes the usual work and household related stuff; for my kids the 
usual school related stuff, scouts, etc.

My work has its own grouping of holidays, school for the kids another 
grouping of holidays.  Some of which coincide.

Instead of having to remember to add an OMIT clause for each and every 
event:

REM Mon Tue Wed Thu Fri MSG Work
OMIT stuff for holiday
OMIT stuff for another holiday
OMIT stuff for a holiday that is also a school holiday

REM Mon 10:00 MSG Development Meeting
-cut-n-paste- above OMIT section (or rewrite it)

REM Mon Tue Wed Thu Fri MSG School
OMIT stuff for separate holiday from work
OMIT stuff for same holiday as work
OMIT stuff for another holiday

REM Fri +7 MSG Weekly Assignment Due
-cut-n-paste- above OMIT section (or rewrite it)

Instead, what I would like to be able to do is define a list of 
holidays, with all the necessary special handling.  Then I'd like to 
define a secondary list of work holiday's and another of school holidays 
that have a mix of references to the pre-defined holiday list and 
holidays specific to the type of list being defined (e.g., work holidays 
for the work list).  Then I would like to be able to reference the 
secondary list in an OMIT clause.

; Holidays
REM stuff for holiday MSG Indepence Day
REM different stuff for holiday MSG Halloween
REM more different stuff for holiday MSG Thanksgiving

; Work Holidays
REM Independence Day
REM Thanksgiving
REM stuff for company holiday MSG Company Holiday

; School Holidays
REM Thanksgiving
REM stuff for school holiday MSG UEA

; Work Stuff
REM Mon Tue Wed Thu Fri MSG Work
OMIT Work Holidays

REM Mon 10:00 MSG Development Meeting
OMIT Work Holidays

; School Stuff
REM Mon Tue Wed Thu Fri MSG School
OMIT School Holidays

REM Fri +7 MSG Weekly Assignment Due
OMIT School Holidays

Additionally, it would be nice to be able to associate sub events (like 
the work meeting or the weekly assignment) with main events (like work 
or school) so that the OMIT clause could be inherited.  Something like

; Work Stuff
REM Mon Tue Wed Thu Fri MSG Work
OMIT Work Holidays

REM Mon 10:00 MSG Work: Development Meeting
# don't have to include OMIT here because we've inherited from above

Does that make better sense?



More information about the Remind-fans mailing list