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

Re: Emacspeak doesn't read echo area?



There are different mechanisms to display a message in echo area.
Emacspeak can install advices to basic functions used to display
messages from Lisp such as `signal' or `message' but sometimes this
happens at the C level where Emacspeak cannot catch up. It still can
check the contents of echo area from post-command-hook - a hook executed
after every command. But then how to decide which messages need to be
spoken? It's not exactly clear.

In the case of undefined keys Emacs rings the bell and you can customize
its behavior through ring-bell-function. Like this:

(setq ring-bell-function
      (lambda ()
	(dtk-stop)
	(emacspeak-auditory-icon 'warn-user)
	(if (memq this-command '(nil undefined))
	    (dtk-speak "undefined key"))))

Lubos Pintes wrote:

LP> Hi,
LP> When for example I press F6 in Emacs while Emacspeak is running, the "<F6>
LP> is undefined" message appears in echo area. But Emacspeak doesn't read it.
LP> Why?
LP> Or this is a misconfiguration on my side/my server?
LP> I am on Windows.

-- 
With best regards
Dmitri Paduchikh

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



If you have questions about this archive or had problems using it, please send mail to:

priestdo@cs.vassar.edu No Soliciting!

Emacspeak List Archive | 2010 | 2009 | 2008 | 2007 | 2006 | 2005 | 2004 | 2003 | 2002 | 2001 | 2000 | 1999 | 1998 | Pre 1998

Emacspeak Files | Emacspeak Blog | Search the archive