[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
- 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 <=
- 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, 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