60.1 SXEmacs ToolTalk API Summary
The SXEmacs 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 SXEmacs startup-time. Messages
can only be sent other ToolTalk applications connected to the same X11
server that SXEmacs 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.