From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Tobias C. Rittweiler" Newsgroups: gmane.emacs.bugs Subject: bug#2499: 23.0.91; syntax-ppss / beginning-of-defun not saving match data Date: Sat, 28 Feb 2009 17:56:14 +0100 Message-ID: <87tz6efqkx.fsf@freebits.de> References: <87myc7ga2r.fsf@freebits.de> Reply-To: "Tobias C. Rittweiler" , 2499@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1235840925 18109 80.91.229.12 (28 Feb 2009 17:08:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 28 Feb 2009 17:08:45 +0000 (UTC) Cc: 2499@emacsbugs.donarmstrong.com To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 28 18:10:01 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 1LdShK-0005lG-Be for geb-bug-gnu-emacs@m.gmane.org; Sat, 28 Feb 2009 18:09:59 +0100 Original-Received: from localhost ([127.0.0.1]:40633 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LdSfz-0006Gz-AP for geb-bug-gnu-emacs@m.gmane.org; Sat, 28 Feb 2009 12:08:35 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LdSbR-0000Tw-7u for bug-gnu-emacs@gnu.org; Sat, 28 Feb 2009 12:03:53 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LdSbL-0000Lk-Qw for bug-gnu-emacs@gnu.org; Sat, 28 Feb 2009 12:03:52 -0500 Original-Received: from [199.232.76.173] (port=39831 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LdSbL-0000LN-LT for bug-gnu-emacs@gnu.org; Sat, 28 Feb 2009 12:03:47 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:60001) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LdSbK-0007t9-7b for bug-gnu-emacs@gnu.org; Sat, 28 Feb 2009 12:03:47 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1SH3c8p023594; Sat, 28 Feb 2009 09:03:38 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n1SH04iZ022453; Sat, 28 Feb 2009 09:00:04 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: "Tobias C. Rittweiler" Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 28 Feb 2009 17:00:04 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 2499 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 2499-submit@emacsbugs.donarmstrong.com id=B2499.123584021522218 (code B ref 2499); Sat, 28 Feb 2009 17:00:04 +0000 Original-Received: (at 2499) by emacsbugs.donarmstrong.com; 28 Feb 2009 16:56:55 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from freebits.de (a022.reverse.yawsp.de [62.27.20.22]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1SGupsK022206 for <2499@emacsbugs.donarmstrong.com>; Sat, 28 Feb 2009 08:56:53 -0800 Original-Received: from host145.natpool.mwn.de ([138.246.7.145] helo=thaleron) by freebits.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.44) id 1LdSUV-0006NC-EU; Sat, 28 Feb 2009 16:56:43 +0000 In-Reply-To: (Stefan Monnier's message of "Fri, 27 Feb 2009 23:50:32 -0500") User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/23.0.60 (gnu/linux) X-freebits.de-MailScanner-Information: http://freebits.de X-freebits.de-MailScanner: Sauber X-freebits.de-MailScanner-SpamCheck: not spam, SpamAssassin (notcached, Wertung=0, benoetigt 6, autolearn=not spam) X-MailScanner-From: tcr@freebits.de X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Sat, 28 Feb 2009 12:03:52 -0500 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:25856 Archived-At: Stefan Monnier writes: > > (i) `beginning-of-defun' is allowed to not save match data. If so, > > please document it. > > 99.9% of the functions are allowed to not save match data. Oh, I didn't know that! I thought the policy was the other way around. (Perhaps 34.6, The Match Data, should make this policy more explicit. If so, and you say so, I'll prepare a patch.) > We do not bother to document it. We should document the functions > that are not allowed to do it, OTOH. I think it's still worth to think about making `syntax-ppss' saving the match data as this function may easily be implicitly invoked by something deep down. Thank you for your prompt reply!, -T. -- Diese Nachricht wurde auf Viren und andere gefaerliche Inhalte untersucht und ist - aktuelle Virenscanner vorausgesetzt - sauber. Freebits E-Mail Virus Scanner