[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: obarray
From: |
Emanuel Berg |
Subject: |
Re: obarray |
Date: |
Sun, 15 Dec 2013 05:55:42 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Barry Margolin <barmar@alum.mit.edu> writes:
> Values are unrelated to whether a symbol is in the
> obarray. An uninterned symbol can have a value.
OK.
> (setq uninterned-symbol (make-symbol "foo"))
> (setf (symbol-value uninterned-symbol) 'bar)
That looks backward. It looks like you are setting the
value (i.e. data) to 'bar. But `symbol-value' returns
not only the data for practical purposes, but the
*place* of the data (and those are the same)?
> This symbol "foo" won't be in the obarray, but it
> still has a value.
To me, with the defun I wrote in the beginning of this
thread, I *do* get uninterned-symbol, and that should
only look in obarray - also, the value seems to be not
'bar, but "foo" (?).
--
Emanuel Berg, programmer-for-rent. CV, projects, etc at uXu
underground experts united: http://user.it.uu.se/~embe8573
- obarray, Emanuel Berg, 2013/12/14
- Re: obarray, Juanma Barranquero, 2013/12/14
- Message not available
- Re: obarray, Emanuel Berg, 2013/12/14
- Re: obarray, Barry Margolin, 2013/12/14
- Re: obarray, Michael Heerdegen, 2013/12/14
- Re: obarray,
Emanuel Berg <=
- Re: obarray, Barry Margolin, 2013/12/15
- Re: obarray, Emanuel Berg, 2013/12/15
- Re: obarray, Barry Margolin, 2013/12/16
- Re: obarray, Michael Heerdegen, 2013/12/16
- Message not available
- Re: obarray, Emanuel Berg, 2013/12/16
- Re: obarray, Michael Heerdegen, 2013/12/16
- Message not available
- Re: obarray, Emanuel Berg, 2013/12/16
- Re: obarray, Barry Margolin, 2013/12/17
- Re: obarray, Emanuel Berg, 2013/12/17
- Message not available
- Re: obarray, Emanuel Berg, 2013/12/15