emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: jorge.alfaro-murillo@yale.edu (Jorge A. Alfaro-Murillo)
To: help-gnu-emacs@gnu.org
Cc: emacs-orgmode@gnu.org
Subject: Re: org-calendar-holiday and local holidays
Date: Mon, 02 Mar 2015 18:53:46 -0500	[thread overview]
Message-ID: <87k2yz7y7p.fsf@yale.edu> (raw)
In-Reply-To: 87r3t72eoc.fsf@gmail.com

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.

  reply	other threads:[~2015-03-02 23:53 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-01 22:29 org-calendar-holiday and local holidays Melleus
2015-03-02  0:33 ` Alexis
2015-03-02 15:26   ` Jorge A. Alfaro-Murillo
2015-03-02 22:23     ` Alexis
2015-03-02 17:32   ` Melleus
2015-03-02 21:58     ` Jorge A. Alfaro-Murillo
2015-03-02 22:54       ` Alexis
2015-03-02 23:53         ` Jorge A. Alfaro-Murillo [this message]
2015-03-03 13:43       ` Melleus
2015-03-02  1:40 ` Nick Dokos
2015-03-02 15:34 ` Jorge A. Alfaro-Murillo
2015-03-02 17:30   ` Melleus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k2yz7y7p.fsf@yale.edu \
    --to=jorge.alfaro-murillo@yale.edu \
    --cc=emacs-orgmode@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).