[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: |
Sun, 16 Jun 2019 18:39:38 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
> So that's the way it is with an object-print method on the object. If I
> apply the following patch, I then get identical output:
>
> (cl-print-object obj (current-buffer))
> #<semanticdb-table-emacs-lisp semanticdb-table-emacs-lisp-15884632da6c
> (proxy)>
[...]
> +(cl-defmethod cl-print-object ((obj semanticdb-table-emacs-lisp) stream)
> + "Pretty printer extension for `semanticdb-table-emacs-lisp'."
> + (princ (eieio-object-name obj " (proxy)") stream))
Hmm... how does this code result in
#<semanticdb-table-emacs-lisp semanticdb-table-emacs-lisp-15884632da6c
(proxy)>
?
This said, I'm not sure why we should care very much about preserving
the detailed output in this particular case, since I don't think the
rest of code will ever do much with it (it's only for human consumption
and it's not particularly good at it).
Stefan
- Re: Towards a cleaner build: tags, (continued)
- Re: Towards a cleaner build: tags, Dmitry Gutov, 2019/06/18
- Re: Towards a cleaner build: tags, Lars Ingebrigtsen, 2019/06/19
- Re: Towards a cleaner build: tags, Lars Ingebrigtsen, 2019/06/20
- Re: Towards a cleaner build: tags, Dmitry Gutov, 2019/06/20
- Re: Towards a cleaner build: tags, Lars Ingebrigtsen, 2019/06/20
- Re: Towards a cleaner build: tags, Dmitry Gutov, 2019/06/20
- Re: Towards a cleaner build: tags, Lars Ingebrigtsen, 2019/06/20
- Re: Towards a cleaner build: eieio, Stefan Monnier, 2019/06/15
- Re: Towards a cleaner build: eieio, Lars Ingebrigtsen, 2019/06/16
- Re: Towards a cleaner build: eieio, Lars Ingebrigtsen, 2019/06/16
- Re: Towards a cleaner build: eieio,
Stefan Monnier <=
- Re: Towards a cleaner build: eieio, Lars Ingebrigtsen, 2019/06/16
- Re: Towards a cleaner build: eieio, Stefan Monnier, 2019/06/16
- Re: Towards a cleaner build: eieio, Lars Ingebrigtsen, 2019/06/17
- Re: Towards a cleaner build: eieio, Lars Ingebrigtsen, 2019/06/17
- Re: Towards a cleaner build: eieio, Lars Ingebrigtsen, 2019/06/17
- Re: Towards a cleaner build: eieio, Lars Ingebrigtsen, 2019/06/17
- Re: Towards a cleaner build: ieieo, Lars Ingebrigtsen, 2019/06/13
- Re: Towards a cleaner build: ieieo, Stefan Monnier, 2019/06/13
- Re: Towards a cleaner build: ieieo, Lars Ingebrigtsen, 2019/06/14
- Re: Towards a cleaner build: ieieo, Stefan Monnier, 2019/06/14