GNU bug report logs -
#78298
[PATCH] Scroll with mouse wheel in calendar
Previous Next
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Eli Zaretskii <eliz <at> gnu.org> writes:
>> From: Manuel Giraud <manuel <at> ledu-giraud.fr>
>> Cc: michael_heerdegen <at> web.de, juri <at> linkov.net, 78298 <at> debbugs.gnu.org
>> Date: Fri, 16 May 2025 21:19:32 +0200
>>
>> Eli Zaretskii <eliz <at> gnu.org> writes:
>>
>> >> From: Manuel Giraud <manuel <at> ledu-giraud.fr>
>> >> Cc: michael_heerdegen <at> web.de, juri <at> linkov.net, 78298 <at> debbugs.gnu.org
>> >> Date: Fri, 16 May 2025 15:59:10 +0200
>> >>
>> >> Eli Zaretskii <eliz <at> gnu.org> writes:
>> >>
>> >> >> +(defun calendar-scroll-left-year (arg &optional event)
>> >> >> + "Scroll the displayed calendar window left by 12*ARG months.
>> >> >> +If ARG is negative the calendar is scrolled right.
>> >> >
>> >> > Bother: the first and the 2nd sentences contradict each other. Are we
>> >> > scrolling the window or the text shown in the window? Their
>> >> > directions are opposite.
>> >>
>> >> No they do not contradict: a negative argument on scroll-left command
>> >> will actually scroll right and vice versa.
>> >
>> > We are mis-communicating, I think. My point was that the first
>> > sentence talks about scrolling the window, the second one about the
>> > calendar (i.e. the text).
>>
>> Ah ok, sorry about that. It is the calendar (the text) that is scroll
>> in all these commands. I have copy pasted the docstring from another of
>> the scroll command. I think we should fix all of them.
>
> Yes, please.
Here is a new patch. WDYT?
[0001-Dedicated-commands-to-scroll-calendar-by-year.patch (text/x-patch, attachment)]
[Message part 3 (text/plain, inline)]
--
Manuel Giraud
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.