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 18:40:52 +0200 Message-ID: <83bkasrb3f.fsf@gnu.org> References: <878r919qfh.fsf@localhost> <87v8bhxzcu.fsf@localhost> <83y1gdxws8.fsf@gnu.org> <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> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29815"; mail-complaints-to="usenet@ciao.gmane.io" Cc: dmitry@gutov.dev, 66117@debbugs.gnu.org, mattias.engdegard@gmail.com, monnier@iro.umontreal.ca To: Ihor Radchenko Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Dec 14 17:42:19 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 1rDomx-0007Vp-3L for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 14 Dec 2023 17:42:19 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rDoml-0006Ae-BB; Thu, 14 Dec 2023 11:42: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 1rDomi-00069u-8H for bug-gnu-emacs@gnu.org; Thu, 14 Dec 2023 11:42:05 -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 1rDomh-0003Ed-3Q for bug-gnu-emacs@gnu.org; Thu, 14 Dec 2023 11:42:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rDomg-0001WX-9l for bug-gnu-emacs@gnu.org; Thu, 14 Dec 2023 11:42: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 16:42: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.17025720685793 (code B ref 66117); Thu, 14 Dec 2023 16:42:02 +0000 Original-Received: (at 66117) by debbugs.gnu.org; 14 Dec 2023 16:41:08 +0000 Original-Received: from localhost ([127.0.0.1]:50815 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rDolo-0001VN-53 for submit@debbugs.gnu.org; Thu, 14 Dec 2023 11:41:08 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50298) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rDoll-0001Ub-8k for 66117@debbugs.gnu.org; Thu, 14 Dec 2023 11:41:06 -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 1rDolb-0001Oy-7u; Thu, 14 Dec 2023 11:40:57 -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=alTatXoeDNGZprMj5/FrW2/bpvNE4pmV0mMLIBsfd2k=; b=PNsNHJytmLsx 0NVHrIrKppjSLueUKkbNRQdB6Gm1iVGWti0Ng44iN0sAPQMAP0AdtxJAFSyavvO7FQBcVf5NVEdAl Cb0lpglRAAYJRtnNhRUizBzSVCHVwSotLc2G3QmjLTHv3lXZk2W514YhlM+/Xi8X3IjJVAm1dfJYA bWznQgryr2+CleM76xIbuM0OPfRj3P5xfbOp+6d8804baxQLZQwa55l77JW+TnUkHqze2fKgNOPKO T4i9Hk2oKRmy64vCjU/7cxgYN1GcCtKuQRpsxK7H2WWjyvJCRm9BERg6l8mcPVMyLddrRqDdizmUp vvucBoBhuyNy2q7nCefwwA==; In-Reply-To: <87o7esq319.fsf@localhost> (message from Ihor Radchenko on Thu, 14 Dec 2023 14:20:18 +0000) 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:276197 Archived-At: > From: Ihor Radchenko > Cc: monnier@iro.umontreal.ca, dmitry@gutov.dev, 66117@debbugs.gnu.org, > mattias.engdegard@gmail.com > Date: Thu, 14 Dec 2023 14:20:18 +0000 > > Then, I think that having a global variable like > `case-fold-search-override' could make things more predictable if we > advertise it for let-bindings. > Also, it is much easier to implement. > WDYT? I'd choose a different name (since this is supposed to affect any matching, not just search). And then we will need to decide which case-equivalence table this will use. The current default is affected by language-environment, so it might not be a good idea (it causes known problems in Turkish locales, for example). Perhaps we need a new standard kind of table for that. But for starters, a new Lisp-only global variable should be good, I think. Stefan, any comments?