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 10:34:22 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

>>> This change will break many commands using timers.
> You should read "annoy", it break nothing, just send repeatedly an
> annoying message. (See eldoc-eval.el)

Ah, so the problem is the `message' call?
If so, that's easy to fix: wrap the timer's code inside its own
condition-case to catch the error before timer.el does.

> But maybe you are intoducing (temporarily) such code to improve some
> timer functions running in emacs ? 

It's definitely not temporary, no.  Silently dropping such errors makes
tracking down bugs much harder, so it's here to stay.


        Stefan



reply via email to

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