From mboxrd@z Thu Jan 1 00:00:00 1970 From: Karl Voit Subject: Re: Recurring events with exceptions Date: Tue, 18 Oct 2011 22:38:10 +0200 Message-ID: <2011-10-18T22-37-21@devnull.Karl-Voit.at> References: <2011-10-18T18-47-42@devnull.Karl-Voit.at> <5907.1318958799@alphaville.americas.hpqcorp.net> Reply-To: news1142@Karl-Voit.at Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:44742) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGGQf-0006Sc-Jo for emacs-orgmode@gnu.org; Tue, 18 Oct 2011 16:38:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RGGQe-0004c1-Kc for emacs-orgmode@gnu.org; Tue, 18 Oct 2011 16:38:29 -0400 Received: from lo.gmane.org ([80.91.229.12]:34345) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGGQe-0004b7-FV for emacs-orgmode@gnu.org; Tue, 18 Oct 2011 16:38:28 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RGGQZ-0004Ki-3W for emacs-orgmode@gnu.org; Tue, 18 Oct 2011 22:38:23 +0200 Received: from mail.michael-prokop.at ([88.198.6.110]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 18 Oct 2011 22:38:23 +0200 Received: from news1142 by mail.michael-prokop.at with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 18 Oct 2011 22:38:23 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org * Nick Dokos wrote: > > All you have to do is explicitly exclude the two > dates. Something like this (lightly tested) should work. (NB: Wednesday > = 3 and calendar/diary wants dates as 3-element lists in the form (month > day year)): > > %%(let ((dayname (calendar-day-of-week date))) > (and (= dayname 3) > (not (calendar-date-equal date '(10 26 2011))) > (not (calendar-date-equal date '(11 30 2011))))) > > I added this to .diary, did M-x calendar RET and marked the entries > with m: seems to work fine. Oh, cool. Thanks for the example! -- Karl Voit