* Emacs Calendar: change date of holiday
@ 2013-08-09 14:49 Enda
2013-08-09 14:55 ` Frederik
` (3 more replies)
0 siblings, 4 replies; 6+ messages in thread
From: Enda @ 2013-08-09 14:49 UTC (permalink / raw)
To: help-gnu-emacs@gnu.org
How do I change or remove a holiday in the Emacs Calendar?
-- Enda
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Emacs Calendar: change date of holiday
2013-08-09 14:49 Emacs Calendar: change date of holiday Enda
@ 2013-08-09 14:55 ` Frederik
2013-08-09 16:44 ` Peter Dyballa
` (2 subsequent siblings)
3 siblings, 0 replies; 6+ messages in thread
From: Frederik @ 2013-08-09 14:55 UTC (permalink / raw)
To: help-gnu-emacs
Am 09.08.2013 16:49, schrieb Enda:
> How do I change or remove a holiday in the Emacs Calendar?
See C-h v calendar-holidays RET.
In order to have only the christian holidays displayed I set:
(setq holiday-hebrew-holidays nil)
(setq holiday-islamic-holidays nil)
(setq holiday-oriental-holidays nil)
(setq holiday-bahai-holidays nil)
Regards
--
Frederik
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Emacs Calendar: change date of holiday
2013-08-09 14:49 Emacs Calendar: change date of holiday Enda
2013-08-09 14:55 ` Frederik
@ 2013-08-09 16:44 ` Peter Dyballa
2013-08-10 12:36 ` Carson Chittom
2013-08-13 16:46 ` Emacs Calendar Holidays Enda
3 siblings, 0 replies; 6+ messages in thread
From: Peter Dyballa @ 2013-08-09 16:44 UTC (permalink / raw)
To: Enda; +Cc: help-gnu-emacs@gnu.org
Am 09.08.2013 um 16:49 schrieb Enda:
> How do I change or remove a holiday in the Emacs Calendar?
You can customise a lot from the "specific group" calendar. One of the nodes is holidays.
Another option is the diary file.
It's all documented.
--
Greetings
Pete
"My goal is to be a meteorologist. But since I have no training in meteorology, I suppose I should try stock brokerage."
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Emacs Calendar: change date of holiday
2013-08-09 14:49 Emacs Calendar: change date of holiday Enda
2013-08-09 14:55 ` Frederik
2013-08-09 16:44 ` Peter Dyballa
@ 2013-08-10 12:36 ` Carson Chittom
2013-08-13 16:46 ` Emacs Calendar Holidays Enda
3 siblings, 0 replies; 6+ messages in thread
From: Carson Chittom @ 2013-08-10 12:36 UTC (permalink / raw)
To: help-gnu-emacs
Enda <enda_k2@yahoo.com> writes:
> How do I change or remove a holiday in the Emacs Calendar?
Depends on what exactly you want to remove/change. Here's an
illustration. I am an Orthodox Christian, but
calendar-christian-all-holidays uses Catholic/Protestant dates and
feasts. So there's probably some better way to do this, but in
~/.emacs I have
(setq calendar-holidays
(append holiday-general-holidays
holiday-other-holidays
holiday-local-holidays))
This tells Emacs that the only holiday lists it should use are
holiday-general-holidays, which includes Father's Day, Mother's Day,
April Fools Day, etc; holiday-other-holidays (per-user set holidays),
and holiday-local-holidays (holidays set on the local system).
Then I define holiday-other-holidays to account for feasts and my
children's and godson's name days:
(setq holiday-other-holidays
'((holiday-greek-orthodox-easter) ; from Emacs' holidays.el
(holiday-fixed 9 8 "Nativity of the Theotokos")
(holiday-fixed 9 14 "Elevation of the Holy Cross")
(holiday-fixed 11 21 "Presentation of the Theotokos")
(holiday-fixed 12 25 "Nativity of Christ")
(holiday-fixed 1 6 "Theophany")
(holiday-fixed 2 2 "Presentation of the Lord")
(holiday-fixed 3 25 "Annunciation")
(holiday-fixed 8 6 "Transfiguration")
(holiday-fixed 8 15 "Dormition of the Theotokos")
(holiday-fixed 11 8 "Archangel Michael and other Bodiless Powers")
(holiday-fixed 11 24 "St. Katherine of Alexandria")
(holiday-fixed 3 26 "Archangel Gabriel")
(holiday-fixed 1 3 "St. Genevieve of Paris")
(holiday-fixed 9 5 "Righteous Elizabeth, Mother of the Forerunner")
(holiday-fixed 8 20 "Prophet Samuel")))
Any others I wanted--religious or not--could be defined in the same way:
birthdays, for example.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Emacs Calendar Holidays
2013-08-09 14:49 Emacs Calendar: change date of holiday Enda
` (2 preceding siblings ...)
2013-08-10 12:36 ` Carson Chittom
@ 2013-08-13 16:46 ` Enda
2013-08-19 17:43 ` Enda
3 siblings, 1 reply; 6+ messages in thread
From: Enda @ 2013-08-13 16:46 UTC (permalink / raw)
To: help-gnu-emacs@gnu.org
In the Emacs customization group:
Applications >> Calendar >> Holidays
There is a "Calendar Bahai All Holidays Flag"
and
"Holiday Bahai Holidays"
((holiday-bahai-new-year)
(holiday-bahai-ridvan)
(holiday-fixed 5 23 "Declaration of the Bab")
(holiday-fixed 5 29 "Ascension of Baha'u'llah")
(holiday-fixed 7 9 "Martyrdom of the Bab")
(holiday-fixed 10 20 "Birth of the Bab")
(holiday-fixed 11 12 "Birth of Baha'u'llah")
(if calendar-bahai-all-holidays-flag
(append
(holiday-fixed 11 26 "Day of the Covenant")
(holiday-fixed 11 28 "Ascension of `Abdu'l-Baha"))))
in which many Bahai Holidays are on by default, is there a flag to turn off these holidays (and if there isn't should there be (for each type of holiday given that there is a flag for showing "All Holidays" for each grouping))?
-- Enda
^ permalink raw reply [flat|nested] 6+ messages in thread
* Emacs Calendar Holidays
2013-08-13 16:46 ` Emacs Calendar Holidays Enda
@ 2013-08-19 17:43 ` Enda
0 siblings, 0 replies; 6+ messages in thread
From: Enda @ 2013-08-19 17:43 UTC (permalink / raw)
To: help-gnu-emacs@gnu.org
In the Emacs customization group:
Applications >> Calendar >> Holidays
There is a "Calendar Oriental All Holidays Flag"
and
"Holiday Oriental Holidays"
((holiday-chinese-new-year)
(if calendar-chinese-all-holidays-flag
(append
(holiday-chinese 1 15 "Lantern Festival")
(holiday-chinese-qingming)
(holiday-chinese 5 5 "Dragon Boat Festival")
(holiday-chinese 7 7 "Double Seventh Festival")
(holiday-chinese 8 15 "Mid-Autumn Festival")
(holiday-chinese 9 9 "Double Ninth Festival")
(holiday-chinese-winter-solstice))))
in which many Oriental Holidays are on by default, is there a flag to turn off these holidays (and if there isn't should there be (for each type of holiday given that there is a flag for showing "All Holidays" for each grouping))?
-- Enda
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2013-08-19 17:43 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-09 14:49 Emacs Calendar: change date of holiday Enda
2013-08-09 14:55 ` Frederik
2013-08-09 16:44 ` Peter Dyballa
2013-08-10 12:36 ` Carson Chittom
2013-08-13 16:46 ` Emacs Calendar Holidays Enda
2013-08-19 17:43 ` Enda
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).