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

advising w3 hotlists

P.S. the reason you hear no speech with your before advice
is probably because 
the speech gets flushed by some other event.

>>>>> "bart" == bart  <bart@socs.uts.edu.au> writes:

    bart> hi, i've been trying to get the hotlist commands
    bart> to speak in w3.

    bart> this little bit of advice doesn't work at all :(
    bart> it's suposed to anounce a prompt for
    bart> w3-hotlist-apropos.

    bart> (defadvice w3-hotlist-apropos (before emacspeak
    bart> pre act) "prompt for hotlist regexp."  (when
    bart> (interactive-p) (dtk-say "hotlist regexp?")  ))

    bart> if however you change it to be after advice, it
    bart> works fine.  although it is rather useless as it
    bart> anounces the prompt after you've already entered
    bart> the regexp and hit return.  can someone take a
    bart> look and see just why nothing is being spoken with
    bart> the before advice?

    bart> (defadvice w3-hotlist-apropos (after emacspeak pre
    bart> act) "prompt for hotlist regexp."  (when
    bart> (interactive-p) (dtk-say "hotlist regexp?")  ))

    bart> thanks.  Bart

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

Best Regards,

      Adobe Systems                 Tel: 1 408 536 3945   (W14-128)
      Advanced Technology Group     Fax: 1 408 537 4042 
      W14-128 345 Park Avenue     Email: raman@adobe.com 
      San Jose , CA 95110 -2704     Email:  raman@cs.cornell.edu
      http://labrador.corp.adobe.com/~raman/        (Adobe Intranet)
      http://cs.cornell.edu/home/raman/raman.html    (Cornell)
    Disclaimer: The opinions expressed are my own and in no way should be taken
as representative of my employer, Adobe Systems Inc.

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

Emacspeak Files | Subscribe | Unsubscribe