(lispref.info)Reading Input

Next: Waiting Prev: Input Events Up: Command Loop

Reading Input

   The editor command loop reads keyboard input using the function
`next-event' and constructs key sequences out of the events using
`dispatch-event'.  Lisp programs can also use the function
`read-key-sequence', which reads input a key sequence at a time.  See
also `momentary-string-display' in Note: Temporary Displays, and
`sit-for' in Note: Waiting.  Note: Terminal Input, for functions
and variables for controlling terminal input modes and debugging
terminal input.

   For higher-level input facilities, see Note: Minibuffers.

* Key Sequence Input
How to read one key sequence.
* Reading One Event
How to read just one event.
* Dispatching an Event
What to do with an event once it has been read.
* Quoted Character Input
Asking the user to specify a character.
* Peeking and Discarding
How to reread or throw away input events.

automatically generated by info2www