From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: jorge.alfaro-murillo@yale.edu (Jorge A. Alfaro-Murillo) Newsgroups: gmane.emacs.orgmode,gmane.emacs.help 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> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-Trace: ger.gmane.org 1425310082 20320 80.91.229.3 (2 Mar 2015 15:28:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 2 Mar 2015 15:28:02 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: emacs-orgmode@gnu.org Original-X-From: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Mon Mar 02 16:27:53 2015 Return-path: Envelope-to: geo-emacs-orgmode@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YSSG5-00022d-2e for geo-emacs-orgmode@m.gmane.org; Mon, 02 Mar 2015 16:27:49 +0100 Original-Received: from localhost ([::1]:57677 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YSSG4-000137-FM for geo-emacs-orgmode@m.gmane.org; Mon, 02 Mar 2015 10:27:48 -0500 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 X-Injected-Via-Gmane: http://gmane.org/ Original-Followup-To: gmane.emacs.help,gmane.emacs.orgmode Original-Lines: 42 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nat-130-132-173-151.central.yale.edu User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:ywbS/Nyq+u7NjrG0Q9A1nSJXhyo= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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 Original-Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.orgmode:95569 gmane.emacs.help:102981 Archived-At: 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.