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

voice-lock-set-personality



>>>>> "Gary" == Gary Bishop <gb@xxxxxxxxxxx> writes:

    Gary> I'm plowing ahead to figure out for myself how to
    Gary> change voices in this dialog.  It looks like
    Gary> voice-lock-set-personality is exactly what I
    Gary> want. It takes the beginning and end of a region
    Gary> and a personality. But when I try this it has no
    Gary> effect. I made a minimal little function to call
I'm not sure if I responded to this.

Make sure you have:
1) voice-lock turned on
2) Note that by default emacspeak uses 
lazy-locking --this is good 
because you dont have to wait for a long time for a large
buffer to be voice-locked --however, lazy-lock 
can sometimes make determining what is going on difficult
when you go in and set personalities on your own 
with voice-lock-set-personality
--depending on the major mode that the buffer is in,
lazy-lock might go in and re-voiceify the buffer,
--and since this voiceification happens based on the major
mode that is active --your own call to
voice-lock-set-personality 
--a transient thing in some sense-- gets overriden.

    Gary> it like:

    Gary> (defun try-voice() "fool with voice locking"
    Gary> (interactive) (let ((here (point)))
    Gary> (forward-paragraph) (voice-lock-set-personality
    Gary> here (point) 'paul-monotone)))

    Gary> I run this and it moves the point and doesn't
    Gary> produce any errors, but it doesn't change the
    Gary> voice for that section of text either. I'm missing
    Gary> something basic here.

    Gary> thanks gb


    Gary> -----------------------------------------------------------------------------
    Gary> To unsubscribe or change your address send mail to
    Gary> "emacspeak-request@xxxxxxxxxxx" with a subject
    Gary> of "unsubscribe" or "help"

-- 
Best Regards,
--raman

      
Email:  raman@xxxxxxxxxxx
WWW:    http://cs.cornell.edu/home/raman/             
PGP:    http://cs.cornell.edu/home/raman/raman.asc 

-----------------------------------------------------------------------------
       To unsubscribe or change your address send mail to
"emacspeak-request@xxxxxxxxxxx" with a subject of "unsubscribe" or "help"


Emacspeak Files | Subscribe | Unsubscribe