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, 21 Dec 2023 13:25:58 +0000 Message-ID: <877cl7n0ux.fsf@localhost> References: <878r919qfh.fsf@localhost> <83wmtgpuyf.fsf@gnu.org> <871qboprh3.fsf@localhost> <87y1dwobey.fsf@localhost> <878r5v20gu.fsf@localhost> <83bkapl5zh.fsf@gnu.org> <83zfy9jkoh.fsf@gnu.org> <878r5tglwp.fsf@localhost> <83ttohjet0.fsf@gnu.org> <83sf41jed7.fsf@gnu.org> <87y1dtyu4y.fsf@localhost> <83plz5jdgj.fsf@gnu.org> <87v88xyt2a.fsf@localhost> <83o7epjaon.fsf@gnu.org> <87edfipbpf.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36127"; 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 21 14:23:16 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 1rGJ19-00099Q-Ak for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 21 Dec 2023 14:23:15 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rGJ0x-0006At-NM; Thu, 21 Dec 2023 08:23:03 -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 1rGJ0t-0006AL-Jy for bug-gnu-emacs@gnu.org; Thu, 21 Dec 2023 08:23:00 -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 1rGJ0s-00073K-Rc for bug-gnu-emacs@gnu.org; Thu, 21 Dec 2023 08:22:59 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rGJ0w-0000Mm-Gz for bug-gnu-emacs@gnu.org; Thu, 21 Dec 2023 08:23:02 -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, 21 Dec 2023 13:23: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.17031649801399 (code B ref 66117); Thu, 21 Dec 2023 13:23:02 +0000 Original-Received: (at 66117) by debbugs.gnu.org; 21 Dec 2023 13:23:00 +0000 Original-Received: from localhost ([127.0.0.1]:42632 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rGJ0u-0000MV-41 for submit@debbugs.gnu.org; Thu, 21 Dec 2023 08:23:00 -0500 Original-Received: from mout01.posteo.de ([185.67.36.65]:50033) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rGJ0s-0000ME-1z for 66117@debbugs.gnu.org; Thu, 21 Dec 2023 08:22:58 -0500 Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 08A6A240029 for <66117@debbugs.gnu.org>; Thu, 21 Dec 2023 14:22:47 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1703164968; bh=GMHmuGW6glupuSLW6K1ojrWxvlRRhBBE8Fg2tws0Mww=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=fNCY91LvmgOasrNpNm/V5XWnISfJssS6lugWFqpA4g0yKr/KR0A+H11idudwn9SCv 5itPvSlFTUVMOAvKCD34ZRlmIqzCiYvQ29Yu9aeqL29FtnCf41pnyOG1wv3NatGcfl XCtDPqK/HyHerGK1DgKFyAmSYpIQqoewwX7ZmnAy0NPAg7MoO7Muo3xACHkTodid40 B8DM39NzPU6La9b+zJWsYHwEnVJozzeIgLx55XN1OE/xehIJeALu/R6lNdGwpnH0Lu CFS4XmiFXp7raWH2ZpfYJnAfFrVO7DDC3zovNNMXp4M6FZqWiH6Kz2BMLJ65tp60BU aTiPB0r0phubw== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4SwrhQ4b00z6ty6; Thu, 21 Dec 2023 14:22:46 +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:276629 Archived-At: Stefan Monnier writes: >> (let ((test/foo2 t)) >> (default-value 'test/foo2)) ;; -> t ??? > > Yup. Hmm.. Then, what about (defvar-local let-tests-buffer-local-var 'value) (with-temp-buffer (setq-local let-tests-buffer-local-var 'baz) (let ((let-tests-buffer-local-var 'bar)) ;; This is failing. (should (eq 'bar (default-value 'let-tests-buffer-local-var))) (should (eq 'bar let-tests-buffer-local-var)) (with-temp-buffer (should (eq 'bar (default-value 'let-tests-buffer-local-var))) (should (eq 'bar let-tests-buffer-local-var))))) -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at