[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#40671: [DOC] modify literal objects
From: |
Michael Heerdegen |
Subject: |
bug#40671: [DOC] modify literal objects |
Date: |
Mon, 11 May 2020 04:56:16 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Drew Adams <drew.adams@oracle.com> writes:
> But are symbols otherwise constant, besides their
> values? Depends what you mean by "symbol", perhaps.
> Certainly you can change not only `symbol-value' but
> also `symbol-function' and `symbol-plist'. I don't
> see symbols as very constant.
Also makes sense, yes.
> I think that text wasn't too bad, but I see your point.
>
> And it's especially not good to use "value" in the two
> different senses, as (1) something you see ("appears")
> in a source program and (2) a runtime value that results
> from reading, byte-compiling, or interpreting that source
> code.
>
> Maybe "object" or "Lisp object" instead of "value", for
> #2?
The term "value" is used all over the place in the manual for #2, so
people are familiar with it, we need a better term for (1) instead I
think. (info "(elisp) Equality Predicates") already uses the term
"literal object" btw:
The Emacs Lisp byte compiler may collapse identical literal
objects, such as literal strings, into references to the same
object, with the effect that the byte-compiled code will compare
such objects as ‘eq’, while the interpreted version of the same
code will not.
Michael.
- bug#40671: [DOC] modify literal objects, (continued)
- bug#40671: [DOC] modify literal objects, Dmitry Gutov, 2020/05/09
- bug#40671: [DOC] modify literal objects, Dmitry Gutov, 2020/05/10
- bug#40671: [DOC] modify literal objects, Paul Eggert, 2020/05/10
- bug#40671: [DOC] modify literal objects, Michael Heerdegen, 2020/05/10
- bug#40671: [DOC] modify literal objects, Dmitry Gutov, 2020/05/10
- bug#40671: [DOC] modify literal objects, Paul Eggert, 2020/05/10
- bug#40671: [DOC] modify literal objects, Michael Heerdegen, 2020/05/10
- bug#40671: [DOC] modify literal objects, Drew Adams, 2020/05/10
- bug#40671: [DOC] modify literal objects, Dmitry Gutov, 2020/05/10
- bug#40671: [DOC] modify literal objects, Drew Adams, 2020/05/10
- bug#40671: [DOC] modify literal objects,
Michael Heerdegen <=
- bug#40671: [DOC] modify literal objects, Drew Adams, 2020/05/11
- bug#40671: [DOC] modify literal objects, Michael Heerdegen, 2020/05/11
- bug#40671: [DOC] modify literal objects, Paul Eggert, 2020/05/11
- bug#40671: [DOC] modify literal objects, Noam Postavsky, 2020/05/11
- bug#40671: [DOC] modify literal objects, Michael Heerdegen, 2020/05/11
- bug#40671: [DOC] modify literal objects, Michael Heerdegen, 2020/05/11
- bug#40671: [DOC] modify literal objects, Richard Stallman, 2020/05/11
- bug#40671: [DOC] modify literal objects, Michael Heerdegen, 2020/05/12
- bug#40671: [DOC] modify literal objects, Richard Stallman, 2020/05/12
- bug#40671: [DOC] modify literal objects, Michael Heerdegen, 2020/05/13