* bug#60987: 30.0.50; Calendar not accepting custom holidays
@ 2023-01-21 14:00 Emanuele M. Monterosso
2023-01-21 14:18 ` Eli Zaretskii
0 siblings, 1 reply; 24+ messages in thread
From: Emanuele M. Monterosso @ 2023-01-21 14:00 UTC (permalink / raw)
To: 60987
[-- Attachment #1: Type: text/html, Size: 9204 bytes --]
^ permalink raw reply [flat|nested] 24+ messages in thread
* bug#60987: 30.0.50; Calendar not accepting custom holidays
2023-01-21 14:00 bug#60987: 30.0.50; Calendar not accepting custom holidays Emanuele M. Monterosso
@ 2023-01-21 14:18 ` Eli Zaretskii
[not found] ` <D5516BA7-7132-4DD5-9BEB-E9E400ED5839@hxcore.ol>
0 siblings, 1 reply; 24+ messages in thread
From: Eli Zaretskii @ 2023-01-21 14:18 UTC (permalink / raw)
To: Emanuele M. Monterosso; +Cc: 60987
> Date: Sat, 21 Jan 2023 15:00:09 +0100
> From: "Emanuele M. Monterosso" <emanuele.monterosso@gmail.com>
>
> I've found the current issue with my build of emacs:
> I set the variables holiday-general-holidays and
> holiday-christian-holidays using the Localized snippets found
> in the Emacswiki page, they appear if I do:
>
> M-x holiday-list RET RET RET General/Christian
>
> But they don't appear at all on the calendar and if I choose
> All from holiday-list menu they also do not appear. Am I doing something
> wrong?
Please show step by step instructions to reproduce the issue starting
from "emacs -Q". It is hard to look into an issue without such a
recipe, as the details are usually important.
Thanks.
^ permalink raw reply [flat|nested] 24+ messages in thread
* bug#60987: 30.0.50; Calendar not accepting custom holidays
[not found] ` <D5516BA7-7132-4DD5-9BEB-E9E400ED5839@hxcore.ol>
@ 2023-01-21 15:50 ` Eli Zaretskii
2023-01-21 16:04 ` bug#60987: R: " Emanuele M. Monterosso
2023-01-23 16:07 ` Michael Heerdegen
0 siblings, 2 replies; 24+ messages in thread
From: Eli Zaretskii @ 2023-01-21 15:50 UTC (permalink / raw)
To: Emanuele M. Monterosso; +Cc: 60987
[Please keep the bug address on the CC list.]
> Date: Sat, 21 Jan 2023 15:53:49 +0100
> From: "Emanuele M. Monterosso" <emanuele.monterosso@gmail.com>
>
> >Please show step by step instructions to reproduce the issue starting
> >from "emacs -Q". It is hard to look into an issue without such a
> >recipe, as the details are usually important.
> >
>
> >Thanks.
>
> Steps to reproduce:
>
> * emacs -Q -> scratch-buffer
> * Copy this snippet from the EmacsWiki
>
> (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.
Also, I don't have commit 8aae5fbaf29ee3d845e2bb40ef728765a2246e35 in
my clone of the Emacs Git repository. Which Git repository are you
using to build Emacs?
^ permalink raw reply [flat|nested] 24+ messages in thread
* bug#60987: R: bug#60987: 30.0.50; Calendar not accepting custom holidays
2023-01-21 15:50 ` Eli Zaretskii
@ 2023-01-21 16:04 ` Emanuele M. Monterosso
2023-01-22 13:20 ` Eli Zaretskii
2023-01-23 16:07 ` Michael Heerdegen
1 sibling, 1 reply; 24+ messages in thread
From: Emanuele M. Monterosso @ 2023-01-21 16:04 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: 60987@debbugs.gnu.org
[-- Attachment #1: Type: text/html, Size: 6777 bytes --]
^ permalink raw reply [flat|nested] 24+ messages in thread
* bug#60987: 30.0.50; Calendar not accepting custom holidays
2023-01-21 16:04 ` bug#60987: R: " Emanuele M. Monterosso
@ 2023-01-22 13:20 ` Eli Zaretskii
2023-01-22 14:59 ` bug#60987: R: " Emanuele M. Monterosso
0 siblings, 1 reply; 24+ messages in thread
From: Eli Zaretskii @ 2023-01-22 13:20 UTC (permalink / raw)
To: Emanuele M. Monterosso; +Cc: 60987
> Date: Sat, 21 Jan 2023 17:04:12 +0100
> From: "Emanuele M. Monterosso" <emanuele.monterosso@gmail.com>
> Cc: "60987@debbugs.gnu.org" <60987@debbugs.gnu.org>
>
> Is there an official build of emacs for windows with native-comp enabled?
I think the one on the GNU FTP site is such a build:
https://ftp.gnu.org/gnu/emacs/windows/emacs-28/
^ permalink raw reply [flat|nested] 24+ messages in thread
* bug#60987: R: bug#60987: 30.0.50; Calendar not accepting custom holidays
2023-01-22 13:20 ` Eli Zaretskii
@ 2023-01-22 14:59 ` Emanuele M. Monterosso
2023-01-22 15:09 ` Eli Zaretskii
0 siblings, 1 reply; 24+ messages in thread
From: Emanuele M. Monterosso @ 2023-01-22 14:59 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: 60987@debbugs.gnu.org
[-- Attachment #1: Type: text/html, Size: 1926 bytes --]
^ permalink raw reply [flat|nested] 24+ messages in thread
* bug#60987: 30.0.50; Calendar not accepting custom holidays
2023-01-22 14:59 ` bug#60987: R: " Emanuele M. Monterosso
@ 2023-01-22 15:09 ` Eli Zaretskii
2023-01-22 15:26 ` bug#60987: R: " Emanuele M. Monterosso
0 siblings, 1 reply; 24+ messages in thread
From: Eli Zaretskii @ 2023-01-22 15:09 UTC (permalink / raw)
To: Emanuele M. Monterosso; +Cc: 60987
> Date: Sun, 22 Jan 2023 15:59:57 +0100
> From: "Emanuele M. Monterosso" <emanuele.monterosso@gmail.com>
> Cc: "60987@debbugs.gnu.org" <60987@debbugs.gnu.org>
>
> runemacs.exe -Q
>
> (native-comp-available-p) and C-x C-e returns nil
Do you have libgccjit installed and GCC and Binutils on PATH?
^ permalink raw reply [flat|nested] 24+ messages in thread
* bug#60987: R: bug#60987: 30.0.50; Calendar not accepting custom holidays
2023-01-22 15:09 ` Eli Zaretskii
@ 2023-01-22 15:26 ` Emanuele M. Monterosso
2023-01-22 15:41 ` Eli Zaretskii
2023-01-22 15:44 ` Eli Zaretskii
0 siblings, 2 replies; 24+ messages in thread
From: Emanuele M. Monterosso @ 2023-01-22 15:26 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: 60987@debbugs.gnu.org
[-- Attachment #1: Type: text/html, Size: 6136 bytes --]
^ permalink raw reply [flat|nested] 24+ messages in thread
* bug#60987: 30.0.50; Calendar not accepting custom holidays
2023-01-22 15:26 ` bug#60987: R: " Emanuele M. Monterosso
@ 2023-01-22 15:41 ` Eli Zaretskii
2023-01-22 15:44 ` Eli Zaretskii
1 sibling, 0 replies; 24+ messages in thread
From: Eli Zaretskii @ 2023-01-22 15:41 UTC (permalink / raw)
To: Emanuele M. Monterosso; +Cc: 60987
> Date: Sun, 22 Jan 2023 16:26:46 +0100
> From: "Emanuele M. Monterosso" <emanuele.monterosso@gmail.com>
> Cc: "60987@debbugs.gnu.org" <60987@debbugs.gnu.org>
>
> On the other hand I confirm this bug still happens under WSL Ubuntu for emacs30 but not for emacs 28.2,
> haven’t tried emacs29 and my config depends on some things
>
> and features in emacs29, gonna wait until pretest I guess.
Like I said: I cannot reproduce this on Emacs 30 or 29, so I'm not
sure what's going on. Maybe something related to your locale?
Other than that, I can only suggest debugging the code with Edebug.
^ permalink raw reply [flat|nested] 24+ messages in thread
* bug#60987: 30.0.50; Calendar not accepting custom holidays
2023-01-22 15:26 ` bug#60987: R: " Emanuele M. Monterosso
2023-01-22 15:41 ` Eli Zaretskii
@ 2023-01-22 15:44 ` Eli Zaretskii
[not found] ` <9286A4EA-1671-4016-8DD5-46217E56A94F@hxcore.ol>
1 sibling, 1 reply; 24+ messages in thread
From: Eli Zaretskii @ 2023-01-22 15:44 UTC (permalink / raw)
To: Emanuele M. Monterosso; +Cc: 60987
> Date: Sun, 22 Jan 2023 16:26:46 +0100
> From: "Emanuele M. Monterosso" <emanuele.monterosso@gmail.com>
> Cc: "60987@debbugs.gnu.org" <60987@debbugs.gnu.org>
>
> On the other hand I confirm this bug still happens under WSL Ubuntu for emacs30 but not for emacs 28.2,
> haven’t tried emacs29 and my config depends on some things
>
> and features in emacs29, gonna wait until pretest I guess.
Maybe it's a problem with the Emacs 30 build you used? It isn't a
build from the Emacs repository, so perhaps it has some changes that
cause this?
^ permalink raw reply [flat|nested] 24+ messages in thread
* bug#60987: 30.0.50; Calendar not accepting custom holidays
[not found] ` <9286A4EA-1671-4016-8DD5-46217E56A94F@hxcore.ol>
@ 2023-01-22 17:07 ` Eli Zaretskii
0 siblings, 0 replies; 24+ messages in thread
From: Eli Zaretskii @ 2023-01-22 17:07 UTC (permalink / raw)
To: Emanuele M. Monterosso; +Cc: 60987
> Date: Sun, 22 Jan 2023 18:04:27 +0100
> From: "Emanuele M. Monterosso" <emanuele.monterosso@gmail.com>
>
> >Maybe it's a problem with the Emacs 30 build you used? It isn't a
> >build from the Emacs repository, so perhaps it has some changes that
> >cause this?
>
> It could be, but it also did happen in WSL (tho I can’t use emacs from there due to work policies) emacs
> build
>
> From the Ubuntu Emacs Lisp ppa https://launchpad.net/~ubuntu-elisp/+archive/ubuntu/ppa.
Can someone else please reproduce this and investigate?
^ permalink raw reply [flat|nested] 24+ messages in thread
* bug#60987: 30.0.50; Calendar not accepting custom holidays
2023-01-21 15:50 ` Eli Zaretskii
2023-01-21 16:04 ` bug#60987: R: " Emanuele M. Monterosso
@ 2023-01-23 16:07 ` Michael Heerdegen
2023-01-24 10:14 ` bug#60987: R: " Emanuele M. Monterosso
1 sibling, 1 reply; 24+ messages in thread
From: Michael Heerdegen @ 2023-01-23 16:07 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: Emanuele M. Monterosso, 60987
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.
^ permalink raw reply [flat|nested] 24+ messages in thread
* bug#60987: R: bug#60987: 30.0.50; Calendar not accepting custom holidays
2023-01-23 16:07 ` Michael Heerdegen
@ 2023-01-24 10:14 ` Emanuele M. Monterosso
2023-01-24 15:26 ` Michael Heerdegen
0 siblings, 1 reply; 24+ messages in thread
From: Emanuele M. Monterosso @ 2023-01-24 10:14 UTC (permalink / raw)
To: Michael Heerdegen; +Cc: 60987@debbugs.gnu.org
[-- Attachment #1: Type: text/html, Size: 3143 bytes --]
^ permalink raw reply [flat|nested] 24+ messages in thread
* bug#60987: R: bug#60987: 30.0.50; Calendar not accepting custom holidays
2023-01-24 10:14 ` bug#60987: R: " Emanuele M. Monterosso
@ 2023-01-24 15:26 ` Michael Heerdegen
2023-01-24 16:34 ` bug#60987: R: " Emanuele M. Monterosso
0 siblings, 1 reply; 24+ messages in thread
From: Michael Heerdegen @ 2023-01-24 15:26 UTC (permalink / raw)
To: Emanuele M. Monterosso; +Cc: 60987@debbugs.gnu.org
"Emanuele M. Monterosso" <emanuele.monterosso@gmail.com> writes:
> And nothing, I still get the non localized ones. Tried with emacs -Q
> and evaluated the forms (both with and without require), still
> nothing.
What does evaluating
(featurep 'holidays)
and
calendar-holidays
in a fresh emacs -Q (where it doesn't work) return (before setting or
evaluating anything else)?
TIA,
Michael.
^ permalink raw reply [flat|nested] 24+ messages in thread
* bug#60987: R: R: bug#60987: 30.0.50; Calendar not accepting custom holidays
2023-01-24 15:26 ` Michael Heerdegen
@ 2023-01-24 16:34 ` Emanuele M. Monterosso
2023-01-24 16:57 ` Michael Heerdegen
0 siblings, 1 reply; 24+ messages in thread
From: Emanuele M. Monterosso @ 2023-01-24 16:34 UTC (permalink / raw)
To: Michael Heerdegen; +Cc: 60987@debbugs.gnu.org
[-- Attachment #1: Type: text/html, Size: 2417 bytes --]
^ permalink raw reply [flat|nested] 24+ messages in thread
* bug#60987: R: R: bug#60987: 30.0.50; Calendar not accepting custom holidays
2023-01-24 16:34 ` bug#60987: R: " Emanuele M. Monterosso
@ 2023-01-24 16:57 ` Michael Heerdegen
2023-01-24 17:24 ` bug#60987: R: " Emanuele M. Monterosso
0 siblings, 1 reply; 24+ messages in thread
From: Michael Heerdegen @ 2023-01-24 16:57 UTC (permalink / raw)
To: Emanuele M. Monterosso; +Cc: 60987@debbugs.gnu.org
"Emanuele M. Monterosso" <emanuele.monterosso@gmail.com> writes:
> > (featurep 'holidays)
> In my emacs this evaluates to t, while it’s nil under emacs -Q
This is like it should be.
> > calendar-holidays
>
> This is more interesting, under emacs -Q, with holidays evaluating to
> nil [...]
What evals to nil - `calendar-holidays'?
Michael.
^ permalink raw reply [flat|nested] 24+ messages in thread
* bug#60987: R: R: R: bug#60987: 30.0.50; Calendar not accepting custom holidays
2023-01-24 16:57 ` Michael Heerdegen
@ 2023-01-24 17:24 ` Emanuele M. Monterosso
2023-01-24 20:17 ` Michael Heerdegen
0 siblings, 1 reply; 24+ messages in thread
From: Emanuele M. Monterosso @ 2023-01-24 17:24 UTC (permalink / raw)
To: Michael Heerdegen; +Cc: 60987@debbugs.gnu.org
[-- Attachment #1: Type: text/html, Size: 1495 bytes --]
^ permalink raw reply [flat|nested] 24+ messages in thread
* bug#60987: R: R: R: bug#60987: 30.0.50; Calendar not accepting custom holidays
2023-01-24 17:24 ` bug#60987: R: " Emanuele M. Monterosso
@ 2023-01-24 20:17 ` Michael Heerdegen
2023-01-24 21:12 ` bug#60987: R: " Emanuele M. Monterosso
0 siblings, 1 reply; 24+ messages in thread
From: Michael Heerdegen @ 2023-01-24 20:17 UTC (permalink / raw)
To: Emanuele M. Monterosso; +Cc: 60987@debbugs.gnu.org
"Emanuele M. Monterosso" <emanuele.monterosso@gmail.com> writes:
> (featurep ‘holidays)
>
> Evaluates to nil, and when I do calendar-list-holidays the error I
> wrote in my previouse message appear for every single default holiday
But what I wanted to know was the evaluation result of
`calendar-holidays' in your emacs -Q.
Michael.
^ permalink raw reply [flat|nested] 24+ messages in thread
* bug#60987: R: R: R: R: bug#60987: 30.0.50; Calendar not accepting custom holidays
2023-01-24 20:17 ` Michael Heerdegen
@ 2023-01-24 21:12 ` Emanuele M. Monterosso
2023-01-24 21:19 ` Michael Heerdegen
0 siblings, 1 reply; 24+ messages in thread
From: Emanuele M. Monterosso @ 2023-01-24 21:12 UTC (permalink / raw)
To: Michael Heerdegen; +Cc: 60987@debbugs.gnu.org
[-- Attachment #1: Type: text/html, Size: 1410 bytes --]
^ permalink raw reply [flat|nested] 24+ messages in thread
* bug#60987: R: R: R: R: bug#60987: 30.0.50; Calendar not accepting custom holidays
2023-01-24 21:12 ` bug#60987: R: " Emanuele M. Monterosso
@ 2023-01-24 21:19 ` Michael Heerdegen
2023-01-24 22:09 ` bug#60987: R: " Emanuele M. Monterosso
0 siblings, 1 reply; 24+ messages in thread
From: Michael Heerdegen @ 2023-01-24 21:19 UTC (permalink / raw)
To: Emanuele M. Monterosso; +Cc: 60987@debbugs.gnu.org
"Emanuele M. Monterosso" <emanuele.monterosso@gmail.com> writes:
> >But what I wanted to know was the evaluation result of
>
> >`calendar-holidays' in your emacs -Q.
>
> Debugger entered--Lisp error: (void-function calendar-holidays)
No, not (calendar-holidays), calendar-holidays please.
Michael.
^ permalink raw reply [flat|nested] 24+ messages in thread
* bug#60987: R: bug#60987: R: R: R: R: bug#60987: 30.0.50; Calendar not accepting custom holidays
2023-01-24 21:19 ` Michael Heerdegen
@ 2023-01-24 22:09 ` Emanuele M. Monterosso
2023-01-24 22:32 ` Michael Heerdegen
0 siblings, 1 reply; 24+ messages in thread
From: Emanuele M. Monterosso @ 2023-01-24 22:09 UTC (permalink / raw)
To: Michael Heerdegen; +Cc: 60987@debbugs.gnu.org
[-- Attachment #1: Type: text/html, Size: 1511 bytes --]
^ permalink raw reply [flat|nested] 24+ messages in thread
* bug#60987: R: bug#60987: R: R: R: R: bug#60987: 30.0.50; Calendar not accepting custom holidays
2023-01-24 22:09 ` bug#60987: R: " Emanuele M. Monterosso
@ 2023-01-24 22:32 ` Michael Heerdegen
2023-01-24 22:46 ` Emanuele M. Monterosso
0 siblings, 1 reply; 24+ messages in thread
From: Michael Heerdegen @ 2023-01-24 22:32 UTC (permalink / raw)
To: Emanuele M. Monterosso; +Cc: 60987@debbugs.gnu.org
"Emanuele M. Monterosso" <emanuele.monterosso@gmail.com> writes:
> Like M-x calendar-holidays?
No:
emacs -Q
M-: calendar-holidays RET
TIA,
Michael.
^ permalink raw reply [flat|nested] 24+ messages in thread
* bug#60987: 30.0.50; Calendar not accepting custom holidays
2023-01-24 22:32 ` Michael Heerdegen
@ 2023-01-24 22:46 ` Emanuele M. Monterosso
2023-01-25 13:26 ` Michael Heerdegen
0 siblings, 1 reply; 24+ messages in thread
From: Emanuele M. Monterosso @ 2023-01-24 22:46 UTC (permalink / raw)
To: Michael Heerdegen; +Cc: 60987@debbugs.gnu.org
[-- Attachment #1: Type: text/html, Size: 2975 bytes --]
^ permalink raw reply [flat|nested] 24+ messages in thread
* bug#60987: 30.0.50; Calendar not accepting custom holidays
2023-01-24 22:46 ` Emanuele M. Monterosso
@ 2023-01-25 13:26 ` Michael Heerdegen
0 siblings, 0 replies; 24+ messages in thread
From: Michael Heerdegen @ 2023-01-25 13:26 UTC (permalink / raw)
To: Emanuele M. Monterosso; +Cc: 60987@debbugs.gnu.org
"Emanuele M. Monterosso" <emanuele.monterosso@gmail.com> writes:
> Debugger entered--Lisp error: (void-variable calendar-holidays)
Thanks. This is also as expected. So I don't have any idea why you are
seeing this.
In the meantime I tried your recipe in a build with native compilation
enabled, but I still can't reproduce it.
Michael.
^ permalink raw reply [flat|nested] 24+ messages in thread
end of thread, other threads:[~2023-01-25 13:26 UTC | newest]
Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-21 14:00 bug#60987: 30.0.50; Calendar not accepting custom holidays Emanuele M. Monterosso
2023-01-21 14:18 ` Eli Zaretskii
[not found] ` <D5516BA7-7132-4DD5-9BEB-E9E400ED5839@hxcore.ol>
2023-01-21 15:50 ` Eli Zaretskii
2023-01-21 16:04 ` bug#60987: R: " Emanuele M. Monterosso
2023-01-22 13:20 ` Eli Zaretskii
2023-01-22 14:59 ` bug#60987: R: " Emanuele M. Monterosso
2023-01-22 15:09 ` Eli Zaretskii
2023-01-22 15:26 ` bug#60987: R: " Emanuele M. Monterosso
2023-01-22 15:41 ` Eli Zaretskii
2023-01-22 15:44 ` Eli Zaretskii
[not found] ` <9286A4EA-1671-4016-8DD5-46217E56A94F@hxcore.ol>
2023-01-22 17:07 ` Eli Zaretskii
2023-01-23 16:07 ` Michael Heerdegen
2023-01-24 10:14 ` bug#60987: R: " Emanuele M. Monterosso
2023-01-24 15:26 ` Michael Heerdegen
2023-01-24 16:34 ` bug#60987: R: " Emanuele M. Monterosso
2023-01-24 16:57 ` Michael Heerdegen
2023-01-24 17:24 ` bug#60987: R: " Emanuele M. Monterosso
2023-01-24 20:17 ` Michael Heerdegen
2023-01-24 21:12 ` bug#60987: R: " Emanuele M. Monterosso
2023-01-24 21:19 ` Michael Heerdegen
2023-01-24 22:09 ` bug#60987: R: " Emanuele M. Monterosso
2023-01-24 22:32 ` Michael Heerdegen
2023-01-24 22:46 ` Emanuele M. Monterosso
2023-01-25 13:26 ` Michael Heerdegen
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).