[Top][All Lists]

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

Re: Towards a cleaner build: eieio

From: Stefan Monnier
Subject: Re: Towards a cleaner build: eieio
Date: Sat, 15 Jun 2019 12:31:10 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

> Sorry, I meant -- are all these object-print methods supposed to be
> expressed as cl-print-object methods instead?

I think so.

> And if so, can they be rewritten that way now without breaking anything?

I think so too (tho they'll only work that way with Emacs>26, of course).

> Or would that break out-of-tree code that calls object-print?

There's also a risk of that, of course.

> eieio.el has general fallback code for object-print, but does not
> consult the output of cl-print-object for the objects, so I guess that
> might break something?  But...  could we do that, without going all
> recursive?

Right, I don't think we want to try and make object-print fallback to
cl-print-object: not worth the trouble.


reply via email to

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