emacs-devel
[Top][All Lists]
Advanced

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

Re: Towards a cleaner build: cedet


From: Lars Ingebrigtsen
Subject: Re: Towards a cleaner build: cedet
Date: Thu, 13 Jun 2019 18:23:58 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Lars Ingebrigtsen <address@hidden> writes:

> (oref context :buffer)
> => #<buffer *unsent wide reply to Lars Ingebrigtsen*>
>
> (oref context buffer)
> => #<buffer *unsent wide reply to Lars Ingebrigtsen*>

Oh!

             ;; Accessing a slot via its :initarg is accepted by EIEIO
             ;; (but not CLOS) but is a bad idea (for one: it's slower).

So it does seem like the right fix is just to go CLOS-style on all the
oref/osets instead of :eieio...

I tried it, and everything compiles (with 111 fewer warnings :-)), so
perhaps I should just push it?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



reply via email to

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