From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Philipp Stephani
I=E2=80=99ve started writing an Emacs module to access = NSSpeechSynthesizer on OS X (and maybe GNUStep though I haven=E2=80=99t tes= ted it there).=C2=A0 I=E2=80=99ve been using the mod-test module as an exam= ple and I have it working reasonably well except that I don=E2=80=99t have = any idea how to run a callback.
When the synthesizer is done speaking it sends an Objective-C message speec= hSynthesizer:didFinishSpeaking.=C2=A0 From there I would like to run an eli= sp hook, say `ns-speech-finished-speaking-hook`.=C2=A0 How can I do this?= =C2=A0 Do I have to squirrel away a pointer to an emacs_env somehow?=C2=A0 = I tried naively storing env from a previous call but, not surprisingly, the= pointer is invalid when I try to use it.