GNU bug report logs -
#52566
29.0.50; Wishlist: There should be a print-unreadable-function variable
Previous Next
Reported by: Lars Ingebrigtsen <larsi <at> gnus.org>
Date: Fri, 17 Dec 2021 07:26:02 UTC
Severity: wishlist
Found in version 29.0.50
Fixed in version 29.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #19 received at 52566 <at> debbugs.gnu.org (full text, mbox):
> From: Lars Ingebrigtsen <larsi <at> gnus.org>
> Cc: 52566 <at> debbugs.gnu.org
> Date: Sat, 22 Jan 2022 16:25:00 +0100
>
> Eli Zaretskii <eliz <at> gnu.org> writes:
>
> > The doc string of print-unreadable-function and its documentation in
> > the manual seem to contradict each other.
>
> Better now?
Not really. Or am I missing something?
The doc string says:
If this function returns nil, the object will be printed as usual.
If it returns a string, that string will then be printed. If the
function returns anything else, the object will not be printed.
But the manual says:
The function should return either @code{nil} (print nothing), or a
string (which will be printed), or any other object (which means that
the object should be printed normally).
The only thing these two agree upon is the case that the function
returns a string. The other 2 possibilities are described
differently.
This bug report was last modified 3 years and 177 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.