unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Xue Fuqiao <xfq.free@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: About Circular Objects
Date: Tue, 25 Dec 2012 16:52:49 +0800	[thread overview]
Message-ID: <20121225165249.e5822f6cc71fa88d959efcd0@gmail.com> (raw)

I have a question about the #N# read syntax and #N= syntax.  Look at this code:

(progn
  (setq x '#1=(a #1#))
  (eq x (cdr x)))

Why does this code return nil?  Isn't the second element the list itself?

-- 
Best regards.



             reply	other threads:[~2012-12-25  8:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-25  8:52 Xue Fuqiao [this message]
2012-12-25 14:52 ` About Circular Objects Teemu Likonen
     [not found] <mailman.16090.1356446630.855.help-gnu-emacs@gnu.org>
2012-12-25 14:48 ` Lars Magne Ingebrigtsen
2012-12-25 14:51 ` Pascal J. Bourguignon

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20121225165249.e5822f6cc71fa88d959efcd0@gmail.com \
    --to=xfq.free@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).