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: Thu, 16 Jul 2009 20:42:42 +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 1247770682 29747 80.91.229.12 (16 Jul 2009 18:58:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 16 Jul 2009 18:58:02 +0000 (UTC) Cc: Chong Yidong , Kevin Ryde To: Stefan Monnier , 3863@emacsbugs.donarmstrong.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 16 20:57:54 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 1MRW9R-0006mw-FV for geb-bug-gnu-emacs@m.gmane.org; Thu, 16 Jul 2009 20:57:53 +0200 Original-Received: from localhost ([127.0.0.1]:40458 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MRW9R-0008Ep-2y for geb-bug-gnu-emacs@m.gmane.org; Thu, 16 Jul 2009 14:57:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MRW9A-00088k-P7 for bug-gnu-emacs@gnu.org; Thu, 16 Jul 2009 14:57:36 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MRW96-00087q-5g for bug-gnu-emacs@gnu.org; Thu, 16 Jul 2009 14:57:36 -0400 Original-Received: from [199.232.76.173] (port=50204 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MRW96-00087d-0T for bug-gnu-emacs@gnu.org; Thu, 16 Jul 2009 14:57:32 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:41809) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MRW95-0004lA-GL for bug-gnu-emacs@gnu.org; Thu, 16 Jul 2009 14:57: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 n6GIvSMB002224; Thu, 16 Jul 2009 11:57:29 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n6GIo4lk000727; Thu, 16 Jul 2009 11:50: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: Thu, 16 Jul 2009 18:50: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.124776977332260 (code B ref 3863); Thu, 16 Jul 2009 18:50:04 +0000 Original-Received: (at 3863) by emacsbugs.donarmstrong.com; 16 Jul 2009 18:42:53 +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 n6GIgmib032255 for <3863@emacsbugs.donarmstrong.com>; Thu, 16 Jul 2009 11:42:50 -0700 Original-Received: by bwz23 with SMTP id 23so323574bwz.1 for <3863@emacsbugs.donarmstrong.com>; Thu, 16 Jul 2009 11:42:42 -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=aqi8AY/QP8FQvU82rflvp5i9jBUugZvGNrzWrmp1cRY=; b=n5wqsqITfoWSy3NFjyK9YwQ9ZIjQK0NLWsX1knkdaRiTB767grlXM018a1Jy2ec4VQ F6OSHzr4kOgYx01nuKlNRjywqXk5llet7Dq8O6KuUK0JLsEgk0Id+uJuQPQbi+vrtlgD DRvU7m4ETHs+M0Mb2x9Y1QuGURhAA5vztrtbM= 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=d3cuvyfEeVVQ6wPaLvm2RNOWNL+jtxctdI009QT1T4tgj5W/ER8RuJh3nyXAm2/HPk 43JhTpbGhr+7ZpIfRr9F4eBjIiqlQfpBmj9X6easPlvkKUWQsKWohsEa1/aWO9tdBP2t zBHctfDvHUV+k5QRdrf0NnMtIn+Hrm941XDCY= Original-Received: by 10.223.117.194 with SMTP id s2mr11788faq.83.1247769762340; Thu, 16 Jul 2009 11:42:42 -0700 (PDT) In-Reply-To: X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Thu, 16 Jul 2009 14:57:36 -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:29472 Archived-At: On Thu, Jul 16, 2009 at 7:24 PM, Stefan Monnier w= rote: >> If so, we should change y-or-n-p to save the match data. > > Why? =C2=A0y-or-n-p will yield waiting for user input, so it's basically > a point where any other code can run. =C2=A0It's one of the prime example= s of > a function which you can't expect to preserve the match-data. I don't think I understand, but it sounds like this is a reason why y-or-n-p should save match-data... Is there any reason not to let y-or-n-p save match data? I mean the function needing match data possibly want yield until it has used it, or?