unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Remove holidays from calendar
@ 2010-10-20  8:31 Brendan Halpin
  2010-10-20  8:53 ` Teemu Likonen
  0 siblings, 1 reply; 3+ messages in thread
From: Brendan Halpin @ 2010-10-20  8:31 UTC (permalink / raw)
  To: help-gnu-emacs

Info tells me I can easily add holidays to the calendar, but I have been
trying for a long time to find a way of removing irrelevant ones.

My org-mode agenda, for instance, tells me that today is the "Birth of
the Bab", and Monday is "Grenada's Thanksgiving", neither of which has
the remotest consequence for my work plans!

How can I get rid of *all* the religious and foreign (esp US)
holidays?

Brendan
-- 
Brendan Halpin,  Department of Sociology,  University of Limerick,  Ireland
Tel: w +353-61-213147 f +353-61-202569 h +353-61-338562; Room F1-009 x 3147
mailto:brendan.halpin@ul.ie  http://www.ul.ie/sociology/brendan.halpin.html


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Remove holidays from calendar
  2010-10-20  8:31 Remove holidays from calendar Brendan Halpin
@ 2010-10-20  8:53 ` Teemu Likonen
  2010-10-20  9:44   ` Brendan Halpin
  0 siblings, 1 reply; 3+ messages in thread
From: Teemu Likonen @ 2010-10-20  8:53 UTC (permalink / raw)
  To: help-gnu-emacs

* 2010-10-20 09:31 (+0100), Brendan Halpin wrote:

> Info tells me I can easily add holidays to the calendar, but I have
> been trying for a long time to find a way of removing irrelevant ones.

> How can I get rid of *all* the religious and foreign (esp US)
> holidays?

You could create a custom calendar. For example, here is Finnish
calender:

    http://www.emacswiki.org/emacs/suomalainen-kalenteri.el

If you create national holiday settings consider adding them to this
Emacs wiki page:

    http://www.emacswiki.org/emacs/CalendarLocalization


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Remove holidays from calendar
  2010-10-20  8:53 ` Teemu Likonen
@ 2010-10-20  9:44   ` Brendan Halpin
  0 siblings, 0 replies; 3+ messages in thread
From: Brendan Halpin @ 2010-10-20  9:44 UTC (permalink / raw)
  To: help-gnu-emacs

On Wed, Oct 20 2010, Teemu Likonen wrote:

>     http://www.emacswiki.org/emacs/suomalainen-kalenteri.el

Thanks: I see the critical element is:

(setq calendar-holidays holiday-finnish-holidays)

In other words, over-writing the default with your own version. 

> If you create national holiday settings consider adding them to this
> Emacs wiki page:
>
>     http://www.emacswiki.org/emacs/CalendarLocalization

Thanks for the pointer; the wiki looks interesting.

Brendan
-- 
Brendan Halpin,  Department of Sociology,  University of Limerick,  Ireland
Tel: w +353-61-213147 f +353-61-202569 h +353-61-338562; Room F1-009 x 3147
mailto:brendan.halpin@ul.ie  http://www.ul.ie/sociology/brendan.halpin.html


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-10-20  9:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-20  8:31 Remove holidays from calendar Brendan Halpin
2010-10-20  8:53 ` Teemu Likonen
2010-10-20  9:44   ` Brendan Halpin

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).