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

Stefan Monnier <[email protected]> Mon, 18 Feb 2013 22:26:41 -0500
Newsgroups gmane.emacs.devel,gmane.emacs.eieio
Message-ID <[email protected]>
> I meant a compat package in CEDET upstream, so that it can run on older
> Emacsen if we stop shipping our own EIEIO version.  As long as we're
> obsolete-aliasing the old names, I don't see why we would need a compat
> package in Emacs?

Only if we can hope to get rid of those aliases soon, because we'd
rather not have those compatibility aliases use up the namespace even
when all the packages in use have been updated to use the "clean" names.

For the CL package we solved this problem by leaving the "cl.el" package
as a "compatibility package" only required by the packages that haven't
been updated to use the new names.  CL was so widely used that it will
take a *long* time to get rid of all uses of the old names, whereas
EIEIO's use is not as pervasive, so we don't necessarily have to do the
same for it.
This said, maybe it would make sense to move "eieio.el" to "cl-eieio.el"
(with clean names, autoloaded from cl-lib) and then make eieio.el
into a simple compatibility package full of aliases.


        Stefan