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#66117: 30.0.50; `find-buffer-visiting' is slow when opening large number of buffers Date: Thu, 14 Dec 2023 19:14:48 +0200 Message-ID: <83wmtgpuyf.fsf@gnu.org> References: <878r919qfh.fsf@localhost> <87jzrwm7ul.fsf@localhost> <87h6n0m781.fsf@localhost> <87v8935wik.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> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9146"; mail-complaints-to="usenet@ciao.gmane.io" Cc: dmitry@gutov.dev, yantar92@posteo.net, 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 18:15:31 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 1rDpJ5-0002Ew-Gy for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 14 Dec 2023 18:15:31 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rDpIg-0006i5-Nt; Thu, 14 Dec 2023 12:15:06 -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 1rDpId-0006hU-OL for bug-gnu-emacs@gnu.org; Thu, 14 Dec 2023 12:15:04 -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 1rDpId-0007VR-9N for bug-gnu-emacs@gnu.org; Thu, 14 Dec 2023 12:15:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rDpIc-0007ax-CP for bug-gnu-emacs@gnu.org; Thu, 14 Dec 2023 12:15:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 14 Dec 2023 17:15:02 +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.170257409929172 (code B ref 66117); Thu, 14 Dec 2023 17:15:02 +0000 Original-Received: (at 66117) by debbugs.gnu.org; 14 Dec 2023 17:14:59 +0000 Original-Received: from localhost ([127.0.0.1]:50849 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rDpIZ-0007aS-39 for submit@debbugs.gnu.org; Thu, 14 Dec 2023 12:14:59 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59438) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rDpIW-0007aA-Pq for 66117@debbugs.gnu.org; Thu, 14 Dec 2023 12:14:58 -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 1rDpIP-0007MG-Mm; Thu, 14 Dec 2023 12:14:49 -0500 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=EigAW3RYZrgQiwzDlLgmslleqmaToMHVIYn6AqbpvPQ=; b=H1PCuLSaJDab w315lTRAjPbigKj0Lav8gQ7hNFn/iiqfwu32RL2yvdnW59KtFgnNnI6/Y87Tfxvo142VmsVii00hR huUU5ZaK+6RoqCmtCr084OxRKtoMEM//zp6NO22Jo9URQy2EUw3k2CaSzcvK/ds8NBXPK7jiYNbFs VlznJhGZBV2isMwWexYY45vwW8K/w9cDZZcaw8wZ+ALGaQfnTNUPgD4TC2DmhMHTFxHjm1vXQdSH3 +kmGF2x97CPf2ydGiGs/g7/S5Q2MYKR7L7OAG8hntaGEpZrd99ew0uSEGYMOcI4CGUuTY1jHRwKW3 kjfL9SRPL4hXCJeCasPC1g==; In-Reply-To: (message from Stefan Monnier on Thu, 14 Dec 2023 12:07:13 -0500) 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:276201 Archived-At: > From: Stefan Monnier > Cc: Ihor Radchenko , dmitry@gutov.dev, > 66117@debbugs.gnu.org, mattias.engdegard@gmail.com > Date: Thu, 14 Dec 2023 12:07:13 -0500 > > > But for starters, a new Lisp-only global variable should be good, I > > think. Stefan, any comments? > > I must say I don't understand the reasoning behind this. > What would it do different from `case-fold-search`? It won't be buffer-local-if-changed, so binding it will not be costly. It also won't be a defcustom, so let-binding it will not step on the user's preferences.