From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.bugs Subject: bug#3863: 23.1.50; possible save-match-data in copyright.el Date: Fri, 17 Jul 2009 06:00:39 +0200 Message-ID: References: <87bpnkk88s.fsf@stupidchicken.com> Reply-To: Lennart Borgman , 3863@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1247804272 14306 80.91.229.12 (17 Jul 2009 04:17:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 17 Jul 2009 04:17:52 +0000 (UTC) Cc: 3863@emacsbugs.donarmstrong.com, Kevin Ryde , Chong Yidong To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jul 17 06:17:45 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MRetC-00055F-VA for geb-bug-gnu-emacs@m.gmane.org; Fri, 17 Jul 2009 06:17:43 +0200 Original-Received: from localhost ([127.0.0.1]:42772 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MRetC-0004Vj-CM for geb-bug-gnu-emacs@m.gmane.org; Fri, 17 Jul 2009 00:17:42 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MRet7-0004Vb-6c for bug-gnu-emacs@gnu.org; Fri, 17 Jul 2009 00:17:37 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MRet1-0004TG-Rf for bug-gnu-emacs@gnu.org; Fri, 17 Jul 2009 00:17:35 -0400 Original-Received: from [199.232.76.173] (port=42998 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MRet1-0004TA-Jx for bug-gnu-emacs@gnu.org; Fri, 17 Jul 2009 00:17:31 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:48497) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MRet1-0005rW-Eu for bug-gnu-emacs@gnu.org; Fri, 17 Jul 2009 00:17:31 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n6H4HSMk030804; Thu, 16 Jul 2009 21:17:28 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n6H454Ve028313; Thu, 16 Jul 2009 21:05:04 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Lennart Borgman Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Fri, 17 Jul 2009 04:05:04 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 3863 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 3863-submit@emacsbugs.donarmstrong.com id=B3863.124780325027566 (code B ref 3863); Fri, 17 Jul 2009 04:05:04 +0000 Original-Received: (at 3863) by emacsbugs.donarmstrong.com; 17 Jul 2009 04:00:50 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mail-bw0-f223.google.com (mail-bw0-f223.google.com [209.85.218.223]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n6H40jd5027551 for <3863@emacsbugs.donarmstrong.com>; Thu, 16 Jul 2009 21:00:47 -0700 Original-Received: by bwz23 with SMTP id 23so512052bwz.1 for <3863@emacsbugs.donarmstrong.com>; Thu, 16 Jul 2009 21:00:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=WsJ6S13xF/6vYYQ9gTZXDHe/febQ0cH9XzGgFejbtMQ=; b=FJx9S/o5gMRY+2Z3GleBzyAAfrKxP/Rj/E1MEhRHrb1qBwCUCPQjHN4ceyh5yQdEM0 g2jKe/aV8KtMnyLcsZ6Gi4JVbO863iGH8p2Btn2WTR2ogYOu0Q8FuprYEyD13wKPD1r2 GAoRD1yRuUABEWP2xiYQWF3FACT9lEFlApWbg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=uOl7EuOUmIkS750i1j3CluzCY6gcyzFVXUG/7ENXt0+CKGby+h6qv07IOef+DRZ3fl G8W70Rl2lG1UALchx4rQnNxv7Q3cUcdVFRHETGPXSrY+wUycebqHQSWtrPojuMrNoSVC 7mHVqstcwKTzaPc/fjZxcAyH7EV20f4X+aGn4= Original-Received: by 10.223.105.9 with SMTP id r9mr98774fao.66.1247803239454; Thu, 16 Jul 2009 21:00:39 -0700 (PDT) In-Reply-To: X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Fri, 17 Jul 2009 00:17:35 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:29484 Archived-At: On Fri, Jul 17, 2009 at 5:23 AM, Stefan Monnier w= rote: >> I don't think I understand, but it sounds like this is a reason why >> y-or-n-p should save match-data... > > Here we go again: > > All functions destroy the match-data except for a few rare exceptions, > which are simple functions doing little work. > >> Is there any reason not to let y-or-n-p save match data? > > If you think y-or-n-p deserves saving the match-data then pretty much > all other functions deserve that change as well. =C2=A0And since > save-match-data is somewhat costly, it would imply a singificant > performance impact. Sorry, I just meant that since the functions that prompts the user can't really impact performance if we just add save-match-data to them we could do that just to get some more protection. It does not cure the problem that some functions running in timers forgets to save match data, but perhaps it catches some actually occuring problem cases.