From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.help Subject: Re: About Circular Objects Date: Tue, 25 Dec 2012 15:48:41 +0100 Message-ID: <87pq1y9ohi.fsf@gnus.org> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1356446960 23760 80.91.229.3 (25 Dec 2012 14:49:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 25 Dec 2012 14:49:20 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Xue Fuqiao Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Dec 25 15:49:34 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TnVoy-0006Bi-Vc for geh-help-gnu-emacs@m.gmane.org; Tue, 25 Dec 2012 15:49:33 +0100 Original-Received: from localhost ([::1]:37791 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TnVok-0007pT-Kr for geh-help-gnu-emacs@m.gmane.org; Tue, 25 Dec 2012 09:49:18 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:56831) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TnVoc-0007p8-4F for help-gnu-emacs@gnu.org; Tue, 25 Dec 2012 09:49:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TnVoY-0006JT-4m for help-gnu-emacs@gnu.org; Tue, 25 Dec 2012 09:49:10 -0500 Original-Received: from hermes.netfonds.no ([80.91.224.195]:33443) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TnVoX-0006JF-U8 for help-gnu-emacs@gnu.org; Tue, 25 Dec 2012 09:49:06 -0500 Original-Received: from ip-90-20-179-93.dialup.ice.net ([93.179.20.90] helo=rusty) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1TnVoF-00022g-Ai; Tue, 25 Dec 2012 15:48:48 +0100 X-Now-Playing: Winston Tong's _Theoretically Chinese_ In-Reply-To: (Xue Fuqiao's message of "Tue, 25 Dec 2012 16:52:49 +0800") User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux) X-MailScanner-ID: 1TnVoF-00022g-Ai MailScanner-NULL-Check: 1357051729.26037@CETj1GJfA6k6tBAsFjSV2Q X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.224.195 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:88314 Archived-At: Xue Fuqiao writes: > 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? (progn (setq x '#1=(a . #1#)) (eq x (cdr x))) => t -- (domestic pets only, the antidote for overdose, milk.) http://lars.ingebrigtsen.no * Lars Magne Ingebrigtsen