unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#49803: 27.2; Mouse wheel on MacOS is reported as mouse-4 and mouse-5, but Emacs mwheel seems to use wheel-up/wheel-down instead
@ 2021-08-01  2:27 Didier
  2021-08-01  6:18 ` Eli Zaretskii
  0 siblings, 1 reply; 21+ messages in thread
From: Didier @ 2021-08-01  2:27 UTC (permalink / raw)
  To: 49803

[-- Attachment #1: Type: text/plain, Size: 829 bytes --]

I'm on a MacBook Pro with macOS Big Sur, and on both the laptop trackpad
and with my plugged in USB mouse, the wheel or 2-finger up/down on
trackpad, is reported to Emacs when in terminal as mouse-4 and mouse-5.
That means that scroll doesn't work in Terminal.app or in iTerm2 on MAC,
since mouse-4 and mouse-5 are not bound.

In the GUI Mac it works, because it gets reported as wheel-up and
wheel-down.

My thought is maybe here
https://github.com/emacs-mirror/emacs/blob/master/lisp/mwheel.el#L54
there should be an additional check for if its running with a
window-system or not?


In GNU Emacs 27.2 (build 1, x86_64-apple-darwin18.7.0, NS appkit-1671.60
Version 10.14.6 (Build 18G95))
of 2021-03-27 built on builder10-14.porkrind.org
Windowing system distributor 'Apple', version 10.3.2022
System Description:  macOS 11.3.1

[-- Attachment #2: Type: text/html, Size: 11290 bytes --]

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2022-08-22 13:14 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-08-01  2:27 bug#49803: 27.2; Mouse wheel on MacOS is reported as mouse-4 and mouse-5, but Emacs mwheel seems to use wheel-up/wheel-down instead Didier
2021-08-01  6:18 ` Eli Zaretskii
2021-08-02  6:44   ` Didier
2021-08-02 11:21     ` Eli Zaretskii
2021-08-09 10:29       ` Robert Pluim
2021-08-10 12:44         ` Eli Zaretskii
2021-08-11  9:24           ` Robert Pluim
2021-08-11 12:03             ` Eli Zaretskii
2021-08-11 14:59               ` Robert Pluim
2021-08-11 16:41                 ` Eli Zaretskii
2021-08-11 17:10                   ` Robert Pluim
2021-08-11 17:38                     ` Eli Zaretskii
2021-08-12  7:48                       ` Robert Pluim
2021-08-12  8:11                         ` Eli Zaretskii
2021-08-12  9:54                           ` Robert Pluim
2022-08-22 10:38                     ` Lars Ingebrigtsen
2022-08-22 11:59                       ` Robert Pluim
2022-08-22 12:03                         ` Lars Ingebrigtsen
2022-08-22 12:12                       ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-08-22 12:14                         ` Lars Ingebrigtsen
2022-08-22 13:14                           ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).