emacs-devel
[Top][All Lists]
Advanced

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

Re: Info: Console Vs GUI difference?


From: Jarek Czekalski
Subject: Re: Info: Console Vs GUI difference?
Date: Sun, 03 Nov 2013 20:02:46 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.1.0

W dniu 11/03/2013 04:51 PM, T.V. Raman pisze:
Here is what I have for the handler:
(defun emacspeak-error-handler  (data  context  calling-function)
   "Emacspeak custom error handling function."
   (tts-with-punctuations
    'all
    (dtk-speak
     (format "%s %s"
             (error-message-string data)
             (or context " ")))))


I installed this very handler with command:

(setq command-error-function 'emacspeak-error-handler)

It seems to work perfectly. Speaks "end-of-buffer", "arithmetic error", "buffer is read only". Echo area is all the time empty. Before installing the handler errors are accompanied with bell. Later there is no bell. Tested with Emacspeak r8509, the newest at the moment of writing this post.

Jarek




reply via email to

[Prev in Thread] Current Thread [Next in Thread]