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

defadvice and assumptions on auditory icons




In general the speech-enablers for  no interactive command should
assume that auditory icons are on  i.e., they should be producing
a spoken message --- either via elisp function "message" or via
dtk-speak.

Use message if it's ok for the spoken message to show up in the
echo area; use dtk-speak otherwise.

the advice in w3m needs a lot of work -- since I myself dont use
emacs/w3m, it needs an owner/maintainer if it is to remain useful
--- at present it's mostly unmaintained cruft.

>>>>> "Robert" == Robert D Crawford <rdc1x@comcast.net> writes:
    Robert> Is there an assumption made that everyone uses
    Robert> auditory icons?  I have been looking at the defadvice
    Robert> for certain functions, in this case w3m, and noticing
    Robert> that there is no spoken feedback.  For example, here
    Robert> is the defadvice for the next page in w3m:
    Robert> 
    Robert> (defadvice w3m-view-next-page (around emacspeak pre
    Robert> act) "Speech-enable W3M."  (cond ((interactive-p)
    Robert> (emacspeak-auditory-icon 'select-object) (let
    Robert> ((emacspeak-speak-messages nil)) ad-do-it)) (t
    Robert> ad-do-it))ad-return-value)
    Robert> 
    Robert> If one has auditory icons turned off, there is
    Robert> nothing that tells the user that a change is made.
    Robert> Is this by design?  If it is not buy design, should I
    Robert> begin to redefine the defadvice so that there is
    Robert> spoken feedback as well as an icon?
    Robert> 
    Robert> Thanks,
    Robert> 
    Robert> rdc --
    Robert> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Robert> Robert D. Crawford rdc1x@comcast.net
    Robert> 
    Robert> It was all so different before everything changed.
    Robert> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Robert> 
    Robert> -----------------------------------------------------------------------------
    Robert> To unsubscribe from the emacspeak list or change your
    Robert> address on the emacspeak list send mail to
    Robert> "emacspeak-request@cs.vassar.edu" with a subject of
    Robert> "unsubscribe" or "help"

-- 
Best Regards,
--raman

      
Email:  raman@users.sf.net
WWW:    http://emacspeak.sf.net/raman/
AIM:    emacspeak       GTalk: tv.raman.tv@gmail.com
PGP:    http://emacspeak.sf.net/raman/raman-almaden.asc
Google: tv+raman 

-----------------------------------------------------------------------------
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