[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#46883: 28.0.50; calendar-holidays var setup errors
From: |
Stephen Berman |
Subject: |
bug#46883: 28.0.50; calendar-holidays var setup errors |
Date: |
Fri, 05 Mar 2021 16:31:41 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
On Fri, 05 Mar 2021 14:34:15 +0100 Lars Ingebrigtsen <larsi@gnus.org> wrote:
> adam@faryna.io writes:
>
>> I did but nothing new shows up.
>>
>> Also while Emacs is running it brings to the front the *Warning*
>> buffer with this calendar errors, as it probably continue try to
>> initialize it.
>
> Very odd. Does anybody else have any suggestions for debugging this?
You can put this in your init file:
(setq calendar-debug-sexp t)
I made an init file consisting of the sexps in the OP (except for the
ones involving japanese-holidays, since I don't have that package),
added the above for debugging, started Emacs, did `M-x calendar', typed
`h' on a date in the Calendar buffer, and got this backtrace:
txt6Db2Bf6Iw1.txt
Description: calendar-debug-sexp backtrace
The problem seems to be this sexp from the OP's post:
(setq
holiday-local-holidays nil
calendar-christian-all-holidays-flag t
calendar-holidays (list
japanese-holidays
polish-holidays
english-holidays
;; holiday-local-holidays
general-holidays
holiday-christian-holidays
holiday-solar-holidays)
;; calendar-mark-holidays-flag t
calendar-week-start-day 1
calendar-date-style 'european)
Using `list' results in an unsuitable list structure. I replaced it by
`append' (again omitting japanese-holidays), restarted Emacs, did `M-x
calendar', typed `h' on March 10 in the Calendar buffer, and the echo
area displayed this message:
Wednesday, 10 March 2021: Dzień Mężczyzn
So I guess that should fix the OP's problem.
Steve
- bug#46883: 28.0.50; calendar-holidays var setup errors, Adam Faryna, 2021/03/02
- bug#46883: 28.0.50; calendar-holidays var setup errors, Lars Ingebrigtsen, 2021/03/03
- bug#46883: 28.0.50; calendar-holidays var setup errors, Adam Faryna, 2021/03/03
- bug#46883: 28.0.50; calendar-holidays var setup errors, address@hidden, 2021/03/03
- bug#46883: 28.0.50; calendar-holidays var setup errors, Lars Ingebrigtsen, 2021/03/04
- bug#46883: 28.0.50; calendar-holidays var setup errors, adam, 2021/03/04
- bug#46883: 28.0.50; calendar-holidays var setup errors, Lars Ingebrigtsen, 2021/03/05
- bug#46883: 28.0.50; calendar-holidays var setup errors,
Stephen Berman <=
- bug#46883: 28.0.50; calendar-holidays var setup errors, adam, 2021/03/05
- bug#46883: 28.0.50; calendar-holidays var setup errors, Lars Ingebrigtsen, 2021/03/06