From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#66117: 30.0.50; `find-buffer-visiting' is slow when opening large number of buffers Date: Tue, 12 Dec 2023 18:09:41 -0500 Message-ID: References: <878r919qfh.fsf@localhost> <83cyy11ln1.fsf@gnu.org> <87lecp84mf.fsf@localhost> <83ttrdx8j9.fsf@gnu.org> <87a5su261p.fsf@localhost> <838r8e24yy.fsf@gnu.org> <87y1gezspg.fsf@localhost> <834jj21z05.fsf@gnu.org> <87il7izo4l.fsf@localhost> <831qe61xrh.fsf@gnu.org> <87cyxqzmhh.fsf@localhost> <83zg0uzlgw.fsf@gnu.org> <87v8bhxzcu.fsf@localhost> <83y1gdxws8.fsf@gnu.org> <87jzrwm7ul.fsf@localhost> <87h6n0m781.fsf@localhost> <87v8935wik.fsf@localhost> <83msuftr0i.fsf@gnu.org> <87plzbxtxa.fsf@localhost> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38893"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Ihor Radchenko , Eli Zaretskii , 66117@debbugs.gnu.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Dec 13 00:11:08 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 1rDBu8-0009wZ-Ba for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 13 Dec 2023 00:11:08 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rDBto-0002rW-8B; Tue, 12 Dec 2023 18:10:48 -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 1rDBtn-0002qa-A3 for bug-gnu-emacs@gnu.org; Tue, 12 Dec 2023 18:10:47 -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 1rDBtm-0007UB-PK for bug-gnu-emacs@gnu.org; Tue, 12 Dec 2023 18:10:46 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rDBu2-0004JQ-0G for bug-gnu-emacs@gnu.org; Tue, 12 Dec 2023 18:11:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 12 Dec 2023 23:11: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.170242263416530 (code B ref 66117); Tue, 12 Dec 2023 23:11:01 +0000 Original-Received: (at 66117) by debbugs.gnu.org; 12 Dec 2023 23:10:34 +0000 Original-Received: from localhost ([127.0.0.1]:57890 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rDBta-0004IY-3R for submit@debbugs.gnu.org; Tue, 12 Dec 2023 18:10:34 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:53351) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rDBtX-0004IH-D7 for 66117@debbugs.gnu.org; Tue, 12 Dec 2023 18:10:32 -0500 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 6547E100068; Tue, 12 Dec 2023 18:10:10 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1702422609; bh=GXLlfhJs+iVNsWyYtu2JhTgYte/vD7n2xxom2JD6PZI=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=V67HjQUOwHZsIBgyn38aVR2nHlI7u1JiB/GJvQML52Yd0CUOTnIvHPkbFY9GA6DLS GalK4cC9RhO4aMlvpTvirSpYD+N0uvwI68f68wlEry0cczMPwpmx1TzlTr/SG+bJul jcRK0rRfy7FCJ0NOycCvBU3iLxD4B0Hg8bArlsFipaUPBaSRBDRS/JQKaoiyhQEw4H Py3naEfC3fA2mq4zkULqSjhZeYh5QmUQZesrB3sAVnlDehxToUf4oO6yhLW5wX8bzK eo/jnPIFAy/MoPv7FpOa4H/PJP8z0kqVOZexNrR5KwtgDjqAbZgxPM22uXl8NMpuEs uJockaBPjmy1w== Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 83D9C100033; Tue, 12 Dec 2023 18:10:09 -0500 (EST) Original-Received: from lechazo (lechon.iro.umontreal.ca [132.204.27.242]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 727E212075C; Tue, 12 Dec 2023 18:10:09 -0500 (EST) In-Reply-To: (Dmitry Gutov's message of "Tue, 12 Dec 2023 22:47:35 +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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:276098 Archived-At: > E.g. company-dabbrev-code creates a dynamic binding for case-fold-search in > one place and then calls a function (company-dabbrev--search) that iterates > across all buffers with re-search-forward. BTW, that `company-dabbrev-code` function may not do what you expect in those buffers that have set `case-fold-search` buffer-locally. Stefan