[Top][All Lists]

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

Re: How to get the UK holidays displaying in the agenda?

From: Memnon Anon
Subject: Re: How to get the UK holidays displaying in the agenda?
Date: Fri, 08 Aug 2014 14:31:38 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (berkeley-unix)

Sharon Kimble <address@hidden> writes:

> Memnon Anon <address@hidden> writes:
>> Sharon Kimble <address@hidden> writes:
>>> How can I get the diary containing UK holidays to show in my agenda
>>> please? 
> Thanks Memnon, but it doesn't actually have anything there for the UK!

Hmmm, a very quick try:
Holidays from:

Put this in your .emacs, restart, and give it a try:

(setq european-calendar-style t             ; obsolete!
      calendar-date-style 'european
                                        ;        calendar-latitude
                                        ;        calendar-longitude
      calendar-week-start-day 1
      mark-holidays-in-calendar t
      ;; remove some holidays
      all-christian-calendar-holidays nil         ;obsolete
      calendar-christian-all-holidays-flag nil
      general-holidays t     
      hebrew-holidays nil    
      islamic-holidays nil   
      oriental-holidays nil  
      bahai-holidays nil)

(setq holiday-general-holidays
      '((holiday-fixed 1 1 "New Year's Day")
        (holiday-fixed 3 17 "St. Patrick's Day")
        (holiday-float 5 1 1 "May Day Bank Holiday")
        (holiday-fixed 7 12 "Battle of the Boyne")
        (holiday-float 8 1 -1 "May Day Bank Holiday")
        (holiday-fixed 12 26 "Boxing Day")))

(setq holiday-christian-holidays
      '((holiday-fixed 12 25 "Christmas Day")
        (holiday-easter-etc  -2 "Good Friday")
        (holiday-easter-etc  +1 "Easter Monday")))

(setq calendar-holidays
      (append general-holidays 

(setq org-agenda-include-diary t)

Hmmm, these are really all holidays?!
I'm in a hurry, test it, we'll tweak and tinker with it later ;).

| SDF and SDF-EU Public Access UNIX System  |
|   ||   |

reply via email to

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