From mboxrd@z Thu Jan 1 00:00:00 1970 From: jorge.alfaro-murillo@yale.edu (Jorge A. Alfaro-Murillo) Subject: Re: org-calendar-holiday and local holidays Date: Mon, 02 Mar 2015 10:26:37 -0500 Message-ID: <87y4nfzahe.fsf@yale.edu> References: <87pp8sz70q.fsf@hornet.workgroup> <871tl8s0f0.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; format=flowed Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51408) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YSSFM-000079-5Y for emacs-orgmode@gnu.org; Mon, 02 Mar 2015 10:27:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YSSFH-0006e6-5J for emacs-orgmode@gnu.org; Mon, 02 Mar 2015 10:27:04 -0500 Received: from plane.gmane.org ([80.91.229.3]:57020) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YSSFG-0006e1-Um for emacs-orgmode@gnu.org; Mon, 02 Mar 2015 10:26:59 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YSSFC-0001bN-4S for emacs-orgmode@gnu.org; Mon, 02 Mar 2015 16:26:54 +0100 Received: from nat-130-132-173-151.central.yale.edu ([130.132.173.151]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 02 Mar 2015 16:26:54 +0100 Received: from jorge.alfaro-murillo by nat-130-132-173-151.central.yale.edu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 02 Mar 2015 16:26:54 +0100 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 Cc: help-gnu-emacs@gnu.org Alexis writes: > When i scroll down to look at the current value of > `calendar-holidays`, however, i see that neither the current > value nor the original value makes any reference to the > `holiday-local-holidays` variable. And indeed, when i examine my > agenda for next Monday, which is a local holiday i've specified > in `holiday-local-holidays`, i can't see that local holiday. To > fix this, i use M-: to evaluate: > > (setq calendar-holidays (append calendar-holidays > holiday-local-holidays)) > > after which the local holiday next Monday appears in my Org > agenda. You do not need to add that, calendar-holidays appends holiday-local-holidays when holidays.el is loaded, just restart emacs. > Given the documentation for the `calendar-holidays` variable, > the fact that i need to manually add the value of the > `holiday-local-holidays` variable to `calendar-holidays` seems > to me like it might be a coding or documentation bug in Emacs > .... ? It is also not a documentation bug, at least in my emacs (25.0.50.1) the documentation of calendar-holidays says clearly: "Note that these variables [`holiday-other-holidays', `holiday-general-holidays', `holiday-local-holidays', `holiday-christian-holidays', `holiday-hebrew-holidays', `holiday-islamic-holidays', `holiday-bahai-holidays', `holiday-oriental-holidays' and `holiday-solar-holidays'] have no effect on `calendar-holidays' after it has been set (e.g. after the calendar is loaded). In that case, customize `calendar-holidays' directly." Best, -- Jorge.