From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stuart McLean Newsgroups: gmane.emacs.help Subject: adding holidays to calendar Date: Sat, 10 Nov 2007 11:38:38 GMT Organization: Shaw Residential Internet Message-ID: <87zlxmtjnk.fsf@makhector.hypnokush.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1194694855 21292 80.91.229.12 (10 Nov 2007 11:40:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 10 Nov 2007 11:40:55 +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 Nov 10 12:40:59 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Iqohs-0004N8-PM for geh-help-gnu-emacs@m.gmane.org; Sat, 10 Nov 2007 12:40:57 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Iqohh-00068n-19 for geh-help-gnu-emacs@m.gmane.org; Sat, 10 Nov 2007 06:40:45 -0500 Original-Path: shelby.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!newscon04.news.prodigy.net!prodigy.net!pd7cy1no!pd7cy2no!shaw.ca!pd7urf2no.POSTED!53ab2750!not-for-mail X-Trace-PostClient-IP: 24.68.89.138 Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 Cancel-Lock: sha1:qPRmWpwhaJNCt6dJpQ4gvwXWb4c= Original-Lines: 25 Original-NNTP-Posting-Host: 64.59.135.176 Original-X-Complaints-To: abuse@shaw.ca Original-X-Trace: pd7urf2no 1194694718 64.59.135.176 (Sat, 10 Nov 2007 04:38:38 MST) Original-NNTP-Posting-Date: Sat, 10 Nov 2007 04:38:38 MST Original-Xref: shelby.stanford.edu gnu.emacs.help:153662 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:49122 Archived-At: Hi, I am having problems adding holidays using the variable `other-holidays'. I have tried setting this in customize, using (as an example) Canadian Thanksgiving. In `other-holidays' using the customize interface I put: ((holiday-float 10 1 2 "Canadian Thanksgiving")) and save. I evaluate .emacs (which loads the custom file at the end) and test by entering the calendar buffer and typing `h' on the 2nd Monday in October. It comes up with "Columbus Day" so I assume that the regular holiday is somehow clobbering the val of `other-holidays'? I still want to know that it is Columbus day, however, so I don't want to remove that holiday. If I unset the variable in customize, and set `other-holidays' in my .emacs, then the custom file (loaded at the end of .emacs) seems to clobber the setting with nil, but setting `other-holidays' after the custom file is loaded still doesn't work. Does anyone have any idea what I might be doing wrong? Regards, Stuart