GNU bug report logs - #66117
30.0.50; `find-buffer-visiting' is slow when opening large number of buffers

Previous Next

Package: emacs;

Reported by: Ihor Radchenko <yantar92 <at> posteo.net>

Date: Wed, 20 Sep 2023 08:53:02 UTC

Severity: minor

Found in version 30.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Ihor Radchenko <yantar92 <at> posteo.net>
Cc: dmitry <at> gutov.dev, Eli Zaretskii <eliz <at> gnu.org>, mattias.engdegard <at> gmail.com, 66117 <at> debbugs.gnu.org
Subject: bug#66117: 30.0.50; `find-buffer-visiting' is slow when opening large number of buffers
Date: Wed, 20 Dec 2023 15:33:26 -0500
> If yes, I will need help with various edge cases, because I am not
> really sure about them. For example, I have no clue if below is expected
>
> (defvar test/foo 'value)
> (default-boundp 'test/foo)
> (default-value 'test/foo) ;; -> value

Yup.

> (let ((test/foo t))
>   (default-value 'test/foo)) ;; -> t ???

Yup.

> (defvar-local test/foo2 'value)
> (default-boundp 'test/foo2) ;; -> t

Yup.

> (default-value 'test/foo2) ;; -> value

Yup.

> (let ((test/foo2 t))
>   (default-value 'test/foo2)) ;; -> t ???

Yup.

> (setq-default test/foo2 'value2)
> (default-boundp 'test/foo2) ;; -> t

Yup.

> (default-value 'test/foo2) ;; -> value2

Yup.

> (let ((test/foo2 t))
>   (default-value 'test/foo2)) ;; -> t ???

Yup.


        Stefan





This bug report was last modified 1 year and 136 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.