Next: Keys, Previous: Connection Voices, Up: Customization [Contents][Index]
You can arrange speechd-el to use separate connections to Speech Dispatcher for certain buffers or major modes. This is basically useful to allow independent parameter setting for those buffers and major modes, both by hand and through the configuration (see Connection Voices).
Each Speech Dispatcher connection has its unique name. By default,
speechd-el uses a connection named "default"
. All you need to
create a separate connection is to let speechd-el choose a different
connection name in certain situations. The process of connection name
selection is driven by the speechd-speak-connections
variable.
speechd-speak-connections
¶Alist mapping major modes and buffers to Speech Dispatcher
connections. Each element of the alist is of the form
(mode-or-buffer . connection-name)
.
When speechd-el wants to send a message, it tests the current environment against the mode-or-buffer entries. mode-or-buffer may be one of the following objects, in the order of priority from the highest to the lowest:
nil
value if and only if the element should be applied
:minibuffer
, representing minibuffers
nil
, representing non-buffer areas, e.g. echo area
t
, representing the default value if nothing else matches
If more entries match in some situation, the entry with the highest priority is used.
connection-name is an arbitrary non-empty string naming the corresponding connection. If no connection with such a name is open in the running speechd-el, it is automatically created when there’s something to send to it.
speechd-cancelable-connections
¶List of names of connections that are cancelled by default when a cancel function is called.
Next: Keys, Previous: Connection Voices, Up: Customization [Contents][Index]