From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Xue Fuqiao Newsgroups: gmane.emacs.help Subject: Re: About self-referential object Date: Sat, 5 Jan 2013 09:26:02 +0800 Organization: The Church of Emacs Message-ID: <20130105092602.65a3a7fe72a5a5ff430ac8a7@gmail.com> References: <20130105073253.c6c5000dfd1a9de6a7c6770c@gmail.com> <6BE86BEE127A4EDA936B8C0349D595B6@us.oracle.com> <20130105082439.6fd039019e3ffaee66477208@gmail.com> <3FC0BF0CCCB24BA6820F98E685943F9A@us.oracle.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1357349185 4297 80.91.229.3 (5 Jan 2013 01:26:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 5 Jan 2013 01:26:25 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: "Drew Adams" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jan 05 02:26:42 2013 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 1TrIX2-00087p-8f for geh-help-gnu-emacs@m.gmane.org; Sat, 05 Jan 2013 02:26:40 +0100 Original-Received: from localhost ([::1]:40361 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TrIWm-0003db-U2 for geh-help-gnu-emacs@m.gmane.org; Fri, 04 Jan 2013 20:26:24 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:37628) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TrIWf-0003d3-Qk for help-gnu-emacs@gnu.org; Fri, 04 Jan 2013 20:26:19 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TrIWe-0003eA-Ni for help-gnu-emacs@gnu.org; Fri, 04 Jan 2013 20:26:17 -0500 Original-Received: from mail-pb0-f44.google.com ([209.85.160.44]:37771) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TrIWe-0003e2-Cw for help-gnu-emacs@gnu.org; Fri, 04 Jan 2013 20:26:16 -0500 Original-Received: by mail-pb0-f44.google.com with SMTP id uo1so9453631pbc.3 for ; Fri, 04 Jan 2013 17:26:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:date:from:to:cc:subject:message-id:in-reply-to :references:organization:x-mailer:mime-version:content-type :content-transfer-encoding; bh=ddhwIarpyqcKDHoa7bZGuPmeq6gr1mTTi8ilButTeI4=; b=LZw1ZnpknS50BHPewtvA+k+a1sGoxXIXn2Nc/FLWksV9w9N+xv84nfrNRFCybk+oQQ WBqEI+GJQ1FPAKCmKeov2RfcGDVWaugBFr+otWQmDo8b2gjptl0HMMcJ6Ku2BtSPvPPf F6+Zscp/M2dPOyKulKyevhirLquqPFF+E91BZPIyyW23zDEkonbON08xnRW/625I1jw9 4q7AABGtQXYrrViQPGj59hiX//TcrrQbKI2FqT+EYRv8dIc1aBrs3pHp0UY74KUzk3wm zwl7SG9ipp3ebTnKBsGbdi+iewsR4YGO14bHPouRh96uBcqDmvl7LTjdwu82sMfsqdsa HzEA== X-Received: by 10.66.90.1 with SMTP id bs1mr159121161pab.19.1357349175334; Fri, 04 Jan 2013 17:26:15 -0800 (PST) Original-Received: from Emacs ([114.247.10.66]) by mx.google.com with ESMTPS id ou3sm33119127pbb.46.2013.01.04.17.26.08 (version=SSLv3 cipher=OTHER); Fri, 04 Jan 2013 17:26:14 -0800 (PST) In-Reply-To: <3FC0BF0CCCB24BA6820F98E685943F9A@us.oracle.com> X-Mailer: Sylpheed 3.2.0 (GTK+ 2.24.13; x86_64-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.160.44 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:88460 Archived-At: On Fri, 4 Jan 2013 16:55:56 -0800 "Drew Adams" wrote: > Let's assume first that it tries to print the infinite object without any > abbreviation. When it starts printing the value of `foo' it is at level 0 (top > level). When it tries to print the car of that cons, it needs to print the > value of `foo' again, this time at printing level 1: `((foo))'. When it tries > to print that third `foo' it is at level 2, and so on. Think of the printing > "levels" here as recursive calls to a printing function. > > To abbreviate, it prints just (#0), meaning a single cons cell with, as its car, > the same cons cell, i.e., the object that the printer started out to print. Ah, I see, thanks. -- Best regards, Xue Fuqiao. http://www.emacswiki.org/emacs/XueFuqiao