Command Loop
When you run Emacs, it enters the editor command loop almost immediately. This loop reads key sequences, executes their definitions, and displays the results. In this chapter, we describe how these things are done, and the subroutines that allow Lisp programs to do them.
- Command Loop Overview
- Defining Commands
- Interactive Call
- Distinguish Interactive Calls
- Information from the Command Loop
- Adjusting Point After Commands
- Input Events
- Reading Input
- Special Events
- Waiting for Elapsed Time or Input
- Quitting
- Prefix Command Arguments
- Recursive Editing
- Disabling Commands
- Command History
- Keyboard Macros