1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 04:10:54 -08:00
emacs/doc
Stefan Monnier db8890b3c9 mwheel.el: Unconditionally use the wheel-up/down/... events
The `mouse-wheel-DIR-event` vars were introduced because under X11
we get different `mouse-N` events depending on the users' mouse and
those same events can be used for other things for other rodents, so we
can't unconditionally treat those events as mouse-wheel events.

But this does not apply to the `wheel-up/down/...` events.
So hard code them.

* lisp/mwheel.el (mwheel--is-dir-p): Always consider the `wheel-DIR` events.
(mouse-wheel--setup-bindings): Always bind the `wheel-DIR` events.

* lisp/completion-preview.el (completion-preview--mouse-map):
Unconditionally bind the `wheel-DIR` events.
* lisp/edmacro.el (edmacro-fix-menu-commands): Hard code the
`wheel-DIR` events as mouse events regardless of `mouse-wheel-*-event`s.
* lisp/progmodes/flymake.el (flymake--mode-line-counter-map):
Do nothing, because it's already been done in commit e5be6c7ae3.

* doc/lispref/commands.texi (Misc Events): Document the need to use
`wheel-up/down/left/right` unconditionally.
2024-01-20 15:03:26 -05:00
..
emacs Merge from origin/emacs-29 2024-01-06 08:20:19 -05:00
lang/fr/misc ; Add 2024 to copyright years 2024-01-02 10:30:05 +08:00
lispintro ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
lispref mwheel.el: Unconditionally use the wheel-up/down/... events 2024-01-20 15:03:26 -05:00
man Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
misc Clarify purpose of module aliases in ERC 2024-01-07 15:11:26 -08:00