Miles Bader wrote:
"Lennart Borgman (gmail)" <[EMAIL PROTECTED]> writes:
   (let ((#1=#:my-uninterned-var 5))
     (+ #1# 3))
Thanks. I have never seent that syntax. I guess it is "unofficial"?

I'm not really sure what you mean; it's real reader syntax, and it's
perfectly fine to use it...  It will also be output by the lisp printer
if `print-gensym' is non-nil.  See `(elisp)Output Variables' and
`(elisp)Circular Objects' in the info manual.

Basically #:SYMBOL is read like SYMBOL, except that it's not interned.
So a further occurance of #:SYMBOL will be a _different_ symbol.

When is my-uninterned-var used in the elisp code? Only in the #:?

The #1# is actually #:my-uninterned-var (the same one as before, not a
different one with the same name).

Thanks. Let see if I understand now ;-)

So #:my-uninterned-var could be #:dummy? The name given is never used, or?


_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to