GNU bug report logs -
#41814
defmethod cl-print-object is not entirely reliable
Previous Next
Reported by: akater <nuclearspace <at> gmail.com>
Date: Thu, 11 Jun 2020 20:29:01 UTC
Severity: normal
Tags: notabug
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Michael Heerdegen <michael_heerdegen <at> web.de> writes:
> Yes, this doesn't use cl-print at all. And I think that makes sense:
> when inserting a value into a buffer, readability is important (that
> doesn't make a difference in your case, though).
I'm afraid I disagree. Why would anyone write a printing method if they
didn't aim for better readability in the first place?
My example was an MWE. This behaviour concerns me because I have
classes with plenty of slots, and I actually often return /a tree/ of
corrsponding objects. It certainly looks less readable when cl-print is
not used. The whole point of defining a printing method is to have
fine-tuned printed represntations. If it's not actually used
[everywhere, of course] I just don't understand why it's there at all.
IELM, too, “inserts value into a buffer” so I don't really get this
distinction either.
I'd have my personal itch scratched if I could at least specify cl-print
use in Org blocks but this doesn't feel right at all.
Does Emacs have object inspector? If not, I'd guess its lack is the
real reason behind the desire to keep overly detailed output in some
places.
This bug report was last modified 3 years and 342 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.