emacs-devel
[Top][All Lists]
Advanced

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

Re: A unified project root interface


From: Stefan Monnier
Subject: Re: A unified project root interface
Date: Wed, 20 Mar 2013 23:27:08 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

> My initial experiments show I'm on the right track.
> David, is there something that needs merging from Emacs to CEDET I need to
> worry about before making massive structural changes in EIEIO?

The EIEIO in Emacs has my renaming patch (which fixes some of the
namespace issues, tho it's only a first step).

Maybe it would make sense to make this change on Emacs's side only.
And to split EIEIO from CEDET (you can distribute an "old EIEIO" for
users of CEDET on older Emacsen that came without EIEIO).

> If the goal is to use EDE's detection scheme and data, but not load EDE
> project classes, then we are all set already since the EDE project classes
> are not directly involved in detecting the projects.  If the goal is to not
> use EIEIO at all, then we'd end up just using a plist other random data
> structure instead of using EIEIO to do it.  This wouldn't be a big deal
> because AFAIK, these classes aren't subclassed, so impact would be small.

I'mnot sure I understand exactly what you're saying, but IIUC you're
saying that there's not much to do to delay EDE loading, and we could
even delay loading of EIEIO with a few code changes.

That sounds promising and confirms my intuition.

> In both cases above, we'd need a simple mechanism to disable the loading of
> EDE project classes, and using a placeholder in the project cache instead.

Sot sure what you're saying here.

> Alternately, perhaps I can find out why EIEIO isn't acceptable, and fix
> that instead.

Preloading EIEIO and EDE is not something I'm ready to do.  Even just
preloading EIEIO is not something I'm ready to do either.

I haven't started to think about why, but I'm pretty sure EDE is out of
the question for now.  For EIEIO, maybe we could take a look at what it
would entail to see under which circumstances it would be acceptable,
but first it'd need to be namespace clean.

>From what you say above, it's probably easier to change EDE to not use
EIEIO for the data used for project-detection, before EDE is
actually loaded.


        Stefan



reply via email to

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