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

Re: Tabulation problem, possibly a mac speech server bug



Raman,

This fixes the issue for me!  Thanks.

I'm taking a look into the calendar issue I also reported.

It appears to be different though to the tabulation one.  The function
emacspeak-calendar-speak-date uses dtk-speak but it's wrapped in a call
to tts-with-punctuations 'some.

This is what is causing my issue.  Simply commenting this out and
arrowing in the 
calendar works without delay.  Of course it does so without setting the
punctuation mode to some.

tts-with-punctuations appears to be a macro that saves the current
punctuation level, sets level to some then calls dtk-force to have the
speech server to execute the change punctuation.  Then executes the body
and restores the original punctuation setting.

I haven't gotten to the bottom of it but the issue is clearly to do with
the setting of the punctuation.  I can prove this by the fact that if
you are in the calendar with punctuation mode set to some then
everything works as expected.  In this cace tts-with-punctuations is not
setting the punctuation because it checks and finds the level is already
some so does nothing.

I can try and dig a bit deeper but that's what I've found so far.

Kind regards
Bart

"T. V. Raman" <tv.raman.tv@gmail.com> writes:

> David,
>
> I've checked in a change to table-ui -- rather than calling
> function message to echo what was spoken in the message area, I
> switched it to call dtk-speak directly -- this appears to fix the
> problem -- or at least makes it harder to reproduce.
>
> Please check what you see the elisp layer producing; we may  well
> have a deeper bug -- in which case it must be a really
> old,long-standing bug  that is probably getting tickled now that
> things are a lot faster than when this code was originally written.
>>>>>> "David" == David Tseng <davidtseng@gmail.com> writes:
>     David> This looks to be an issue on the elisp side. Arrowing
>     David> quickly around your example tablebetween 1 and 2, I
>     David> never receive a "1" in any form and there's also a
>     David> suspicious stop sent immediately after the first
>     David> utterance: gotline: s tts_sync_state all 0 0 1 500 q {
>     David> [{voice alex}] } q {2 } d d tts_set_punctuations none
>     David> d end
>     David> 
>     David> gotline: tts_set_punctuations all s tts_sync_state all
>     David> 0 0 1 500 end
>     David> 
>     David> gotline: q { [{voice alex}] } q {2 } d d
>     David> tts_set_punctuations none d end
>     David> 
>     David> 
>     David> At Thu, 03 Jan 2013 14:51:52 +1100, Bart Bunting
>     David> wrote:
>     David> 
>     >> 
>     >> Hi everyone,
>     >> 
>     >> I'm having some troubles with
>     >> emacspeak-table-display-table-in-region and I'm not sure
>     >> if it is actualy a speech server bug/issue. or something
>     >> else. I am hopeing that someone else using the mac server
>     >> can verify this behaviour and someone who is using another
>     >> speech server can confirm if it happens for them or not?
>     >> 
>     >> The simptoms are that when you have used c-e tab to
>     >> tabulate a region and you arrow around roughly every
>     >> second or so movement is not spoken.
>     >> 
>     >> However if you arrow very slowly, waiting for speech to
>     >> complete each time and then a bit more, everything gets
>     >> spoken.
>     >> 
>     >> The only other place I've ever noticed something similar
>     >> is when using the calendar. I never got to the bottom of
>     >> that issue, but with mac speech server speech doesn't stop
>     >> as expected.
>     >> 
>     >> Any help in verifying where this is happening would be
>     >> appreciated.
>     >> 
>     >> I am also running the latest version of the mac server
>     >> from svn.
>     >> 
>     >> 
>     >> Here is a very simple table to test with but anything will
>     >> work:
>     >> 
>     >> 1 test 2 this 3 table 4 to 5 see 6 if 7 it works
>     >> 
>     >> 
>     >> Kind regards
>     >> 
>     >> Bart
>     >> -- 
>     >> 
>     >> 
>     >> Kind regards
>     >> 
>     >> Bart
>     >> 
>     >> -----------------------------------------------------------------------------
>     >> To unsubscribe from the emacspeak list or change your
>     >> address on the emacspeak list send mail to
>     >> "emacspeak-request@cs.vassar.edu" with a subject of
>     >> "unsubscribe" or "help".
>     >> 
>     David> 
>     David> -----------------------------------------------------------------------------
>     David> To unsubscribe from the emacspeak list or change your
>     David> address on the emacspeak list send mail to
>     David> "emacspeak-request@cs.vassar.edu" with a subject of
>     David> "unsubscribe" or "help".
>
> -- 
> Best Regards,
> --raman
Bart
-- 


Kind regards

Bart

-----------------------------------------------------------------------------
To unsubscribe from the emacspeak list or change your address on the
emacspeak list send mail to "emacspeak-request@cs.vassar.edu" with a
subject of "unsubscribe" or "help".



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

priestdo@cs.vassar.edu No Soliciting!

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

Emacspeak Files | Emacspeak Blog | Search the archive