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

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

bug#60987: 30.0.50; Calendar not accepting custom holidays


From: Michael Heerdegen
Subject: bug#60987: 30.0.50; Calendar not accepting custom holidays
Date: Mon, 23 Jan 2023 17:07:55 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

Eli Zaretskii <eliz@gnu.org> writes:

> > (setq holiday-general-holidays
> >       '((holiday-fixed 1 1 "Capodanno")
> >         (holiday-fixed 5 1 "1 Maggio")
> >         (holiday-fixed 4 25 "Liberazione")
> >         (holiday-fixed 6 2 "Festa Repubblica")
> > ))
> >
> > * C-x C-e to eval the snippet
> > * Either open the calendar or M-x holiday-list RET RET RET All and
> > they do not appear at all. However,
> >
> > they do appear if you do M-x holiday-list RET RET RET General.
>
> For me they appear both with "All" and with "General" if I invoke
> holiday-list.

I too can't reproduce the issue in emacs -Q.

But this all looks like the difference in behavior one would expect
between an emacs where "holidays.el" is already loaded vs. is not
already loaded:

#+begin_src emacs-lisp
;; (require 'holidays) ; try with and without

(setq holiday-general-holidays
      '((holiday-fixed 1 1 "Capodanno")
        (holiday-fixed 5 1 "1 Maggio")
        (holiday-fixed 4 25 "Liberazione")
        (holiday-fixed 6 2 "Festa Repubblica")))
#+end_src


Michael.





reply via email to

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