From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tom Tromey Newsgroups: gmane.emacs.help Subject: Re: Exception dates in diary? Date: Sat, 19 Jan 2008 10:38:44 -0700 Message-ID: References: <8763xq904o.fsf@rosslaird.info> Reply-To: tromey@redhat.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1200766492 8840 80.91.229.12 (19 Jan 2008 18:14:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 19 Jan 2008 18:14:52 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jan 19 19:15:10 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JGIDi-0002sw-VR for geh-help-gnu-emacs@m.gmane.org; Sat, 19 Jan 2008 19:15:07 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JGIDJ-0002Fz-HE for geh-help-gnu-emacs@m.gmane.org; Sat, 19 Jan 2008 13:14:41 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JGID1-0002Eb-B7 for help-gnu-emacs@gnu.org; Sat, 19 Jan 2008 13:14:23 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JGICz-0002Dz-V9 for help-gnu-emacs@gnu.org; Sat, 19 Jan 2008 13:14:22 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JGICz-0002Ds-HX for help-gnu-emacs@gnu.org; Sat, 19 Jan 2008 13:14:21 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JGICz-0000e3-7D for help-gnu-emacs@gnu.org; Sat, 19 Jan 2008 13:14:21 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JGICv-0004P4-SS for help-gnu-emacs@gnu.org; Sat, 19 Jan 2008 18:14:18 +0000 Original-Received: from 207.189.196.151 ([207.189.196.151]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 19 Jan 2008 18:14:17 +0000 Original-Received: from tromey by 207.189.196.151 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 19 Jan 2008 18:14:17 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 13 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 207.189.196.151 X-Attribution: Tom User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.990 (gnu/linux) Cancel-Lock: sha1:Brit2w2oXH/m05KymibvGv1dT84= X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:50825 Archived-At: >>>>> "Ross" == Ross A Laird 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. Tom