emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: `unreadablep'


From: Po Lu
Subject: Re: `unreadablep'
Date: Wed, 15 Dec 2021 16:19:16 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux)

Lars Ingebrigtsen <larsi@gnus.org> writes:

> It would be nice to have such a function (i.e., that says whether it can
> be read back after printing it).  The problem is, of course, complex
> structures that require recursing (and then checking for loops), etc, so
> you basically have to implement it the way printing is done if you want
> it to be fast, I think?

Yes, it would be very convenient indeed.

I think the best solution would be to allow `prin1' to optionally return
whether or not any unreadable objects were printed, instead of the
object itself.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]