From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Problems with syntax-ppss Date: Mon, 07 Apr 2008 10:59:43 -0400 Message-ID: References: <20080404172627.GB4804@muc.de> <47F69A4F.1050405@gmx.at> <20080405144642.GA3095@muc.de> <20080406140731.GA4084@muc.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1207580808 7301 80.91.229.12 (7 Apr 2008 15:06:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 7 Apr 2008 15:06:48 +0000 (UTC) Cc: martin rudalics , emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Apr 07 17:07:21 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Jisvz-0002iS-6B for ged-emacs-devel@m.gmane.org; Mon, 07 Apr 2008 17:06:59 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JisvL-0006uC-T7 for ged-emacs-devel@m.gmane.org; Mon, 07 Apr 2008 11:06:19 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JisvI-0006rE-2Z for emacs-devel@gnu.org; Mon, 07 Apr 2008 11:06:16 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JisvG-0006o6-C6 for emacs-devel@gnu.org; Mon, 07 Apr 2008 11:06:15 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JisvG-0006nl-50 for emacs-devel@gnu.org; Mon, 07 Apr 2008 11:06:14 -0400 Original-Received: from ironport2-out.pppoe.ca ([206.248.154.182] helo=ironport2-out.teksavvy.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JisvF-0005Of-Nv for emacs-devel@gnu.org; Mon, 07 Apr 2008 11:06:13 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApgFADbV+UdMCpOw/2dsb2JhbACBXKhM X-IronPort-AV: E=Sophos;i="4.25,617,1199682000"; d="scan'208";a="18067813" Original-Received: from smtp.pppoe.ca (HELO smtp.teksavvy.com) ([65.39.196.238]) by ironport2-out.teksavvy.com with ESMTP; 07 Apr 2008 11:06:13 -0400 Original-Received: from ceviche.home ([76.10.147.176]) by smtp.teksavvy.com (Internet Mail Server v1.0) with ESMTP id NTN38713 for ; Mon, 07 Apr 2008 11:06:13 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 83707B46F3; Mon, 7 Apr 2008 10:59:43 -0400 (EDT) In-Reply-To: <20080406140731.GA4084@muc.de> (Alan Mackenzie's message of "Sun, 6 Apr 2008 14:07:31 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:94573 Archived-At: > (iii) put a `save-match-data' round the function? Actually, let me qualify the previous "no": around the whole function, this is a definite "no", but I suspect that the match data can only be affected via syntax-begin-function, so maybe we should document that syntax-begin-function should preserve the match-data, and then we can document that syntax-ppss does preserve the match-data. Stefan