From: Andreas Schwab <schwab@linux-m68k.org>
To: michael_heerdegen@web.de
Cc: 11260@debbugs.gnu.org
Subject: bug#11260: 24.1.50; `holiday-sexp' may create entry twice
Date: Mon, 16 Apr 2012 23:42:08 +0200 [thread overview]
Message-ID: <m2fwc3z74f.fsf@igel.home> (raw)
In-Reply-To: <8762cz4bbn.fsf@web.de> (Michael Heerdegen's message of "Mon, 16 Apr 2012 23:27:08 +0200")
Michael Heerdegen <michael_heerdegen@web.de> writes:
> the following happens also in Emacs 23. Recipe:
>
> 1. emacs -Q
> 2. M-x calendar RET
> 3. evaluate: (require 'holidays)
> 4. evaluate:
> (add-to-list
> 'calendar-holidays
> '(holiday-sexp
> '(list 4 17 2012)
> "April 17th 2012"))
>
> 5. In the calendar, move point to April 17th 2012 and hit h.
>
> You'll see that "April 17th 2012" appears twice.
Your expression does not use year.
> | (defun holiday-sexp (sexp string)
> | "Sexp holiday for dates in the calendar window.
> | SEXP is an expression in variable `year' that is evaluated to
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
next prev parent reply other threads:[~2012-04-16 21:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-16 21:27 bug#11260: 24.1.50; `holiday-sexp' may create entry twice Michael Heerdegen
2012-04-16 21:42 ` Andreas Schwab [this message]
2012-04-16 22:43 ` Michael Heerdegen
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2fwc3z74f.fsf@igel.home \
--to=schwab@linux-m68k.org \
--cc=11260@debbugs.gnu.org \
--cc=michael_heerdegen@web.de \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.