Next: , Previous: , Up: Command Loop   [Contents][Index]


25.5 Events

The SXEmacs command loop reads a sequence of events that represent keyboard or mouse activity.

Unlike in Emacs 18 and in FSF Emacs, events are a primitive Lisp type that must be manipulated using their own accessor and settor primitives. This section describes the representation and meaning of input events in detail.

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.

For information about how exactly the SXEmacs command loop works, See Reading Input.

Function: eventp object

This function returns non-nil if object is an input event.


Next: , Previous: , Up: Command Loop   [Contents][Index]