From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Holidays without fixed dates Date: Fri, 17 Jan 2014 10:01:48 +0100 Message-ID: <87mwiv7zib.fsf@bzg.ath.cx> References: <8738kngsg4.fsf@enterprise.sectorq.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46500) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W45JP-0002H2-44 for emacs-orgmode@gnu.org; Fri, 17 Jan 2014 04:02:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W45JI-0008O8-FW for emacs-orgmode@gnu.org; Fri, 17 Jan 2014 04:01:59 -0500 Received: from mail-we0-x233.google.com ([2a00:1450:400c:c03::233]:36383) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W45JI-0008Np-8q for emacs-orgmode@gnu.org; Fri, 17 Jan 2014 04:01:52 -0500 Received: by mail-we0-f179.google.com with SMTP id w62so4310056wes.10 for ; Fri, 17 Jan 2014 01:01:51 -0800 (PST) In-Reply-To: <8738kngsg4.fsf@enterprise.sectorq.net> (Pete Ley's message of "Thu, 16 Jan 2014 20:09:31 -0800") 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: Pete Ley Cc: emacs-orgmode@gnu.org Hi Pete, Pete Ley writes: > For instance, New Year's Day is always on January 1st, but something > like the start of Daylight Saving Time is always around the same time > but on the closest Sunday. > > Is there a ready-made solution for working this sort of thing into the > agenda? So far I just have holidays in my agenda that have fixed dates > with ++1y repeat intervals on them. I'm just wondering if there exists a > solution or if I should make one. I set my holidays in a variable, then add this variable to `calendar-holidays', then display the diary in the agenda. See http://bzg.fr/emacs.html and look for "holiday". -- Bastien