[Top][All Lists]

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

Re: [cedet-eieio] Cleaning up the EIEIO namespace

From: Stefan Monnier
Subject: Re: [cedet-eieio] Cleaning up the EIEIO namespace
Date: Thu, 14 Feb 2013 08:49:26 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

> setf is part of cl, and couldn't be used at runtime, so I mocked
> up the behavior with something matching aref/aset instead.

Actually, there's a misunderstanding here:
- setf was indeed part of CL, but being a macro it was accepted
  (i.e. you don't need to have it defined at run-time, since it's
  macro-expanded during compilation).
- setf is part of core Elisp in Emacs-24.3.
So maybe we don't need oref/oset at all.

As for Drew's argument, in reality the "cl-" prefix was largely unused
until Emacs-24.3 (it was mostly used to mean "definition internal to
cl.el") where I introduced cl-lib (which does use "cl-" consistently
and replaced the former "cl-" of internal definitions to "cl--").

We could even justify the "cl-" prefix by making cl-lib autoload
`cl-slot-value' from eieio.el.  Or use the "eieio-" prefix everywhere
in eieio*.el and then define "cl-" aliases in cl-lib.el.


reply via email to

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