Setting language.

Pierre Lorenzon pollock.nageoire at wanadoo.fr
Wed Jun 22 14:27:31 CEST 2005


Hi,

I noticed that the set language mechanism is not
similar to the other set parameter mechanisms.
The method speechd-set-language is not build by
the speechd--generate-set-command macro. Moreover the
method speechd-set-language does not match its documentation
in the sens that the documetation claims that
the set-language is a local action and the
implementation sets a global value.

I personnaly think that the language setting
should be a local operation (i.e. proper to
one connection and maybe one buffer). Indded if you
set a new language for a buffer you not
necessarily need that all messages are affected by this
setting. Hence I removed the definition
of speechd-set-language and let it defined by the
speechd--generate-set-command macro. It does not seem
to generate any problem for the moment.

Were their good reasons that I did not notice not
to implement set-language with the
speechd--generate-set-command macro ?

Bests

Pierre



More information about the Speechd mailing list