From 754bbf7a25a8dda49b5d08ef0d0443bbf5af0e36 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sun, 7 Apr 2024 13:41:34 -0500 Subject: new repository --- devdocs/elisp/mouse-events.html | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 devdocs/elisp/mouse-events.html (limited to 'devdocs/elisp/mouse-events.html') diff --git a/devdocs/elisp/mouse-events.html b/devdocs/elisp/mouse-events.html new file mode 100644 index 00000000..40679458 --- /dev/null +++ b/devdocs/elisp/mouse-events.html @@ -0,0 +1,6 @@ +

Mouse Events

Emacs supports four kinds of mouse events: click events, drag events, button-down events, and motion events. All mouse events are represented as lists. The CAR of the list is the event type; this says which mouse button was involved, and which modifier keys were used with it. The event type can also distinguish double or triple button presses (see Repeat Events). The rest of the list elements give position and time information.

For key lookup, only the event type matters: two events of the same type necessarily run the same command. The command can access the full values of these events using the ‘e’ interactive code. See Interactive Codes.

A key sequence that starts with a mouse event is read using the keymaps of the buffer in the window that the mouse was in, not the current buffer. This does not imply that clicking in a window selects that window or its buffer—that is entirely under the control of the command binding of the key sequence.

+

+ Copyright © 1990-1996, 1998-2022 Free Software Foundation, Inc.
Licensed under the GNU GPL license.
+ https://www.gnu.org/software/emacs/manual/html_node/elisp/Mouse-Events.html +

+
-- cgit v1.2.3