From xemacs-m  Mon Jul 21 09:36:54 1997
Received: from bittersweet.inetarena.com (karlheg@bittersweet.inetarena.com [206.129.216.38])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id JAA00931
	for <xemacs-beta@xemacs.org>; Mon, 21 Jul 1997 09:36:52 -0500 (CDT)
Received: (from karlheg@localhost)
	by bittersweet.inetarena.com (8.8.5/8.8.5) id HAA27845;
	Mon, 21 Jul 1997 07:35:59 -0700
To: XEmacs Beta <xemacs-beta@xemacs.org>
Subject: Question about lispref: printing of circular structures
X-Face: /Q}=yl}1_v7nP)xXo5XjG8+tl@=uVu7o5u6)f]zN?+<hB!K.m9:[|*p34jVN`O;:XZXVSy>/\R>qDt(t8w!-i{(y0"`jFw^uk8inzO9wXabd'CdjUWfC\GHi:6nO*YC89#-qD>Q4r%9!V"<RYJ=7D#$";q=zML5'!=wvXk^$`6FT=5CMofQX)WUKt0p:OKl.mFOXx/D
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: multipart/mixed;
 boundary="Multipart_Mon_Jul_21_07:35:56_1997-1"
Content-Transfer-Encoding: 7bit
From: karlheg+xemacs@inetarena.com (Karl M. Hegbloom)
Date: 21 Jul 1997 07:35:57 -0700
Message-ID: <87zprgqxpu.fsf@bittersweet.inetarena.com>
Lines: 35
X-Mailer: Gnus v5.4.63/XEmacs 20.3(beta14) - "Vienna"

--Multipart_Mon_Jul_21_07:35:56_1997-1
Content-Type: text/plain; charset=US-ASCII


 I just tried this example, and rather than doing what it says it
will, XEmacs thrums and says "Apparently circular structure being
printed".

 Is there a variable, as in Common LISP, that can be set to make this
printable?  What's the story?



--Multipart_Mon_Jul_21_07:35:56_1997-1
Content-Type: text/plain; charset=US-ASCII

  Printing a self-referent Lisp object requires an infinite amount of
text.  In certain cases, trying to produce this text leads to a stack
overflow.  XEmacs detects such recursion and prints @samp{#@var{level}}
instead of recursively printing an object already being printed.  For
example, here @samp{#0} indicates a recursive reference to the object at
level 0 of the current print operation:

@example
(setq foo (list nil))
     @result{} (nil)
(setcar foo foo)
     @result{} (#0)
@end example

--Multipart_Mon_Jul_21_07:35:56_1997-1
Content-Type: text/plain; charset=US-ASCII


--Multipart_Mon_Jul_21_07:35:56_1997-1--

