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


GNU Emacs Lisp Reference Manual

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

21. 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.

21.1 Command Loop Overview  How the command loop reads commands.
21.2 Defining Commands  Specifying how a function should read arguments.
21.3 Interactive Call  Calling a command, so that it will read arguments.
21.4 Information from the Command Loop  Variables set by the command loop for you to examine.
21.5 Adjusting Point After Commands  Adjustment of point after a command.
21.6 Input Events  What input looks like when you read it.
21.7 Reading Input  How to read input events from the keyboard or mouse.
21.8 Special Events  Events processed immediately and individually.
21.9 Waiting for Elapsed Time or Input  Waiting for user input or elapsed time.
21.10 Quitting  How C-g works. How to catch or defer quitting.
21.11 Prefix Command Arguments  How the commands to set prefix args work.
21.12 Recursive Editing  Entering a recursive edit, and why you usually shouldn't.
21.13 Disabling Commands  How the command loop handles disabled commands.
21.14 Command History  How the command history is set up, and how accessed.
21.15 Keyboard Macros  How keyboard macros are implemented.


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