summaryrefslogtreecommitdiff
path: root/devdocs/elisp/mouse-events.html
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2024-04-07 13:41:34 -0500
committerCraig Jennings <c@cjennings.net>2024-04-07 13:41:34 -0500
commit754bbf7a25a8dda49b5d08ef0d0443bbf5af0e36 (patch)
treef1190704f78f04a2b0b4c977d20fe96a828377f1 /devdocs/elisp/mouse-events.html
new repository
Diffstat (limited to 'devdocs/elisp/mouse-events.html')
-rw-r--r--devdocs/elisp/mouse-events.html6
1 files changed, 6 insertions, 0 deletions
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 @@
+ <h4 class="subsection">Mouse Events</h4> <p>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 <small>CAR</small> 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 <a href="repeat-events">Repeat Events</a>). The rest of the list elements give position and time information. </p> <p>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 ‘<samp>e</samp>’ interactive code. See <a href="interactive-codes">Interactive Codes</a>. </p> <p>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. </p><div class="_attribution">
+ <p class="_attribution-p">
+ Copyright &copy; 1990-1996, 1998-2022 Free Software Foundation, Inc. <br>Licensed under the GNU GPL license.<br>
+ <a href="https://www.gnu.org/software/emacs/manual/html_node/elisp/Mouse-Events.html" class="_attribution-link">https://www.gnu.org/software/emacs/manual/html_node/elisp/Mouse-Events.html</a>
+ </p>
+</div>