unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Diary and Holidays
@ 2008-06-30 18:40 Chris Willard
  2008-07-01  7:54 ` Peter Dyballa
  0 siblings, 1 reply; 2+ messages in thread
From: Chris Willard @ 2008-06-30 18:40 UTC (permalink / raw)
  To: Help-gnu-emacs

Hello All,

I am having a play with the diary and calender in emacs and would like
to know if is possible to show UK holidays instead of US. If this is
not possible can I turn off the displaying of holiday?

Many thanks,


Chris.

-- 
oOoOo         "Common sense is not so common." - Voltaire          oOoOo
 oOoOo                                                            oOoOo
  oOoOo                                                          oOoOo

--
This message was scanned by ESVA and is believed to be clean.





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

* Re: Diary and Holidays
  2008-06-30 18:40 Diary and Holidays Chris Willard
@ 2008-07-01  7:54 ` Peter Dyballa
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Dyballa @ 2008-07-01  7:54 UTC (permalink / raw)
  To: Chris Willard; +Cc: Help-gnu-emacs


Am 30.06.2008 um 20:40 schrieb Chris Willard:

> I am having a play with the diary and calender in emacs and would like
> to know if is possible to show UK holidays instead of US. If this is
> not possible can I turn off the displaying of holiday?


It's both possible. The latter is true when you do not have customised

	'(view-calendar-holidays-initially t)

(although there might be some interference with diary), for the  
former you need to overwrite the holidays lists, general-holidays,  
local-holidays, christian-holidays (or whatever you need), and in the  
end record:

	(setq calendar-holidays
	  (append general-holidays local-holidays
	          christian-holidays solar-holidays)
	)	; other-holidays ?
	(setq calendar-week-start-day 1)
	(setq european-calendar-style t)
	(setq calendar-date-style 'european)

Much, if not all, can be done via the customisation interface. The  
original definitions are in calendar.el.

--
Greetings

   Pete
                       ~  o
                        ~_\\_/\
                       ~  O   O






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

end of thread, other threads:[~2008-07-01  7:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-30 18:40 Diary and Holidays Chris Willard
2008-07-01  7:54 ` Peter Dyballa

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