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

advising w3 hotlists



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

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

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

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


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

thanks.
Bart

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


Emacspeak Files | Subscribe | Unsubscribe