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 22:55:15 -0500 Message-ID: References: <878r919qfh.fsf@localhost> <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> <87y1dzvvf0.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="867"; 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 04:55:57 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 1rDGLl-000Aci-L9 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 13 Dec 2023 04:55:57 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rDGLe-0006Eu-Ad; Tue, 12 Dec 2023 22:55:50 -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 1rDGLb-0006Eh-Lc for bug-gnu-emacs@gnu.org; Tue, 12 Dec 2023 22:55: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 1rDGLa-0008MB-II for bug-gnu-emacs@gnu.org; Tue, 12 Dec 2023 22:55:46 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rDGLq-0004Da-8d for bug-gnu-emacs@gnu.org; Tue, 12 Dec 2023 22:56: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: Wed, 13 Dec 2023 03:56: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.170243974216185 (code B ref 66117); Wed, 13 Dec 2023 03:56:02 +0000 Original-Received: (at 66117) by debbugs.gnu.org; 13 Dec 2023 03:55:42 +0000 Original-Received: from localhost ([127.0.0.1]:58032 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rDGLV-0004Cz-Vx for submit@debbugs.gnu.org; Tue, 12 Dec 2023 22:55:42 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:63814) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rDGLT-0004Cm-Ve for 66117@debbugs.gnu.org; Tue, 12 Dec 2023 22:55:40 -0500 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id BC690807A7; Tue, 12 Dec 2023 22:55:18 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1702439717; bh=SuEPP+bGt6c0TIXozsEbd62Z0fq3poaZ29x3za19ipU=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=nqDaQ0Ho/fdz6dNIphOe52RMI8xiBArVSU8Pt5jw09Zj9xQdpuOjKQGRQ8tjS/GL7 y2XFg8xSYWgovVbh4d+t1Rz9sb1J200WyWZYx4o9TknXppK5LHP7R50p9n4Y5MV3VQ i8hZBcb/CuUsFC6L7CbFeqEVbIfKR5xU5r+emSAdfYN+iqMSSeDb3JmUsuVqeIW4jm aDntMg/4kcEjPM58NEjfB0EU9Pm6Uj/68HAhub7/p7v8aUVtZv8lS1huMSLmDWW1cD 6a+S+tDho4KYYCv1uVAZ4AAoFVGoMW24OuadhdP4QLlqXVnuKZx74VJT/D3bbEpvrk 1Q9HH8e1saclw== Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id C3AE6801D4; Tue, 12 Dec 2023 22:55:17 -0500 (EST) Original-Received: from pastel (unknown [45.72.203.88]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 8A2E4120A2D; Tue, 12 Dec 2023 22:55:17 -0500 (EST) In-Reply-To: (Dmitry Gutov's message of "Wed, 13 Dec 2023 01:47:59 +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:276109 Archived-At: > That sounds attractive (ignoring all buffer-locals when let-bound?), > but I'm guessing there are enough valid use cases for this behavior. Yup, that would break lots of existing code, indeed, and in subtle enough ways that people would go crazy. Luckily, there's no "100% ideal" way buffer-local and scoped bindings can interact. All choices suck in some circumstances, so there's really no good reason to lament the current choice: it's no worse than the alternatives, AFAIK. Stefan