unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Stuart McLean <makhector@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: adding holidays to calendar
Date: Sat, 10 Nov 2007 11:38:38 GMT	[thread overview]
Message-ID: <87zlxmtjnk.fsf@makhector.hypnokush.org> (raw)

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

             reply	other threads:[~2007-11-10 11:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-10 11:38 Stuart McLean [this message]
2007-11-18 11:42 ` adding holidays to calendar Rene Borchers
     [not found] ` <mailman.3736.1195386150.18990.help-gnu-emacs@gnu.org>
2007-11-19 10:53   ` Stuart McLean

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zlxmtjnk.fsf@makhector.hypnokush.org \
    --to=makhector@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).