From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.bugs Subject: bug#61395: 28.2; bug-reference warning seems incorrect Date: Fri, 10 Feb 2023 19:15:42 +0100 Message-ID: <87y1p5wf43.fsf@gnu.org> References: <87pmailkqw.fsf@tromey.com> <838rh6kjua.fsf@gnu.org> <877cwplg1s.fsf@tcd.ie> <871qmx7bvv.fsf@gnu.org> <87h6vtjxjp.fsf@tromey.com> <87357dxvax.fsf@gnu.org> <87v8k9gznf.fsf@tromey.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5739"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.9.19; emacs 30.0.50 Cc: Basil Contovounesios , 61395-done@debbugs.gnu.org, Eli Zaretskii To: Tom Tromey Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Feb 10 19:28:30 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pQY8L-0001KZ-VS for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 10 Feb 2023 19:28:30 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pQY7x-0006KO-4i; Fri, 10 Feb 2023 13:28:05 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pQY7u-0006Je-Tb for bug-gnu-emacs@gnu.org; Fri, 10 Feb 2023 13:28:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pQY7u-0005B1-Ks for bug-gnu-emacs@gnu.org; Fri, 10 Feb 2023 13:28:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pQY7u-0003zF-HD for bug-gnu-emacs@gnu.org; Fri, 10 Feb 2023 13:28:02 -0500 Resent-From: Tassilo Horn Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Fri, 10 Feb 2023 18:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 61395 X-GNU-PR-Package: emacs Mail-Followup-To: 61395@debbugs.gnu.org, tsdh@gnu.org, tom@tromey.com Original-Received: via spool by 61395-done@debbugs.gnu.org id=D61395.167605364415270 (code D ref 61395); Fri, 10 Feb 2023 18:28:02 +0000 Original-Received: (at 61395-done) by debbugs.gnu.org; 10 Feb 2023 18:27:24 +0000 Original-Received: from localhost ([127.0.0.1]:38117 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pQY7I-0003yE-9Q for submit@debbugs.gnu.org; Fri, 10 Feb 2023 13:27:24 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:52820) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pQY7G-0003xz-1w for 61395-done@debbugs.gnu.org; Fri, 10 Feb 2023 13:27:23 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pQY79-00055S-Jb; Fri, 10 Feb 2023 13:27:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-reply-to:Date:Subject:To:From: References; bh=dNm7mtnYBQer8H381rrD/PAURF2PekvBB5u5QUHakPs=; b=j99RNiyEKEIofr h+VkVXCq8/GMczBq0eHaOfZUCZDKAQuVKFvhdtbXLfDiJSfqiJg2jDio5JwXM8EtOXBMKrhyX6tpm TDwATqpS/AVs27t9urXVGgEyOpu3OUFnaMwPhYjmP1LtKHoQSgQn7a2N94yWzwSvqN/q0cmpvY47p OCmT1RE0Lw6CErjTrpk2bxoloajFlvS8IfqS4o69mVEZa+5xzH0agJDSd8ZlIWnmvptMFr/ZvJhVL RcMB9eJAZ40aCmrBSH+myRGJyZnwUC8eApP+rpQQVA8DmvY2QrL2azY6OFkxo47ZmRHt9De24TdSm DcD/hJvE0I4TJ3+55i4A==; Original-Received: from auth2-smtp.messagingengine.com ([66.111.4.228]) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pQY76-0007y8-CO; Fri, 10 Feb 2023 13:27:14 -0500 Original-Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailauth.nyi.internal (Postfix) with ESMTP id BC23227C0054; Fri, 10 Feb 2023 13:27:10 -0500 (EST) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Fri, 10 Feb 2023 13:27:10 -0500 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrudehhedgudduudcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpehffgfhvfevufffjgfkgggtgfesthhqredttderjeenucfhrhhomhepvfgr shhsihhlohcujfhorhhnuceothhsughhsehgnhhurdhorhhgqeenucggtffrrghtthgvrh hnpefgtedtudeivdfhfffhfefhvefhuedvheejjeefleffheekffeutdfhgfejiefhgeen ucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhorh hnodhmvghsmhhtphgruhhthhhpvghrshhonhgrlhhithihqdekieejfeekjeekgedqieef hedvleekqdhtshguhheppehgnhhurdhorhhgsehfrghsthhmrghilhdrfhhm X-ME-Proxy: Feedback-ID: ib2b94485:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 10 Feb 2023 13:27:09 -0500 (EST) In-reply-to: <87v8k9gznf.fsf@tromey.com> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:255300 Archived-At: Tom Tromey writes: > Tassilo> many times in buffer.c but `syntax-ppss' doesn't seem to > Tassilo> clobber match-data. > > Seems like it would depend on whether the major mode uses regexps > here? My case is using tcl-mode FWIW. Hah, indeed! It was easy to reproduce with a tcl file. > However a superficial look at the syntax-ppss code shows it's calling > save-match-data in some spots, so perhaps this isn't the bug. It is. I've fixed it on the emacs-29 branch. Thanks a lot and 100 bonus points to K=C3=A9vin who has been right with his analysis. Bye, Tassilo