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

Voice locking and new engine

The old voice lock code is no longer part of emacspeak --
>>>>> "Tim" == Tim Cross <tcross@rapttech.com.au> writes:

    Tim> This question is really directed to Raman, but I figured
    Tim> others might benefit from the answer, so have sent it to the
    Tim> list.

    Tim> My question concerns the new voice lock engine which is now
    Tim> based on faces rather than using its own separate voice
    Tim> locking engine. What is the situation with maintaining
    Tim> backwards compatibility? that is, if you run emacspeak on a
    Tim> pre emacs 21 version, does it automatically revert to using
    Tim> the old voice lock engine?

    Tim> The reason I was wondering this is with respect to writing
    Tim> new emacspeak modes. Should we still be creating regular
    Tim> expressions containing keywords to be voicified with specific
    Tim> personalities as was the case in the old voice lock engine
    Tim> and which is no longer required for the new engine or, for
    Tim> new modes, should we just do the advising of functions to
    Tim> provide auditory feedback and not worry about the old
    Tim> voice-lock engine requirements? I guess I'm really asking how
    Tim> much we want to maintain backwards compatibility?

    Tim> If we are going to maintain backwards compatibility - are
    Tim> there any predicates which can be used to evaluate which
    Tim> voice lock engine is being used? As an example, if I need to
    Tim> advise a function differently depending on which voice lock
    Tim> engine is in use, is there a predicate to test for or should
    Tim> I just test for major emacs version and assume if it is
    Tim> greater than or equal to emacs 21, then use the new font lock
    Tim> engine and its functions, otherwise, use the old voice lock
    Tim> engine and its functions. I did have a search, but didn't
    Tim> come up with anything.

    Tim> Tim

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

Best Regards,

Email:  raman@cs.cornell.edu
WWW: http://www.cs.cornell.edu/home/raman/             
AIM: TVRaman
PGP:    http://www.cs.cornell.edu/home/raman/raman.asc 

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"

Emacspeak Files | Subscribe | Unsubscribe | Search