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 18:21:34 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux)

Ihor Radchenko <yantar92@gmail.com> writes:

> Variable would indeed be better. Using variable is more consistent with
> the existing behaviour. prin1 can already be controlled by variables
> like print-level, print-circle, etc
>
> Though the name should probably start with print-. Maybe something like
> print-unreadable (t by default, nil will make prin1 throw an error, and
> 'replace to print the value of print-unreadable-as instead of unreadable
> object).
>
> Yet another option may be not printing anything when print-unreadable is
> t and throwing an error when print-unreadable is 'error, but I am not
> sure if that much customisation is too much.

How about `print-throw-if-printing-unreadably'?


reply via email to

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