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

Ihor Radchenko <yantar92@gmail.com> writes:

>> Maybe we could have a `print-unreadable-function' that accepts
>> `printcharfun' as an argument.  That would be very nice indeed.

> Do you imply that `print-unreadable-function' should return the new
> value to be printed? If so, it is indeed more flexible. Passing the
> unreadable value to the function would also be useful (e.g. we can print
> buffer file name instead of buffer object).

It would accept a function that is called to print characters, like the
`printcharfun' argument to prin1.


reply via email to

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