GNU bug report logs -
#78298
[PATCH] Scroll with mouse wheel in calendar
Previous Next
Full log
View this message in rfc822 format
Michael Heerdegen <michael_heerdegen <at> web.de> writes:
> Manuel Giraud <manuel <at> ledu-giraud.fr> writes:
>
>> I've checked: calendar-for/backward-year place the cursor on current the
>> day of month while the functions I introduce place it on the first day
>> of the month.
>>
>> For such a tiny difference, I think I should remove
>> calendar-scroll-right-year (and left) from this patch. WDYT?
>
> I would prefer to keep the behavior consistent.
>
> 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.
For forward/backward movements: it always place the cursor exactly one
month/year before or after.
--
Manuel Giraud
This bug report was last modified 9 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.