emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: other-holidays can have dates far away and mark holidays fails


From: Miguel V. S. Frasson
Subject: Re: other-holidays can have dates far away and mark holidays fails
Date: Wed, 10 May 2006 07:56:08 -0600

You are right. Thanks.

Miguel.

On 5/10/06, Glenn Morris <address@hidden> wrote:
"Miguel V. S. Frasson" wrote:

> emacs -Q --eval \
> "(progn \
>  (setq debug-on-error t) \
>  (setq other-holidays '('((( 2 27 2006) \"Emacs bug\")))))"

This is not a bug, because you should be using:

emacs -Q --eval "(progn \
  (setq debug-on-error t) \
  (setq other-holidays '((holiday-fixed 2 27 \"No bug\"))))"

as per the examples in the doc string of `calendar-holidays'. You
can't just add constant dates to the holiday lists - you need to use
functions that return nil when the relevant date is outside the
visible range of the calendar. holiday-fixed is the appropriate one
for a constant date.




--
Miguel Vinicius Santini Frasson
address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]