[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: print-circle and describe-variable
From: |
Chong Yidong |
Subject: |
Re: print-circle and describe-variable |
Date: |
Mon, 09 Apr 2007 19:08:25 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.97 (gnu/linux) |
"Lennart Borgman (gmail)" <address@hidden> writes:
> Stefan Monnier wrote:
>>> But we do believe that print-circle makes it possible to print out
>>> recursive structures, or? And we do not believe that it disturbs printing
>>> out non-recursive structures (except that it gets a bit slower), or?
>>
>> Actually, I believe it does affect printing non-circular structures in more
>> ways than just by making it slower.
>>
>> Try (let ((print-circle t) (toto (list 2))) (prin1 (list toto toto)))
>>
>> In some cases, this is a good feature, but in many other cases it can be
>> very confusing.
>
>
> Interesting, but is not that just another bug?
Nope. When print-circle is on, the printer takes note of shared
substructures. It's just that in this case, taking note of shared
substructure obfuscates the value.
- print-circle and describe-variable, Lennart Borgman (gmail), 2007/04/06
- Re: print-circle and describe-variable, Richard Stallman, 2007/04/07
- Re: print-circle and describe-variable, Stefan Monnier, 2007/04/08
- Re: print-circle and describe-variable, Stefan Monnier, 2007/04/09
- Re: print-circle and describe-variable, Lennart Borgman (gmail), 2007/04/09
- Re: print-circle and describe-variable,
Chong Yidong <=
- Re: print-circle and describe-variable, Lennart Borgman (gmail), 2007/04/09
- RE: print-circle and describe-variable, Drew Adams, 2007/04/09
- Re: print-circle and describe-variable, Lennart Borgman (gmail), 2007/04/09
- RE: print-circle and describe-variable, Drew Adams, 2007/04/10
- Re: print-circle and describe-variable, Lennart Borgman (gmail), 2007/04/10
- RE: print-circle and describe-variable, Drew Adams, 2007/04/10
- Re: print-circle and describe-variable, Lennart Borgman (gmail), 2007/04/10
- Re: print-circle and describe-variable, Chong Yidong, 2007/04/10
- Re: print-circle and describe-variable, Miles Bader, 2007/04/09
- Re: print-circle and describe-variable, Richard Stallman, 2007/04/09