From: Stefan Monnier <monnier@iro.umontreal.ca>
To: npostavs@users.sourceforge.net
Cc: 27117@debbugs.gnu.org
Subject: bug#27117: 26.0.50; Setting cl-print-compiled to `static' has problems if print-circle isn't set
Date: Sun, 28 May 2017 14:33:08 -0400 [thread overview]
Message-ID: <jwvk250kf5z.fsf-monnier+emacsbugs@gnu.org> (raw)
In-Reply-To: <871sr958sy.fsf@users.sourceforge.net> (npostavs's message of "Sun, 28 May 2017 10:56:45 -0400")
> Replacing 'cl-prin1' with 'prin1' gives:
> #[0 "\302\303\301\242\"\210\300 \207" [tmm-add-prompt (#0) remove-hook minibuffer-setup-hook] 3]
Indeed, prin1 has a two ways to prevent infinite recursion:
- limit the print to a certain depth
- detect when we start printing that we're already in the process of
printing, and then replace it with #N where N is some kind of depth of
the reference (so #0 refers to the whole object that we're in the
process of printing).
cl-prin1 doesn't offer these safety belts, currently (I always set
print-circle).
Stefan
next prev parent reply other threads:[~2017-05-28 18:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-28 14:56 bug#27117: 26.0.50; Setting cl-print-compiled to `static' has problems if print-circle isn't set npostavs
2017-05-28 18:33 ` Stefan Monnier [this message]
2017-05-28 21:13 ` npostavs
2017-05-31 11:48 ` npostavs
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=jwvk250kf5z.fsf-monnier+emacsbugs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=27117@debbugs.gnu.org \
--cc=npostavs@users.sourceforge.net \
/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.