1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-30 09:00:31 -08:00
emacs/doc
Stefan Monnier 1f3371b46e Take stock of the wheel-up/down confusion
While we're hopefully all aware of the usual confusion between
the scroll operation moving the document or moving the viewport, Emacs
has its very own instance of that confusion where the
`mouse-wheel-down-event` variable is the one that (used to) hold
the value `wheel-up` and vice versa.

Thanks for Po Lu's commit 957b4f826a which not only fixed my change
but brought that confusion to my attention.
This patch doesn't fix the problem, but tries to fix the other places
in the code where we did not take it into account.

* doc/lispref/commands.texi (Misc Events): Mention the
wheel-up/down confusion.

* lisp/progmodes/flymake.el (flymake--mode-line-counter-map):
* lisp/completion-preview.el (completion-preview--mouse-map):
Fix wheel-up/down confusion.

* lisp/mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
Fix docstrings.
2024-01-24 12:57:33 -05:00
..
emacs Merge from origin/emacs-29 2024-01-20 06:25:59 -05:00
lang/fr/misc ; Add 2024 to copyright years 2024-01-02 10:30:05 +08:00
lispintro Fix info-xref-tests 2024-01-13 20:38:34 +02:00
lispref Take stock of the wheel-up/down confusion 2024-01-24 12:57:33 -05:00
man Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
misc Update from Gnulib by running admin/merge-gnulib 2024-01-20 11:45:38 -08:00