Re: timers and match-data

2005-05-31 Thread Richard Stallman
To avoid such problems, either: 1. Every function that waits for input or otherwise allows for timers to run should save and restore the match data. 2. We should make timers automatically save and restore match data. 3. Any individual timer function that potentially co

Re: timers and match-data

2005-05-30 Thread Luc Teirlinck
>From my prior message: 1. Every function that waits for input or otherwise allows for timers to run should save and restore the match data. This is probably not unreasonable, as every function that asks a minibuffer question already needs to store the match data for other reasons a

timers and match-data

2005-05-30 Thread Luc Teirlinck
(elisp)Saving Match Data contains: Emacs automatically saves and restores the match data when it runs process filter functions (*note Filter Functions::) and process sentinels (*note Sentinels::). But this apparently does not apply to timers. This leads to very concrete problems. If on