[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] org-calendar-holiday and local holidays

From: Jorge A. Alfaro-Murillo
Subject: Re: [O] org-calendar-holiday and local holidays
Date: Mon, 02 Mar 2015 10:26:37 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

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 ( 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."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]