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#58558: 29.0.50; re-search-forward is slow in some buffers Date: Wed, 12 Apr 2023 18:22:22 +0300 Message-ID: <83cz496s7l.fsf@gnu.org> References: <877d10r21x.fsf@localhost> <87wn6vbfaa.fsf@localhost> <838rjbpecw.fsf@gnu.org> <87fsdjwb4e.fsf@localhost> <874jtyuqax.fsf@localhost> <83zgbqm8q6.fsf@gnu.org> <87sfhit8ug.fsf@localhost> <83tu1ym6jo.fsf@gnu.org> <87h6xyt77x.fsf@localhost> <87h6ttkz6n.fsf@localhost> <838rf5qkpt.fsf@gnu.org> <87lej0zv92.fsf@localhost> <83ttxol6f5.fsf@gnu.org> <87h6tolybs.fsf@localhost> <87zg7e8xnt.fsf@localhost> <83ttxmab7x.fsf@gnu.org> <87sfd5b4oy.fsf@localhost> <83fs956ulv.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28326"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 58558@debbugs.gnu.org, acm@muc.de, yantar92@posteo.net, larsi@gnus.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Apr 12 17:23:09 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 1pmcJQ-00078F-Mm for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 12 Apr 2023 17:23:08 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pmcJM-0003ua-8R; Wed, 12 Apr 2023 11:23:04 -0400 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 1pmcJK-0003t0-JZ for bug-gnu-emacs@gnu.org; Wed, 12 Apr 2023 11:23:02 -0400 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 1pmcJK-0003Dt-8Y for bug-gnu-emacs@gnu.org; Wed, 12 Apr 2023 11:23:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pmcJK-0004ca-4T for bug-gnu-emacs@gnu.org; Wed, 12 Apr 2023 11:23:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 12 Apr 2023 15:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58558 X-GNU-PR-Package: emacs Original-Received: via spool by 58558-submit@debbugs.gnu.org id=B58558.168131293617671 (code B ref 58558); Wed, 12 Apr 2023 15:23:02 +0000 Original-Received: (at 58558) by debbugs.gnu.org; 12 Apr 2023 15:22:16 +0000 Original-Received: from localhost ([127.0.0.1]:40686 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pmcIZ-0004aw-Kx for submit@debbugs.gnu.org; Wed, 12 Apr 2023 11:22:15 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:48688) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pmcIX-0004ah-T2 for 58558@debbugs.gnu.org; Wed, 12 Apr 2023 11:22:14 -0400 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 1pmcIR-0002vL-CI; Wed, 12 Apr 2023 11:22:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=IrxrJioM0Auy7xzLzqd59J4nYVaBVgyBzK+qJCqqAnA=; b=sZAarl1iyf36 BAZuOYj9ljcwLKGtiAQpdGxCzDP5CW5pFd5YmbbCmxj7mIe9u7YMIkC5UhbGcHu5tIDuENVVmBa8v Lo4LMiCd8LbH+9UKoBCfDN2Py4iGO3+wVFPPXZv1NsBOauAM5UVaoV3VZXHB/v9aSzXAdlgKvpCwH ecT599Q23/wHRWcVKmeQEXGxnRVyh2nLMpfS1i4efoWIqYuUQXfsSqcBLlNk36TabUWGxjHTRdbaJ 4WfJRUgNf6SWcbqnS3i07ODWkeFNKhWJBWD2xCbE8+uZx5MfjXl/nWqLytg46uY/jvkLEMiDR++wj K3WLUzh/O6ZOpynQS8JI+A==; Original-Received: from [87.69.77.57] (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 1pmcHy-0002Bc-HD; Wed, 12 Apr 2023 11:21:55 -0400 In-Reply-To: (message from Stefan Monnier on Wed, 12 Apr 2023 10:38:50 -0400) 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:259764 Archived-At: > From: Stefan Monnier > Cc: acm@muc.de, yantar92@posteo.net, larsi@gnus.org, 58558@debbugs.gnu.org > Date: Wed, 12 Apr 2023 10:38:50 -0400 > > > Also, that code was there in Emacs 28 as well, so how come it suddenly > > has this effect now? > > The effect of the code depends on whether the buffer that's current when > `cc-defs.el` is loaded has set `parse-sexp-lookup-properties` > buffer-locally or not. > > I don't have Emacs-28 at hand, but the value of > `parse-sexp-lookup-properties` in *scratch* is (buffer-local) t in > Emacs-29 and (global) nil in Emacs-27. Ah, okay. So in Emacs 29 we started setting this variable locally in some buffers? Do you happen to know where's the change which caused that, and why was it done?