[Top][All Lists]

[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: Thu, 31 Oct 2013 19:10:36 -0700

I just added (backtrace) at the top of the advice form.

Best Regards,

On 10/31/13, Stefan Monnier <address@hidden> wrote:
>> -- 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]