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 18:53:46 -0500 Message-ID: <87k2yz7y7p.fsf@yale.edu> References: <87pp8sz70q.fsf@hornet.workgroup> <871tl8s0f0.fsf@gmail.com> <87r3t7z4o4.fsf@hornet.workgroup> <87sidn83k3.fsf@yale.edu> <87r3t72eoc.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; format=flowed Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org To: help-gnu-emacs@gnu.org Cc: emacs-orgmode@gnu.org List-Id: emacs-orgmode.gnu.org Alexis writes: > i just tried moving my `(setq holiday-local-holidays ...)` to > the very first line of my config setup, and lo, that does result > in local holidays appearing in my Org agenda. I am glad it worked out for you. > However, my config setup is a 3000+ line Org Babel file, in > which i group together things that are related in my mind, and > the setup for the calendar is about a third of the way through > this. That is definitely the way to go, I do the same: http://alfaromurillo.bitbucket.org/dotemacs.html > Thus [...] works better in my context, and is more robust, > longer-term, than my original suggestion [...] So, thank you! You are welcome. However, I think that it would be better to check what exactly loads holidays.el in your configuration (I will venture a guess that it is a call to org-agenda), and wrap that part in a (eval-after-load 'holidays '(progn ...)), then you can get rid of unnecessary code and you do not need to move things around in your nicely organized org file ;-) Best, -- Jorge.