From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ihor Radchenko Newsgroups: gmane.emacs.bugs Subject: bug#66117: 30.0.50; `find-buffer-visiting' is slow when opening large number of buffers Date: Thu, 14 Dec 2023 18:30:00 +0000 Message-ID: <871qboprh3.fsf@localhost> References: <878r919qfh.fsf@localhost> <83msuftr0i.fsf@gnu.org> <87plzbxtxa.fsf@localhost> <87y1dzvvf0.fsf@localhost> <83plzas3pg.fsf@gnu.org> <87r0jqw8u9.fsf@localhost> <83jzpis08a.fsf@gnu.org> <87il52w744.fsf@localhost> <83fs06rz10.fsf@gnu.org> <87fs06w4ui.fsf@localhost> <83bkaurut9.fsf@gnu.org> <87o7esq319.fsf@localhost> <83bkasrb3f.fsf@gnu.org> <83wmtgpuyf.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31642"; mail-complaints-to="usenet@ciao.gmane.io" Cc: dmitry@gutov.dev, Eli Zaretskii , mattias.engdegard@gmail.com, 66117@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Dec 14 19:29:01 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 1rDqSC-00081p-Pw for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 14 Dec 2023 19:29:00 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rDqRL-00040W-80; Thu, 14 Dec 2023 13:28:07 -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 1rDqRH-0003yt-45 for bug-gnu-emacs@gnu.org; Thu, 14 Dec 2023 13:28:03 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rDqRG-0003PX-Ru for bug-gnu-emacs@gnu.org; Thu, 14 Dec 2023 13:28:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rDqRF-0005jN-VR for bug-gnu-emacs@gnu.org; Thu, 14 Dec 2023 13:28:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ihor Radchenko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 14 Dec 2023 18:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66117 X-GNU-PR-Package: emacs Original-Received: via spool by 66117-submit@debbugs.gnu.org id=B66117.170257842621943 (code B ref 66117); Thu, 14 Dec 2023 18:28:01 +0000 Original-Received: (at 66117) by debbugs.gnu.org; 14 Dec 2023 18:27:06 +0000 Original-Received: from localhost ([127.0.0.1]:50898 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rDqQM-0005hr-7L for submit@debbugs.gnu.org; Thu, 14 Dec 2023 13:27:06 -0500 Original-Received: from mout02.posteo.de ([185.67.36.66]:37737) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rDqQK-0005hG-3x for 66117@debbugs.gnu.org; Thu, 14 Dec 2023 13:27:05 -0500 Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 938E3240104 for <66117@debbugs.gnu.org>; Thu, 14 Dec 2023 19:26:58 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1702578418; bh=MkMvN1ooXTnwrxwIXKkRIfWwTIQ+Y1uHBVYIJhN2n5U=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=adWlPpSr2Z0fPMOvoZbXz/G/PATTXlGuuFlCGs0SNOV/PzUQsJbLDywTQm4tUT3Kh GJuLP1Rz3dBo7tVJMqvvovSbUDfsGVqh/yqhKihu6iooNmWlKQlcnLqV04j1/G0CeB DyDnUdTaZ9v6eVtdF3eC0eGhq9f4MJPe2QAvxuwJ6mGo/JvcmIPlx+KSepioJJmnGj ean9a2KC6xIMA8Pc3AyVFIVV2BBmBjDXsV3xeKwWIlfBsJKCgvz89mg58tWdFcqCgb fCjKBKTDVh35U20l5BUxCjp/w9mBY84YKanyv0hilykcWJcO9aDSElz1BzX03JR+X/ CsrFHVC6w8BoA== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Srgmd39vxz9rxB; Thu, 14 Dec 2023 19:26:57 +0100 (CET) In-Reply-To: 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:276205 Archived-At: Stefan Monnier writes: >> It won't be buffer-local-if-changed, so binding it will not be costly. > > As mentioned elsewhere in this bug-report we can make `case-fold-search` > into a `DEFVAR_LISP`: it would have no visible impact to ELisp and would > avoid the costly let-bindings. Wouldn't DEFVAR_LISP break major modes that do (setq case-fold-search ...)? -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at