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: Tue, 02 Jan 2024 13:09:38 +0000 Message-ID: <87wmsranl9.fsf@localhost> References: <878r919qfh.fsf@localhost> <87y1dtyu4y.fsf@localhost> <83plz5jdgj.fsf@gnu.org> <87v88xyt2a.fsf@localhost> <83o7epjaon.fsf@gnu.org> <87edfipbpf.fsf@localhost> <877cl7n0ux.fsf@localhost> <878r5953ux.fsf@localhost> <8734vg6b62.fsf@localhost> <87wmss3t31.fsf@localhost> <87le983rya.fsf@localhost> <875y0caqg0.fsf@localhost> <87zfxo9bj3.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34417"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 66117@debbugs.gnu.org, dmitry@gutov.dev, Eli Zaretskii , mattias.engdegard@gmail.com, Stefan Monnier To: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jan 02 14:07:17 2024 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 1rKeUG-0008gC-To for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 02 Jan 2024 14:07:17 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rKeU2-0005bH-9R; Tue, 02 Jan 2024 08:07: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 1rKeU0-0005au-Kr for bug-gnu-emacs@gnu.org; Tue, 02 Jan 2024 08:07: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 1rKeU0-0005JB-35 for bug-gnu-emacs@gnu.org; Tue, 02 Jan 2024 08:07:00 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rKeU2-0007zI-72 for bug-gnu-emacs@gnu.org; Tue, 02 Jan 2024 08:07: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: Tue, 02 Jan 2024 13:07: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.170420080030669 (code B ref 66117); Tue, 02 Jan 2024 13:07:02 +0000 Original-Received: (at 66117) by debbugs.gnu.org; 2 Jan 2024 13:06:40 +0000 Original-Received: from localhost ([127.0.0.1]:49589 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rKeTf-0007yb-Sh for submit@debbugs.gnu.org; Tue, 02 Jan 2024 08:06:40 -0500 Original-Received: from mout02.posteo.de ([185.67.36.66]:60547) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rKeTd-0007yM-AP for 66117@debbugs.gnu.org; Tue, 02 Jan 2024 08:06:38 -0500 Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 48BB0240105 for <66117@debbugs.gnu.org>; Tue, 2 Jan 2024 14:06:29 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1704200789; bh=z0kMNfrNMnKl51uEdSJ74KEFgdnkBqzanwl3J9kyDf4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=BeuFPk/TCVvKd9nmXMz2ROYVgdX3g/jKYoI7QEYefYAMPdEbWYs/nGZHS0NpW4WQc mqEOI6kzgcBJliOJh7lNs+OQQ/CEyiriGW8DA1vKzhQTGPWPHxZ/LQ31z3AMVyHSW0 2tdWZCBhmIOzHHDghOzXrYkgR3Ml1L6okk2ulPhJkyViN08IG682rC/ZMwZcNr+5O+ V/xKKTe1JOBSreFwy8xSJngYWzju8ZRl97P0NgulhXwwerjysuUqwGlag0RBHLma+q clSqvoDFnJljLlDdY+fM78+8g2xZJ3uHgDN/3o85y/czDAAtCQ3+vAKda4J1CdsXJQ lMBZB25mFKcxA== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4T4Cm332y5z6v0b; Tue, 2 Jan 2024 14:06:27 +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:277236 Archived-At: Gerd M=C3=B6llmann writes: >> (with-temp-buffer >> ;; (setq-local eval-tests/buffer-local-var 'local-value) >> (let ((eval-tests/buffer-local-var 'let-value)) >> ;; Let in a buffer with local binding does not change the >> ;; default value for variable. >> (should (eq 'let-value (default-value 'eval-tests/buffer-local-var= ))))) > > Here, temp has no local value, so the current value is the global one. > Let changes the global (current) value, and default-value picks that up. > > In both cases, I don't know if that's mentioned explicitly in some doc > string. It's the normal behavior of let with special variables (dynamic > variables). The current value that is set changes depending on > circumstances. AFAIK, this detail is not documented anywhere. --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at