[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Search]

Small patch to make speaking time responsive



Hi,

I had noticed that if some text was being spoken that using c-e c-t to
speak the time could wait for the current utterance to complete before
the speech was interupted.  I find this mildly annoying.

I simply inserted a call to dtk-stop prior to the call to dtk-speak in
emacspeak-speak-time.

I'm not sure if this is the correct approach but it certainly works for
me.

Patch attached for what it's worth.

Index: lisp/emacspeak-speak.el
===================================================================
--- lisp/emacspeak-speak.el	(revision 8062)
+++ lisp/emacspeak-speak.el	(working copy)
@@ -1892,6 +1892,7 @@
     (call-interactively 'emacspeak-speak-world-clock))
    (t
     (tts-with-punctuations 'some
+			   (dtk-stop)
                            (dtk-speak
                             (propertize
                              (format-time-string

Kind regards

Bart
-- 


Kind regards

Bart


If you have questions about this archive or had problems using it, please send mail to:

priestdo@xxxxxxxxxxx No Soliciting!

Emacspeak List Archive | 2010 | 2009 | 2008 | 2007 | 2006 | 2005 | 2004 | 2003 | 2002 | 2001 | 2000 | 1999 | 1998 | Pre 1998

Emacspeak Files | Emacspeak Blog