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: Stefan Monnier
Subject: Re: Info: Console Vs GUI difference?
Date: Thu, 31 Oct 2013 21:32:25 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

> -- Here are the advice fragments I have for error, user-error and
> signal.

Can you show the code you used to try and get the backtrace?

> (defadvice signal (before emacspeak pre act compile)
>   "Speak the signalled  message."
>   (when emacspeak-speak-signals
>     (let ((msg (first (ad-get-arg 1))))
>       (when (and msg (> (length msg) 0))
>         (tts-with-punctuations 'all (dtk-speak msg))))))

I'd only use this advice (and throw away the error and user-error
signals), and extend it to check (ad-get-arg 0) for equality with
`error' or `user-error'.


        Stefan



reply via email to

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