www.delorie.com/gnu/docs/elisp-manual-21/elisp_309.html   search  
Buy the book!

GNU Emacs Lisp Reference Manual

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

21.7 Reading Input

The editor command loop reads key sequences using the function read-key-sequence, which uses read-event. These and other functions for event input are also available for use in Lisp programs. See also momentary-string-display in 38.8 Temporary Displays, and sit-for in 21.9 Waiting for Elapsed Time or Input. See section 40.8 Terminal Input, for functions and variables for controlling terminal input modes and debugging terminal input. See section 40.8.2 Translating Input Events, for features you can use for translating or modifying input events while reading them.

For higher-level input facilities, see 20. Minibuffers.

21.7.1 Key Sequence Input  How to read one key sequence.
21.7.2 Reading One Event  How to read just one event.
21.7.3 Invoking the Input Method  How reading an event uses the input method.
21.7.4 Quoted Character Input  Asking the user to specify a character.
21.7.5 Miscellaneous Event Input Features  How to reread or throw away input events.

  webmaster   donations   bookstore     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003