From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Carson Chittom Newsgroups: gmane.emacs.help Subject: Re: Emacs Calendar: change date of holiday Date: Sat, 10 Aug 2013 07:36:51 -0500 Message-ID: <87zjsp90yk.fsf@abbey.wistly.net> References: <1376059756.36418.YahooMailNeo@web163101.mail.bf1.yahoo.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1376139949 1634 80.91.229.3 (10 Aug 2013 13:05:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 10 Aug 2013 13:05:49 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Aug 10 15:05:51 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1V88rd-0005li-NB for geh-help-gnu-emacs@m.gmane.org; Sat, 10 Aug 2013 15:05:49 +0200 Original-Received: from localhost ([::1]:48045 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V88rd-00024v-84 for geh-help-gnu-emacs@m.gmane.org; Sat, 10 Aug 2013 09:05:49 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53632) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V88r8-0001rb-PA for help-gnu-emacs@gnu.org; Sat, 10 Aug 2013 09:05:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V88r0-0006Ad-U9 for help-gnu-emacs@gnu.org; Sat, 10 Aug 2013 09:05:18 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:55017) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V88r0-0006AQ-NT for help-gnu-emacs@gnu.org; Sat, 10 Aug 2013 09:05:10 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1V88qz-0005JX-GS for help-gnu-emacs@gnu.org; Sat, 10 Aug 2013 15:05:09 +0200 Original-Received: from adsl-108-131-108-102.jan.bellsouth.net ([108.131.108.102]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 10 Aug 2013 15:05:09 +0200 Original-Received: from carson by adsl-108-131-108-102.jan.bellsouth.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 10 Aug 2013 15:05:09 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 43 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: adsl-108-131-108-102.jan.bellsouth.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (berkeley-unix) Cancel-Lock: sha1:173IIA5fIyFpBHO3KD9a15bAIIs= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:92809 Archived-At: Enda 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.