From: Eli Zaretskii Date: Sat, 3 Sep 2022 14:38:53 +0000 (+0300) Subject: ; Fix recent additions to Emacs manual X-Git-Tag: emacs-29.0.90~1856^2~759 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=06f440eb814636fc6c5ed9d785a2f5ef980ea5e8;p=emacs.git ; Fix recent additions to Emacs manual * doc/emacs/commands.texi (User Input, Mice): Fix punctuation, indexing, and wording. --- diff --git a/doc/emacs/commands.texi b/doc/emacs/commands.texi index 9d08dd057c2..ada3bf6a437 100644 --- a/doc/emacs/commands.texi +++ b/doc/emacs/commands.texi @@ -69,7 +69,7 @@ where the @key{Meta} key does not function reliably. Emacs has extensive support for using mouse buttons, mouse wheels and other pointing devices like touchpads and touch screens. -@xref{Mice} for details. +@xref{Mice}, for details. @cindex keys stolen by window manager @cindex window manager, keys stolen by @@ -141,17 +141,20 @@ use @key{F1} to display a list of commands starting with @key{ESC}. @node Mice @section Mice +@cindexd mouse input By default, Emacs supports all the normal mouse actions like setting the cursor by clicking on the left mouse button, and selecting an area -by dragging the mouse cursor. All mouse actions can be bound to -commands in the same way you bind keyboard events (@pxref{Keys}). +by dragging the mouse pointer. All mouse actions can be used to bind +commands in the same way you bind them to keyboard events +(@pxref{Keys}). This section provides a general overview of using the +mouse in Emacs; @pxref{Mouse Commands}, and the sections that follow +it, for more details about mouse commands in Emacs. -@cindex mouse-1 When you click the left mouse button, Emacs receives a -@code{mouse-1} event. To see what command that event is bound to, you -can say @kbd{C-h c} and then use the left mouse button. Similarly, -the middle mouse button is @code{mouse-2} and the left mouse button is +@code{mouse-1} event. To see what command is bound to that event, you +can type @kbd{C-h c} and then press the left mouse button. Similarly, +the middle mouse button is @code{mouse-2} and the right mouse button is @code{mouse-3}. If you have a mouse with a wheel, the wheel events are commonly bound to either @code{wheel-down} or @code{wheel-up}, or @code{mouse-4} and @code{mouse-5}, but that depends on the operating @@ -172,6 +175,7 @@ can bind a special command that triggers when you, for instance, holds down the Meta key and then uses the middle mouse button. In that case, the event name will be @code{M-mouse-2}. +@cindex touchscreen events On some systems, you can also bind commands for handling touch screen events. In that case, the events are called @code{touchscreen-update} and @code{touchscreen-end}.