Subject: Re: bug#78298: [PATCH] Scroll with mouse wheel in calendar

From: Juri Linkov <[email-masked]>
Date: Mon, 12 May 2025 21:03:31 +0300

>> Or was it not even consistent before your patch?  I see that <next> is
>> bound to `calendar-scroll-left-three-months' and C-x ] to
>> `calendar-forward-year'.  Your patch didn't touch these.  Did these
>> already behave differently?
>
> Yes, they behave differently.  AFAIU, for scrolling: while the date
> under the cursor is visible, the cursor is placed there after the
> scroll.  When the date is not visible anymore, the cursor is placed on
> the first day of the month.

With placing the cursor on the first day of the month
the behavior makes sense.  But only for months, not years.

When scrolling years the need is to put the cursor
exactly on the same day/month in another year.