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 #90 received at 78298 <at> debbugs.gnu.org (full text, mbox):

From: Manuel Giraud <manuel <at> ledu-giraud.fr>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: michael_heerdegen <at> web.de, 78298 <at> debbugs.gnu.org, juri <at> linkov.net
Subject: Re: bug#78298: [PATCH] Scroll with mouse wheel in calendar
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.
-- 
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.