emacs-devel
[Top][All Lists]
Advanced

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

Info: Console Vs GUI difference?


From: T.V. Raman
Subject: Info: Console Vs GUI difference?
Date: Sun, 3 Nov 2013 11:05:57 -0800

It doesn't work with the recommended means of using add-function
-- so perhaps there is a bug in nadvice

-- 
Best Regards,
--raman


On 11/3/13, Jarek Czekalski <address@hidden> wrote:
> 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]