[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: |
Tue, 25 Jun 2024 15:25:21 +0000 |
On Tuesday, June 25th, 2024 at 13:57, martin rudalics via "Bug reports for GNU
Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org> wrote:
> With Emacs -Q evaluate the following forms in scratch step by step:
>
>
> (defvar table (make-hash-table :weakness t))
>
> (puthash t (split-window) table)
>
> (delete-other-windows)
>
> (garbage-collect)
>
> (gethash t table)
Is it possible the problem is fixed by running (setq values nil) before
(garbage-collect), or after it, or in between calls to (garbage-collect)? I've
not had time to test on current emacs -Q, but on my running emacs session that
appears to fix the problem.
Of course I have no idea why it worked differently in older emacs versions.
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 <=
- 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?, 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