[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Why timers are now catching errors
From: |
Thierry Volpiatto |
Subject: |
Re: Why timers are now catching errors |
Date: |
Sun, 13 Jan 2013 16:51:14 +0100 |
User-agent: |
Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.2.92 (gnu/linux) |
Stefan Monnier <address@hidden> writes:
>>>> 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.
Of course I can do that. (Already done locally)
>> 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.
Hmm, I see, what about sending such messages only when `debug-on-error' is
enabled ?
>
> Stefan
--
Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997
- Why timers are now catching errors, Thierry Volpiatto, 2013/01/13
- Re: Why timers are now catching errors, Stefan Monnier, 2013/01/13
- Re: Why timers are now catching errors, Thierry Volpiatto, 2013/01/13
- Re: Why timers are now catching errors, Stefan Monnier, 2013/01/13
- Re: Why timers are now catching errors,
Thierry Volpiatto <=
- Re: Why timers are now catching errors, Thierry Volpiatto, 2013/01/13
- Re: Why timers are now catching errors, Thierry Volpiatto, 2013/01/13
- Re: Why timers are now catching errors, Eli Zaretskii, 2013/01/13
- Re: Why timers are now catching errors, Eli Zaretskii, 2013/01/13
- Re: Why timers are now catching errors, Thierry Volpiatto, 2013/01/13
- Re: Why timers are now catching errors, Thierry Volpiatto, 2013/01/13
- Re: Why timers are now catching errors, Eli Zaretskii, 2013/01/13
- Re: Why timers are now catching errors, Thierry Volpiatto, 2013/01/13
- Re: Why timers are now catching errors, Eli Zaretskii, 2013/01/13
- Re: Why timers are now catching errors, Eli Zaretskii, 2013/01/13