Next: Reading Input, Previous: Command Loop Info, Up: Command Loop [Contents][Index]
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.
This function returns non-nil
if object is an input event.
• Event Types: | Events come in different types. | |
• Event Contents: | What the contents of each event type are. | |
• Event Predicates: | Querying whether an event is of a particular type. | |
• Accessing Mouse Event Positions: | Determining where a mouse event occurred, and over what. | |
• Accessing Other Event Info: | Accessing non-positional event info. | |
• Working With Events: | Creating, copying, and destroying events. | |
• Converting Events: | Converting between events, keys, and characters. |
Next: Reading Input, Previous: Command Loop Info, Up: Command Loop [Contents][Index]