From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#33414: 27.0.50; inhibit-changing-match-data can be t in syntax-propertize functions, breaking backtrace and looking-at Date: Sun, 05 Sep 2021 12:55:00 +0300 Message-ID: <83r1e3tki3.fsf@gnu.org> References: <83lg5ru88i.fsf@gnu.org> <83k1lbu5xj.fsf@gnu.org> <87r1eylsea.fsf@gnus.org> <22C40A08-9611-4925-B840-8F3795175B0F@gmail.com> <87eea3nzel.fsf@gnus.org> <83v93ftl6e.fsf@gnu.org> <87v93fmk35.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22295"; mail-complaints-to="usenet@ciao.gmane.io" Cc: p.stephani2@gmail.com, pipcet@gmail.com, 33414@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Sep 05 11:56:27 2021 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 1mMot0-0005ek-TV for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 05 Sep 2021 11:56:26 +0200 Original-Received: from localhost ([::1]:54552 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mMosz-0000Cl-SY for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 05 Sep 2021 05:56:25 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43260) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mMosb-0000CT-TU for bug-gnu-emacs@gnu.org; Sun, 05 Sep 2021 05:56:01 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37734) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mMosb-0006AD-Ls for bug-gnu-emacs@gnu.org; Sun, 05 Sep 2021 05:56:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mMosb-00069h-Ld for bug-gnu-emacs@gnu.org; Sun, 05 Sep 2021 05:56:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 05 Sep 2021 09:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33414 X-GNU-PR-Package: emacs Original-Received: via spool by 33414-submit@debbugs.gnu.org id=B33414.163083570623564 (code B ref 33414); Sun, 05 Sep 2021 09:56:01 +0000 Original-Received: (at 33414) by debbugs.gnu.org; 5 Sep 2021 09:55:06 +0000 Original-Received: from localhost ([127.0.0.1]:49277 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mMori-000680-1F for submit@debbugs.gnu.org; Sun, 05 Sep 2021 05:55:06 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:55174) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mMorf-00067M-Vu for 33414@debbugs.gnu.org; Sun, 05 Sep 2021 05:55:04 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:59192) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mMora-0005H9-BB; Sun, 05 Sep 2021 05:54:58 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2648 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mMorZ-0000Uv-Va; Sun, 05 Sep 2021 05:54:58 -0400 In-Reply-To: <87v93fmk35.fsf@gnus.org> (message from Lars Ingebrigtsen on Sun, 05 Sep 2021 11:45:50 +0200) 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" Xref: news.gmane.io gmane.emacs.bugs:213490 Archived-At: > From: Lars Ingebrigtsen > Cc: p.stephani2@gmail.com, pipcet@gmail.com, 33414@debbugs.gnu.org > Date: Sun, 05 Sep 2021 11:45:50 +0200 > > >> +(make-obsolete-variable 'inhibit-changing-match-data nil "28.1") > > > > Really? why obsolete it? > > Because it's not used (and shouldn't be used). `save-match-data' is the > proper way to achieve this in normal code. It's a variable we had since Emacs 23. The proposed replacements are only useful if your Lisp program actually calls the APIs you propose to extend, but it won't do if you call higher-level APIs. We can recommend not to use the variable where the extended APIs could be used instead with the new optional argument, but I don't think we should obsolete it, let alone remove it in the future.