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: Tue, 19 Dec 2023 15:38:44 +0200 Message-ID: <837claia6z.fsf@gnu.org> References: <878r919qfh.fsf@localhost> <87o7esq319.fsf@localhost> <83bkasrb3f.fsf@gnu.org> <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> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3448"; 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 Tue Dec 19 14:40:18 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 1rFaKX-0000ed-Pq for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 19 Dec 2023 14:40:17 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rFaKI-0005ju-D3; Tue, 19 Dec 2023 08:40:02 -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 1rFaKG-0005iz-AW for bug-gnu-emacs@gnu.org; Tue, 19 Dec 2023 08:40: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 1rFaKG-0007gU-2T for bug-gnu-emacs@gnu.org; Tue, 19 Dec 2023 08:40:00 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rFaKI-0006RC-Js for bug-gnu-emacs@gnu.org; Tue, 19 Dec 2023 08:40: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: Tue, 19 Dec 2023 13:40: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.170299315824681 (code B ref 66117); Tue, 19 Dec 2023 13:40:02 +0000 Original-Received: (at 66117) by debbugs.gnu.org; 19 Dec 2023 13:39:18 +0000 Original-Received: from localhost ([127.0.0.1]:34640 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rFaJa-0006Q1-AD for submit@debbugs.gnu.org; Tue, 19 Dec 2023 08:39:18 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36884) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rFaJY-0006Pn-4I for 66117@debbugs.gnu.org; Tue, 19 Dec 2023 08:39:17 -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 1rFaJM-0007bo-Ku; Tue, 19 Dec 2023 08:39:04 -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=OQTYPJ9aZIocokqZUHcn8ktROv40IpnlrxedlmL0I3M=; b=AQqjhzUB42M4 QwMxUsbVgoAqGuWAQS5kuMn9LRW09HrDLMNYn4etVQLqwAuCXRNBXrbKam1COgiyQdUSat3HvDMz7 UTQhC6GfzG81ocvMv/umTGIh5jaNpQk37vXX9BCU57XRCBkLHQuOgtIWBPNOdRS+3ha5mUWcEFeQz X2nYNu4hM8IJAXSKpsj2ahat/XpMh05rbqkqahJQaIkWwIBStYeCV3M6OjKVMEgwfsBW9UCucIpTI gclS2xdzHVC15WWJEkVD6Vc7g7BsolkgQ5/biNPwzOJiBfhMt+xwbbLFFj5J32NCvV8dTMz+BvyaU osl+h5Eo+GAjnTYxeqrNQw==; In-Reply-To: <87edfipbpf.fsf@localhost> (message from Ihor Radchenko on Tue, 19 Dec 2023 13:24:12 +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:276518 Archived-At: > From: Ihor Radchenko > Cc: dmitry@gutov.dev, 66117@debbugs.gnu.org, mattias.engdegard@gmail.com, > monnier@iro.umontreal.ca > Date: Tue, 19 Dec 2023 13:24:12 +0000 > > Eli Zaretskii writes: > > > I don't see any such tests. So yes, it would be good to add them. > > But at the very least we should consider all of the above > > theoretically and see if any of them are expected/supposed to change > > as result of this. > > Do you still think that we need to discuss special cases further, after > Stefan's reply? Stefan seems to say the problem shouldn't exist, barring bugs. So no, discussions are not needed, but tests will be welcome > For example, I have no clue if below is expected > > (defvar test/foo 'value) > (default-boundp 'test/foo) > (default-value 'test/foo) ;; -> value > (let ((test/foo t)) > (default-value 'test/foo)) ;; -> t ??? > > (defvar-local test/foo2 'value) > (default-boundp 'test/foo2) ;; -> t > (default-value 'test/foo2) ;; -> value > (let ((test/foo2 t)) > (default-value 'test/foo2)) ;; -> t ??? > (setq-default test/foo2 'value2) > (default-boundp 'test/foo2) ;; -> t > (default-value 'test/foo2) ;; -> value2 > (let ((test/foo2 t)) > (default-value 'test/foo2)) ;; -> t ??? I'll let Stefan answer that.