emacs-devel
[Top][All Lists]
Advanced

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

Re: Why timers are now catching errors


From: Stefan Monnier
Subject: Re: Why timers are now catching errors
Date: Sun, 13 Jan 2013 17:50:47 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

> Hmm, I see, what about sending such messages only when `debug-on-error' is
> enabled ?

No, when debug-on-error is enabled, you already get a backtrace, so
there's no need for an additional message.

But the point is that such errors (and hence messages) should be rare
and correspond to actual real problems that need to be fixed.
For "normal errors", the timer's code should catch/silence the error
rather than let it get to timer.el.


        Stefan



reply via email to

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