From: Chong Yidong <cyd@stupidchicken.com>
To: "Lennart Borgman \(gmail\)" <lennart.borgman@gmail.com>
Cc: emacs-devel@gnu.org, Stefan Monnier <monnier@iro.umontreal.ca>,
rms@gnu.org
Subject: Re: print-circle and describe-variable
Date: Mon, 09 Apr 2007 19:08:25 -0400 [thread overview]
Message-ID: <877isl9mdy.fsf@stupidchicken.com> (raw)
In-Reply-To: <461A9B38.50507@gmail.com> (Lennart Borgman's message of "Mon\, 09 Apr 2007 21\:59\:52 +0200")
"Lennart Borgman (gmail)" <lennart.borgman@gmail.com> 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.
next prev parent reply other threads:[~2007-04-09 23:08 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-07 0:54 print-circle and describe-variable Lennart Borgman (gmail)
2007-04-07 17:31 ` Richard Stallman
2007-04-09 0:15 ` Stefan Monnier
2007-04-09 1:00 ` Lennart Borgman (gmail)
2007-04-09 7:02 ` Eli Zaretskii
2007-04-09 9:06 ` Lennart Borgman (gmail)
2007-04-09 19:25 ` Stefan Monnier
2007-04-09 19:59 ` Lennart Borgman (gmail)
2007-04-09 23:08 ` Chong Yidong [this message]
2007-04-09 23:28 ` Lennart Borgman (gmail)
2007-04-09 23:43 ` Drew Adams
2007-04-10 0:01 ` Lennart Borgman (gmail)
2007-04-10 15:02 ` Drew Adams
2007-04-10 15:33 ` Lennart Borgman (gmail)
2007-04-10 15:50 ` Drew Adams
2007-04-10 16:32 ` Lennart Borgman (gmail)
2007-04-10 16:13 ` Chong Yidong
2007-04-10 1:00 ` Miles Bader
2007-04-10 2:21 ` Richard Stallman
2007-04-10 2:35 ` Chong Yidong
2007-04-11 4:14 ` Richard Matthew Stallman
2007-04-11 5:16 ` Chong Yidong
2007-04-11 23:04 ` Richard Matthew Stallman
2007-04-12 9:29 ` Kim F. Storm
2007-04-13 1:41 ` Richard Stallman
2007-05-11 16:33 ` Herbert Euler
2007-04-09 22:52 ` Richard Stallman
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=877isl9mdy.fsf@stupidchicken.com \
--to=cyd@stupidchicken.com \
--cc=emacs-devel@gnu.org \
--cc=lennart.borgman@gmail.com \
--cc=monnier@iro.umontreal.ca \
--cc=rms@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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.