From: Pip Cet via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: martin rudalics <rudalics@gmx.at>
Cc: 71774@debbugs.gnu.org
Subject: bug#71774: 31.0.50; Hash table weakness broken?
Date: Wed, 26 Jun 2024 08:46:04 +0000 [thread overview]
Message-ID: <eKJPoMx3sWbmmkBxb8MLNXcmmUQlc5Rf-ENAoFHYX1iNgtHgS-sV84Jf8g5jlYQ-g_2dKFw5hAayKhGEcfxyXGuXSitRODdhcRdYFgs7IFE=@protonmail.com> (raw)
In-Reply-To: <538ef1ba-fc7a-482a-a469-4faf0ff3cfb5@gmx.at>
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
next prev parent reply other threads:[~2024-06-26 8:46 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-25 13:57 bug#71774: 31.0.50; Hash table weakness broken? martin rudalics via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-06-25 15:02 ` Eli Zaretskii
2024-06-25 17:19 ` Mattias Engdegård
2024-06-26 8:38 ` martin rudalics via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-06-26 9:39 ` Mattias Engdegård
2024-06-25 15:25 ` Pip Cet via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-06-26 8:37 ` martin rudalics via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-06-26 8:46 ` Pip Cet via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2024-06-26 9:08 ` martin rudalics via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-06-26 9:12 ` Pip Cet via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-06-26 13:23 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-06-26 13:53 ` martin rudalics via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-06-26 14:11 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-06-27 7:19 ` martin rudalics via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-06-27 18:42 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-06-27 23:42 ` Stefan Kangas
2024-06-28 12:59 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-06-28 5:29 ` Eli Zaretskii
2024-06-26 14:13 ` Pip Cet via Bug reports for GNU Emacs, the Swiss army knife of text editors
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='eKJPoMx3sWbmmkBxb8MLNXcmmUQlc5Rf-ENAoFHYX1iNgtHgS-sV84Jf8g5jlYQ-g_2dKFw5hAayKhGEcfxyXGuXSitRODdhcRdYFgs7IFE=@protonmail.com' \
--to=bug-gnu-emacs@gnu.org \
--cc=71774@debbugs.gnu.org \
--cc=pipcet@protonmail.com \
--cc=rudalics@gmx.at \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.