emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: master e37eb7f: Add support for pixel wheel deltas on NS


From: Eli Zaretskii
Subject: Re: master e37eb7f: Add support for pixel wheel deltas on NS
Date: Fri, 26 Nov 2021 13:48:55 +0200

Btw, I have a general question regarding this "pixel-resolution"
scrolling support:

With mwheel.el, Emacs users can configure the meaning of each scroll
event in terms of text lines, via the mouse-wheel-scroll-amount
variable.  But with this new mode, there's no such user control: the
conversion of the scroll amount reported by the wheel event to pixels
is either hard-coded in our code, or (on NS) determined by the OS.
Does it strike someone as "un-Emacsy"?

Also, if we detect that the mouse wheel is capable of reporting
fine-resolution scrolls, we use that unconditionally, and users have
no say about that.  So if a user sets x-coalesce-scroll-events to nil
manually, but doesn't enable this new mode, they suddenly get much
faster scrolling because mwheel.el disregards the pixel-wise deltas.
Right?  So maybe we should make x-coalesce-scroll-events and internal
variable, and say so in its doc string, because it should only be set
by this mode and its ilk, which do pay attention to the pixel deltas?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]