[Chugalug] Calculating the next Thanksgivukkah

Robert A. Kelly III bluethegrappler at gmail.com
Tue Oct 8 19:34:29 UTC 2013


I've been toying with calculating the next Thanksgivukkah (the date when
the first day of Hanukkah coincides with Thanksgiving) using remind.
I've got how to find Thanksgiving:

REM Dec Thurs 1 -7 MSG Thanksgiving

And I've got how to find Hanukkah:

REM [trigger(hebdate(25, "Kislev"))] MSG Hanukkah

But I'm thinking that in order to find when they coincide you will need
to write a user-defined function using FSET, to check whether a given
date is Hanukkah and then use a SATISFY clause to get a date of
Thanksgiving that is also Hanukkah, or something like that. Does anyone
know enough of remind to show how to do this?

Alternatively, would anyone care to try to do this with Emacs calendar?


More information about the Chugalug mailing list