[Remind-Fans] Categorize OMIT

Dianne Skoll dianne at skoll.ca
Wed Mar 1 22:09:13 EST 2023


On Thu, 2 Mar 2023 00:50:39 +0000
Tim Chase <remind at tim.thechases.com> wrote:

> The only issue I've found is that if a file is included multiple
> times, OMITs with MSG portions show up multiple times.  E.g.

Yeah, that's a problem.  So I'd do OMITs without any MSG and have separate
REMs to actually output the holidays.

IMO, the small amount of redundancy caused by:

     # In holidays.rem
     OMIT 25 Dec

     # In display_holidays.rem
     REM 25 Dec MSG Christmas

is a small price to pay compared to the complexity of setting
variables, potentially breaking the Remind algorithm, etc.  It's also
fewer (way fewer) lines of code.

Regards,

Dianne.


More information about the Remind-fans mailing list