@end menu
-@node Command Overview
+@node Command Overview, Defining Commands, Command Loop, Command Loop
@section Command Loop Overview
The command loop in SXEmacs is a standard event loop, reading events
does.
-@node Defining Commands
+@node Defining Commands, Interactive Call, Command Overview, Command Loop
@section Defining Commands
@cindex defining commands
@cindex commands, defining
@end menu
-@node Using Interactive
+@node Using Interactive, Interactive Codes, Defining Commands, Defining Commands
@subsection Using @code{interactive}
This section describes how to write the @code{interactive} form that
@var{function} is not interactive, @code{nil} will be returned.
@end defun
-@node Interactive Codes
+@node Interactive Codes, Interactive Examples, Using Interactive, Defining Commands
@subsection Code Characters for @code{interactive}
@cindex interactive code description
@cindex description for interactive codes
value becomes the argument for the command. Prompt.
@end table
-@node Interactive Examples
+@node Interactive Examples, , Interactive Codes, Defining Commands
@subsection Examples of Using @code{interactive}
@cindex examples of using @code{interactive}
@cindex @code{interactive}, examples of using
@end example
-@node Interactive Call
+@node Interactive Call, Command Loop Info, Defining Commands, Command Loop
@section Interactive Call
@cindex interactive call
@end defun
-@node Command Loop Info
+@node Command Loop Info, Events, Interactive Call, Command Loop
@section Information from the Command Loop
The editor command loop sets several Lisp variables to keep status
@end defvar
-@node Events
+@node Events, Reading Input, Command Loop Info, Command Loop
@section Events
@cindex events
@cindex input events
@end menu
-@node Event Types
+@node Event Types, Event Contents, Events, Events
@subsection Event Types
Events represent keyboard or mouse activity or status changes of various
@end table
-@node Event Contents
+@node Event Contents, Event Predicates, Event Types, Events
@subsection Contents of the Different Types of Events
Every event, no matter what type it is, contains a timestamp (which is
@end table
@end defun
-@node Event Predicates
+@node Event Predicates, Accessing Mouse Event Positions, Event Contents, Events
@subsection Event Predicates
The following predicates return whether an object is an event of a
@end defun
-@node Accessing Mouse Event Positions
+@node Accessing Mouse Event Positions, Accessing Other Event Info, Event Predicates, Events
@subsection Accessing the Position of a Mouse Event
Unlike other events, mouse events (i.e. motion, button-press,
@end menu
-@node Frame-Level Event Position Info
+@node Frame-Level Event Position Info, Window-Level Event Position Info, Accessing Mouse Event Positions, Accessing Mouse Event Positions
@subsubsection Frame-Level Event Position Info
The following functions return frame-level information about where
This will signal an error if the event is not a mouse event.
@end defun
-@node Window-Level Event Position Info
+@node Window-Level Event Position Info, Event Text Position Info, Frame-Level Event Position Info, Accessing Mouse Event Positions
@subsubsection Window-Level Event Position Info
The following functions return window-level information about where
button-press, button-release, or misc-user event.
@end defun
-@node Event Text Position Info
+@node Event Text Position Info, Event Glyph Position Info, Window-Level Event Position Info, Accessing Mouse Event Positions
@subsubsection Event Text Position Info
The following functions return information about the text (including the
@end defun
-@node Event Glyph Position Info
+@node Event Glyph Position Info, Event Toolbar Position Info, Event Text Position Info, Accessing Mouse Event Positions
@subsubsection Event Glyph Position Info
The following functions return information about the glyph (if any) that
@end defun
-@node Event Toolbar Position Info
+@node Event Toolbar Position Info, Other Event Position Info, Event Glyph Position Info, Accessing Mouse Event Positions
@subsubsection Event Toolbar Position Info
@defun event-over-toolbar-p event
@end defun
-@node Other Event Position Info
+@node Other Event Position Info, , Event Toolbar Position Info, Accessing Mouse Event Positions
@subsubsection Other Event Position Info
@defun event-over-border-p event
Otherwise, @code{nil} is returned.
@end defun
-@node Accessing Other Event Info
+@node Accessing Other Event Info, Working With Events, Accessing Mouse Event Positions, Events
@subsection Accessing the Other Contents of Events
The following functions allow access to the contents of events other
@end defun
-@node Working With Events
+@node Working With Events, Converting Events, Accessing Other Event Info, Events
@subsection Working With Events
SXEmacs provides primitives for creating, copying, and destroying
@end defun
-@node Converting Events
+@node Converting Events, , Working With Events, Events
@subsection Converting Events
SXEmacs provides some auxiliary functions for converting between events
@end defun
-@node Reading Input
+@node Reading Input, Waiting, Events, Command Loop
@section Reading Input
The editor command loop reads keyboard input using the function
@end menu
-@node Key Sequence Input
+@node Key Sequence Input, Reading One Event, Reading Input, Reading Input
@subsection Key Sequence Input
@cindex key sequence input
converts the character to lower case. Note that @code{lookup-key} does
not perform case conversion in this way.
-@node Reading One Event
+@node Reading One Event, Dispatching an Event, Key Sequence Input, Reading Input
@subsection Reading One Event
The lowest level functions for command input are those which read a
eval event will be the next event read after all pending events.
@end defun
-@node Dispatching an Event
+@node Dispatching an Event, Quoted Character Input, Reading One Event, Reading Input
@subsection Dispatching an Event
@cindex dispatching an event
@end defun
-@node Quoted Character Input
+@node Quoted Character Input, Peeking and Discarding, Dispatching an Event, Reading Input
@subsection Quoted Character Input
@cindex quoted character input
@need 2000
-@node Peeking and Discarding
+@node Peeking and Discarding, , Quoted Character Input, Reading Input
@subsection Miscellaneous Event Input Features
This section describes how to ``peek ahead'' at events without using
@end defun
-@node Waiting
+@node Waiting, Quitting, Reading Input, Command Loop
@section Waiting for Elapsed Time or Input
@cindex pausing
@cindex waiting
@xref{Time of Day}, for functions to get the current time.
-@node Quitting
+@node Quitting, Prefix Command Arguments, Waiting, Command Loop
@section Quitting
@cindex @kbd{C-g}
@cindex quitting
See the function @code{set-input-mode} in @ref{Terminal Input}.
-@node Prefix Command Arguments
+@node Prefix Command Arguments, Recursive Editing, Quitting, Command Loop
@section Prefix Command Arguments
@cindex prefix argument
@cindex raw prefix argument
@end deffn
-@node Recursive Editing
+@node Recursive Editing, Disabling Commands, Prefix Command Arguments, Command Loop
@section Recursive Editing
@cindex recursive command loop
@cindex recursive editing level
recursive edit is active, it returns 0.
@end defun
-@node Disabling Commands
+@node Disabling Commands, Command History, Recursive Editing, Command Loop
@section Disabling Commands
@cindex disabled command
@end defvar
-@node Command History
+@node Command History, Keyboard Macros, Disabling Commands, Command Loop
@section Command History
@cindex command history
@cindex complex command
minibuffer.
-@node Keyboard Macros
+@node Keyboard Macros, , Command History, Command Loop
@section Keyboard Macros
@cindex keyboard macros