GNU bug report logs - #78298
[PATCH] Scroll with mouse wheel in calendar

Previous Next

Package: emacs;

Reported by: Manuel Giraud <manuel <at> ledu-giraud.fr>

Date: Wed, 7 May 2025 08:49:02 UTC

Severity: normal

Tags: patch

Full log


Message #61 received at 78298 <at> debbugs.gnu.org (full text, mbox):

From: Michael Heerdegen <michael_heerdegen <at> web.de>
To: Juri Linkov <juri <at> linkov.net>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 78298 <at> debbugs.gnu.org,
 Manuel Giraud <manuel <at> ledu-giraud.fr>
Subject: Re: bug#78298: [PATCH] Scroll with mouse wheel in calendar
Date: Thu, 15 May 2025 14:05:44 +0200
Juri Linkov <juri <at> linkov.net> writes:

> I don't have a strong opinion too.  So let's start with the minimal
> patch, then will see if anyone has more suggestions.  Now pushed your
> patch.

No... there is a problem with that solution, sorry:

M-x calendar RET
select the other window again (showing *scratch* if you are in -Q)
M-mouse-wheel over the calendar window

and you get

| Debugger entered--Lisp error: (void-variable displayed-month)
|   calendar-cursor-to-date()
|   calendar-cursor-to-nearest-date()
|   calendar-forward-month(12)
|   calendar-forward-year(1)
|   funcall-interactively(calendar-forward-year 1)
|   call-interactively(calendar-forward-year nil nil)
|   command-execute(calendar-forward-year)


Michael.




This bug report was last modified 10 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.