GNU bug report logs - #3863
23.1.50; possible save-match-data in copyright.el

Previous Next

Package: emacs;

Reported by: Kevin Ryde <user42 <at> zip.com.au>

Date: Thu, 16 Jul 2009 00:10:05 UTC

Severity: normal

Done: Kevin Ryde <user42 <at> zip.com.au>

Bug is archived. No further changes may be made.

Full log


Message #65 received at 3863 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
To: Chong Yidong <cyd <at> stupidchicken.com>
Cc: 3863 <at> debbugs.gnu.org, Kevin Ryde <user42 <at> zip.com.au>
Subject: Re: bug#3863: 23.1.50; possible save-match-data in copyright.el
Date: Fri, 17 Jul 2009 12:00:36 -0400
>>> I'm not sure what you're referring to.  What other code runs during
>>> y-or-n-p (excluding timers, which are supposed to save the match data)?
>> 
>> Timers,

> As the Lisp manual states,

>      If a timer function calls functions that can change the match data,
>   it should save and restore the match data.

> If a timer fails to do this, it's a bug, and should be fixed.

Wonderful, so we all agree there's no need to make y-or-n-p save the
match-data.


        Stefan



This bug report was last modified 15 years and 239 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.