[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Towards a cleaner build: eieio
From: |
Lars Ingebrigtsen |
Subject: |
Re: Towards a cleaner build: eieio |
Date: |
Thu, 13 Jun 2019 15:40:08 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
In toplevel form:
emacs-lisp/eieio.el:851:13:Warning: `object-print' is an obsolete function (as
of 26.1); use `cl-print-object' instead.
It's this code.
(cl-defmethod cl-print-object ((object eieio-default-superclass) stream)
"Default printer for EIEIO objects."
;; Fallback to the old `object-print'.
(princ (object-print object) stream))
But:
(cl-defgeneric object-print (this &rest _strings)
"Pretty printer for object THIS.
[...]
(declare (obsolete cl-print-object "26.1"))
(format "%S" this))
Can't cl-print-object for eieio-default-superclass just call format
directly? Am I missing something subtle here?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- Re: Towards a cleaner build, (continued)
- Re: Towards a cleaner build, Stefan Monnier, 2019/06/12
- Re: Towards a cleaner build, Lars Ingebrigtsen, 2019/06/12
- Re: Towards a cleaner build, Stefan Monnier, 2019/06/13
- Re: Towards a cleaner build, Lars Ingebrigtsen, 2019/06/13
- Re: Towards a cleaner build, Lars Ingebrigtsen, 2019/06/13
- Re: Towards a cleaner build: rmailmm, Lars Ingebrigtsen, 2019/06/13
- Re: Towards a cleaner build: rmailmm, Stefan Monnier, 2019/06/13
- Re: Towards a cleaner build: rmailmm, Eli Zaretskii, 2019/06/14
- Re: Towards a cleaner build: rmailmm, Stefan Monnier, 2019/06/14
- Re: Towards a cleaner build: rmailmm, Lars Ingebrigtsen, 2019/06/14
- Re: Towards a cleaner build: eieio,
Lars Ingebrigtsen <=
- Re: Towards a cleaner build: eieio, Stefan Monnier, 2019/06/13
- Re: Towards a cleaner build: eieio, Lars Ingebrigtsen, 2019/06/14
- Re: Towards a cleaner build: eieio, Stefan Monnier, 2019/06/14
- Re: Towards a cleaner build: eieio, Lars Ingebrigtsen, 2019/06/14
- Re: Towards a cleaner build: eieio, Stefan Monnier, 2019/06/14
- Re: Towards a cleaner build: eieio, Lars Ingebrigtsen, 2019/06/15
- Re: Towards a cleaner build: bindat, Lars Ingebrigtsen, 2019/06/15
- Re: Towards a cleaner build: bindat, Eli Zaretskii, 2019/06/15
- Re: Towards a cleaner build: bindat, Lars Ingebrigtsen, 2019/06/15
- Re: Towards a cleaner build: bindat, Lars Ingebrigtsen, 2019/06/15