Go to the first, previous, next, last section, table of contents.
The Emacs Lisp interface to ToolTalk is similar, at least in spirit,
to the standard C ToolTalk API. Only the message and pattern parts
of the API are supported at present; more of the API could be added
if needed. The Lisp interface departs from the C API in a few ways:
-
ToolTalk is initialized automatically at XEmacs startup-time. Messages
can only be sent other ToolTalk applications connected to the same X11
server that XEmacs is running on.
-
There are fewer entry points; polymorphic functions with keyword
arguments are used instead.
-
The callback interface is simpler and marginally less functional.
A single callback may be associated with a message or a pattern;
the callback is specified with a Lisp symbol (the symbol should
have a function binding).
-
The session attribute for messages and patterns is always
initialized to the default session.
-
Anywhere a ToolTalk enum constant, e.g. `TT_SESSION', is valid, one
can substitute the corresponding symbol, e.g.
'TT_SESSION. This
simplifies building lists that represent messages and patterns.
Go to the first, previous, next, last section, table of contents.