[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#40693: 28.0.50; json-encode-alist changes alist
From: |
Paul Eggert |
Subject: |
bug#40693: 28.0.50; json-encode-alist changes alist |
Date: |
Sun, 19 Apr 2020 15:14:11 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 |
On 4/19/20 2:01 PM, Drew Adams wrote:
'foo returns the symbol foo. Depending on the
context, you can certainly modify the properties of
that symbol - its `symbol-value', `symbol-function',
and `symbol-plist'.
Thanks for catching that. I installed the attached further patch to fix that.
The message should be about not _depending_ on a
quoted value returning a new object (e.g. new list
structure). The message should not be that `quote'
never returns a new object.
The message is already in the new "Constants and Mutability" section in the
emacs-27 branch. No doubt the wording could be improved....
A constant is not something that _should not_ be
modified. It's something that _cannot_ be modified.
This is merely a terminology issue; feel free to come up with better
terminology.
0001-Fix-mutability-glitches-reported-by-Drew-Adams.patch
Description: Text Data
- bug#40693: 28.0.50; json-encode-alist changes alist, (continued)
- bug#40693: 28.0.50; json-encode-alist changes alist, Eli Zaretskii, 2020/04/29
- bug#40693: 28.0.50; json-encode-alist changes alist, Dmitry Gutov, 2020/04/29
- bug#40693: 28.0.50; json-encode-alist changes alist, Eli Zaretskii, 2020/04/29
- bug#40693: 28.0.50; json-encode-alist changes alist, Dmitry Gutov, 2020/04/29
- bug#40693: 28.0.50; json-encode-alist changes alist, Eli Zaretskii, 2020/04/29
- bug#40693: 28.0.50; json-encode-alist changes alist, Dmitry Gutov, 2020/04/29
- bug#40693: 28.0.50; json-encode-alist changes alist, Eli Zaretskii, 2020/04/29
- bug#40693: 28.0.50; json-encode-alist changes alist, Basil L. Contovounesios, 2020/04/29
bug#40693: 28.0.50; json-encode-alist changes alist, Paul Eggert, 2020/04/19
- bug#40693: 28.0.50; json-encode-alist changes alist, Drew Adams, 2020/04/19
- bug#40693: 28.0.50; json-encode-alist changes alist,
Paul Eggert <=
- bug#40693: 28.0.50; json-encode-alist changes alist, Michael Heerdegen, 2020/04/19
- bug#40693: 28.0.50; json-encode-alist changes alist, Paul Eggert, 2020/04/19
- bug#40693: 28.0.50; json-encode-alist changes alist, Michael Heerdegen, 2020/04/19
- bug#40693: 28.0.50; json-encode-alist changes alist, Paul Eggert, 2020/04/19
- bug#40693: 28.0.50; json-encode-alist changes alist, Michael Heerdegen, 2020/04/19
- bug#40693: 28.0.50; json-encode-alist changes alist, Paul Eggert, 2020/04/19
- bug#40693: 28.0.50; json-encode-alist changes alist, Eli Zaretskii, 2020/04/20
- bug#40693: 28.0.50; json-encode-alist changes alist, Drew Adams, 2020/04/20