From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Barton Subject: Re: Easter without using org-agenda-holidays? Date: Wed, 28 Apr 2010 09:18:11 +0100 Message-ID: <4BD7EF43.9000601@manor-farm.org> References: <340037.18651.qm@web54206.mail.re2.yahoo.com> Reply-To: lists@manor-farm.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O72TK-0003Nm-KZ for emacs-orgmode@gnu.org; Wed, 28 Apr 2010 04:18:18 -0400 Received: from [140.186.70.92] (port=50066 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O72TI-0003MS-Sy for emacs-orgmode@gnu.org; Wed, 28 Apr 2010 04:18:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O72TH-0004LK-FK for emacs-orgmode@gnu.org; Wed, 28 Apr 2010 04:18:16 -0400 Received: from mail.ian-barton.com ([109.74.196.44]:35007 helo=li40-130.members.linode.com) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O72TH-0004Kz-A2 for emacs-orgmode@gnu.org; Wed, 28 Apr 2010 04:18:15 -0400 In-Reply-To: <340037.18651.qm@web54206.mail.re2.yahoo.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: andrew mcintosh Cc: emacs-orgmode@gnu.org On 28/04/10 05:00, andrew mcintosh wrote: > I'm Canadian and have made an .org file including all the major Canadian holidays in it except for the Easter holidays. Is there a way to include it without using org-agenda-holidays? I'm not interested in knowing when it's Columbus Day, and more importantly, the American Thanksgiving is conflicts with the Canadian Thanksgiving (they're not even in the same month!) > > I think the simplest way is just to include the actual date in your org file. If you want a challenge here are a couple of ways of finding the date for Easter using elisp. You might be able to use this to return a diary sexp, that you can include in your org file: http://github.com/soren/elisp/blob/master/da-kalender.el http://www.opensource.apple.com/source/emacs/emacs-54/emacs/lisp/calendar/holidays.el?txt Ian.