[Top][All Lists]

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

Re: Organizing package.el a bit

From: Stefan Monnier
Subject: Re: Organizing package.el a bit
Date: Sat, 28 Mar 2015 08:36:46 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

> Since last time that I worked a bit on package.el, I noticed it's a
> little annoying to manage due to sheer size. I understand 2600 lines
> is not the largest .el file we have (hell, it's not even top 10), but
> it's enough to bother me a lot.

100KB doesn't bother me: I find it easier to navigate in a single file
than to jump back&forth between two files.

> I'd like to know whether it's ok to split it into two files,
> package.el and package-menu.el?

I could live with it, I guess.  There's another potentially useful split:
package-init.el which would only contain what's needed for
package-initialize (i.e. whatever is needed for a "normal" use of Emacs
that does not involve installing/removing packages).

Could you give us an estimate of the resulting file size(s), to see if
the split would indeed be useful (splitting into 100KB package.el + 10KB
package-menu.el wouldn't be tremendously beneficial, for example).


reply via email to

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