[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Exception dates in diary?
From: |
Ross A. Laird |
Subject: |
Re: Exception dates in diary? |
Date: |
Sat, 19 Jan 2008 12:33:37 -0800 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/23.0.60 (gnu/linux) |
Tom Tromey <tromey@redhat.com> writes:
>>>>>> "Ross" == Ross A Laird <ross@rosslaird.info> writes:
>
> Ross> %%(and (= 1 (calendar-day-of-week date))
> Ross> (diary-block 01 07 2008 03 10 2008)) 18:30-21:30 Class
>
> Ross> How do I modify this so that I can add the exception dates and have the
> Ross> calendar not show a class on a holiday?
>
> Maybe add in (not (check-calendar-holidays date))?
> I'm just going by (info "(emacs)Sexp Diary Entries") and a little
> browsing of the calendar sources.
Yes, I have seen this and other more complex options based on holiday
dates. But I'm in Canada, and the holidays are sometimes different, so I
need some way of specifying exact dates for exception. Also my calendar
shows me some holidays I don't even recognize...
Oh well, I suppose I can just do it manually.
Thanks for the input.
Ross
>
> Tom
--
Ross A. Laird, PhD
www.rosslaird.info