GNU bug report logs -
#72585
31.0.50; inconsistency between mouse-wheel-buttons and mouse-wheel-[down/up]-event
Previous Next
Reported by: Kazuhiro Ito <kzhr <at> d1.dion.ne.jp>
Date: Mon, 12 Aug 2024 02:38:02 UTC
Severity: normal
Found in version 31.0.50
Done: Kazuhiro Ito <kzhr <at> d1.dion.ne.jp>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 72585 in the body.
You can then email your comments to 72585 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#72585
; Package
emacs
.
(Mon, 12 Aug 2024 02:38:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Kazuhiro Ito <kzhr <at> d1.dion.ne.jp>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Mon, 12 Aug 2024 02:38:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
mouse-wheel-down-event and mouse-wheel-up-event default value are
`mouse-4` and `mouse-5`, respectively. But mouse-wheel-buttons's
default is
((4 . wheel-up) (5 . wheel-down) (6 . wheel-left) (7 . wheel-right)) .
Is this inconsistency intended?
--
Kazuhiro Ito
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#72585
; Package
emacs
.
(Thu, 15 Aug 2024 07:49:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 72585 <at> debbugs.gnu.org (full text, mbox):
> From: Kazuhiro Ito <kzhr <at> d1.dion.ne.jp>
> Date: Mon, 12 Aug 2024 11:22:54 +0900
>
>
> mouse-wheel-down-event and mouse-wheel-up-event default value are
> `mouse-4` and `mouse-5`, respectively. But mouse-wheel-buttons's
> default is
> ((4 . wheel-up) (5 . wheel-down) (6 . wheel-left) (7 . wheel-right)) .
>
> Is this inconsistency intended?
Adding Stefan and Po Lu. Any comments?
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#72585
; Package
emacs
.
(Thu, 15 Aug 2024 11:23:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 72585 <at> debbugs.gnu.org (full text, mbox):
> mouse-wheel-down-event and mouse-wheel-up-event default value are
> `mouse-4` and `mouse-5`, respectively. But mouse-wheel-buttons's
> default is
> ((4 . wheel-up) (5 . wheel-down) (6 . wheel-left) (7 . wheel-right)) .
>
> Is this inconsistency intended?
Not sure what is the inconsistency you see here.
If you mean the up/down switch, then it's "documented" in the docstring
of `mouse-wheel-down-event`:
Event used for scrolling down, beside ‘wheel-up’, if any.
- Stefan
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#72585
; Package
emacs
.
(Thu, 15 Aug 2024 11:51:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 72585 <at> debbugs.gnu.org (full text, mbox):
> > mouse-wheel-down-event and mouse-wheel-up-event default value are
> > `mouse-4` and `mouse-5`, respectively. But mouse-wheel-buttons's
> > default is
> > ((4 . wheel-up) (5 . wheel-down) (6 . wheel-left) (7 . wheel-right)) .
> >
> > Is this inconsistency intended?
>
> Not sure what is the inconsistency you see here.
Ah, sorry, I misread related documents. I don't have an environments
on which emacs receives mouse-4/5 events for mouse wheel, so I couldn't
confirm actual behavior.
Because Mouse Input node on emacs.info say as below,
> When you click the left mouse button, Emacs receives a mouse-1
> event. To see what command is bound to that event, you can type C-h
> c and then press the left mouse button. Similarly, the middle mouse
> button is mouse-2 and the right mouse button is mouse-3. If you have
> a mouse with a wheel, the wheel events are commonly bound to either
> wheel-down or wheel-up, or mouse-4 and mouse-5, but that depends on
> the operating system configuration.
>
> In general, legacy X systems and terminals (see Using a Mouse in
> Text Terminals) will report mouse-4 and mouse-5, while all other
> systems will report wheel-down and wheel-up.
I believed wheel-down/up whould send mouse-4/5 events to Emacs.
--
Kazuhiro Ito
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#72585
; Package
emacs
.
(Thu, 15 Aug 2024 12:00:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 72585 <at> debbugs.gnu.org (full text, mbox):
Eli Zaretskii <eliz <at> gnu.org> writes:
>> From: Kazuhiro Ito <kzhr <at> d1.dion.ne.jp>
>> Date: Mon, 12 Aug 2024 11:22:54 +0900
>>
>>
>> mouse-wheel-down-event and mouse-wheel-up-event default value are
>> `mouse-4` and `mouse-5`, respectively. But mouse-wheel-buttons's
>> default is
>> ((4 . wheel-up) (5 . wheel-down) (6 . wheel-left) (7 . wheel-right)) .
>>
>> Is this inconsistency intended?
>
> Adding Stefan and Po Lu. Any comments?
It's intended, as by a series of historical accidents Emacs has a
`wheel-down event that is used for scrolling down and vice versa.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#72585
; Package
emacs
.
(Thu, 15 Aug 2024 23:58:01 GMT)
Full text and
rfc822 format available.
Message #20 received at 72585 <at> debbugs.gnu.org (full text, mbox):
Po Lu <luangruo <at> yahoo.com> writes:
> Eli Zaretskii <eliz <at> gnu.org> writes:
>
>>> From: Kazuhiro Ito <kzhr <at> d1.dion.ne.jp>
>>> Date: Mon, 12 Aug 2024 11:22:54 +0900
>>>
>>>
>>> mouse-wheel-down-event and mouse-wheel-up-event default value are
>>> `mouse-4` and `mouse-5`, respectively. But mouse-wheel-buttons's
>>> default is
>>> ((4 . wheel-up) (5 . wheel-down) (6 . wheel-left) (7 . wheel-right)) .
>>>
>>> Is this inconsistency intended?
>>
>> Adding Stefan and Po Lu. Any comments?
>
> It's intended, as by a series of historical accidents Emacs has a
> `wheel-down event that is used for scrolling down and vice versa.
A `wheel-up' event that is used for scrolling down. Sorry!
Reply sent
to
Kazuhiro Ito <kzhr <at> d1.dion.ne.jp>
:
You have taken responsibility.
(Fri, 16 Aug 2024 13:36:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Kazuhiro Ito <kzhr <at> d1.dion.ne.jp>
:
bug acknowledged by developer.
(Fri, 16 Aug 2024 13:36:03 GMT)
Full text and
rfc822 format available.
Message #25 received at 72585-done <at> debbugs.gnu.org (full text, mbox):
> >>> mouse-wheel-down-event and mouse-wheel-up-event default value are
> >>> `mouse-4` and `mouse-5`, respectively. But mouse-wheel-buttons's
> >>> default is
> >>> ((4 . wheel-up) (5 . wheel-down) (6 . wheel-left) (7 . wheel-right)) .
> >>>
> >>> Is this inconsistency intended?
> >>
> >> Adding Stefan and Po Lu. Any comments?
> >
> > It's intended, as by a series of historical accidents Emacs has a
> > `wheel-down event that is used for scrolling down and vice versa.
>
> A `wheel-up' event that is used for scrolling down. Sorry!
Stefan and Po Lu, thank you for your answers and sorry for my
misreading.
It is not a bug, so I'm closing the issue.
--
Kazuhiro Ito
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 14 Sep 2024 11:24:13 GMT)
Full text and
rfc822 format available.
This bug report was last modified 336 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.