emacs-devel
[Top][All Lists]
Advanced

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

Re: Pixel scrolling support


From: Po Lu
Subject: Re: Pixel scrolling support
Date: Wed, 18 May 2022 11:11:59 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux)

Michael Heerdegen <michael_heerdegen@web.de> writes:

> This overwrites the mwheel bindings in any buffer with pixel-scroll
> functions, and since it's a minor-mode, it wins over major-mode
> bindings.
>
> For example, osm.el (in Gnu Elpa) uses the mouse wheel to zoom the map.
> Since `pixel-scroll-precision-mode' is a global minor mode, it is not
> even trivial to work around this problem in one's config.

That's not the problem, since osm.el doesn't bind itself to mouse
wheels, but uses the mwheel scrolling function variables instead.

Precision scrolling must bind itself to wheel events directly, since it
needs information that isn't available to the mwheel-scroll functions.

osm.el should be modified to bind its zooming commands to the mouse
wheels themselves instead of using the mwheel variables.


reply via email to

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