[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#71774: 31.0.50; Hash table weakness broken?
From: |
Pip Cet |
Subject: |
bug#71774: 31.0.50; Hash table weakness broken? |
Date: |
Wed, 26 Jun 2024 08:46:04 +0000 |
On Wednesday, June 26th, 2024 at 08:37, martin rudalics via "Bug reports for
GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org> wrote:
> > Is it possible the problem is fixed by running (setq values nil)
> Which "values" would you set to nil?
The global variable "values", which the REPL uses to store evaluated values.
> What precisely did you do?
Here's my *scratch* buffer in emacs -Q:
(defvar table (make-hash-table :weakness t))
(puthash t (split-window) table)
(delete-other-windows)
(garbage-collect)
(gethash t table)
(setq values nil)
(garbage-collect)
(gethash t table)
What I did is go through this buffer line by line, using C-x C-e after each
line. The first gethash produces the window, the second returns nil.
Pip
- bug#71774: 31.0.50; Hash table weakness broken?, martin rudalics, 2024/06/25
- bug#71774: 31.0.50; Hash table weakness broken?, Pip Cet, 2024/06/26
- bug#71774: 31.0.50; Hash table weakness broken?, martin rudalics, 2024/06/26
- bug#71774: 31.0.50; Hash table weakness broken?,
Pip Cet <=
- bug#71774: 31.0.50; Hash table weakness broken?, martin rudalics, 2024/06/26
- bug#71774: 31.0.50; Hash table weakness broken?, Pip Cet, 2024/06/27
- bug#71774: 31.0.50; Hash table weakness broken?, Stefan Monnier, 2024/06/26
- bug#71774: 31.0.50; Hash table weakness broken?, martin rudalics, 2024/06/26
- bug#71774: 31.0.50; Hash table weakness broken?, Stefan Monnier, 2024/06/26
- bug#71774: 31.0.50; Hash table weakness broken?, martin rudalics, 2024/06/27
- bug#71774: 31.0.50; Hash table weakness broken?, Stefan Monnier, 2024/06/27
- bug#71774: 31.0.50; Hash table weakness broken?, Eli Zaretskii, 2024/06/28
- bug#71774: 31.0.50; Hash table weakness broken?, Stefan Kangas, 2024/06/28
- bug#71774: 31.0.50; Hash table weakness broken?, Stefan Monnier, 2024/06/28