[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 65e3568293: Fix indexing of mouse-wheel events
From: |
Eli Zaretskii |
Subject: |
master 65e3568293: Fix indexing of mouse-wheel events |
Date: |
Sat, 3 Sep 2022 12:12:45 -0400 (EDT) |
branch: master
commit 65e3568293b5c3188fad626617027eea54882b3d
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>
Fix indexing of mouse-wheel events
* doc/emacs/frames.texi (Mouse Commands): Add index entries for
wheel events.
---
doc/emacs/frames.texi | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/doc/emacs/frames.texi b/doc/emacs/frames.texi
index d78cbffaa7..93a6cd70d3 100644
--- a/doc/emacs/frames.texi
+++ b/doc/emacs/frames.texi
@@ -215,6 +215,10 @@ deactivating the mark. @xref{Shift Selection}.
@vindex mouse-wheel-follow-mouse
@vindex mouse-wheel-scroll-amount
@vindex mouse-wheel-progressive-speed
+@cindex wheel-up, a mouse event
+@cindex wheel-down, a mouse event
+@cindex wheel-left, a mouse event
+@cindex wheel-right, a mouse event
Some mice have a ``wheel'' which can be used for scrolling. Emacs
supports scrolling windows with the mouse wheel, by default, on most
graphical displays. To toggle this feature, use @kbd{M-x
@@ -224,7 +228,11 @@ buffers are scrolled. The variable
@code{mouse-wheel-progressive-speed} determines whether the scroll
speed is linked to how fast you move the wheel. This mode also
supports increasing or decreasing the font size, by default bound to
-scrolling with the @key{Ctrl} modifier.
+scrolling with the @key{Ctrl} modifier. When this mode is enabled,
+mouse wheel produces special events like @code{wheel-up} and
+@code{wheel-down}. (Some older systems report them as @code{mouse-4}
+and @code{mouse-5}.) If the mouse has a horizontal scroll wheel, it
+produces @code{wheel-left} and @code{wheel-right} events as well..
@vindex mouse-wheel-scroll-amount-horizontal
Emacs also supports horizontal scrolling with the @key{Shift}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 65e3568293: Fix indexing of mouse-wheel events,
Eli Zaretskii <=