unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Artur Malabarba <bruce.connor.am@gmail.com>
Cc: emacs-devel <emacs-devel@gnu.org>
Subject: Re: Organizing package.el a bit
Date: Sat, 28 Mar 2015 08:36:46 -0400	[thread overview]
Message-ID: <jwvy4mhjoi1.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <CAAdUY-+RaDDXrTChpuCZakXyBo_anx3hy+1EYxa8=gBg6wpKiQ@mail.gmail.com> (Artur Malabarba's message of "Sat, 28 Mar 2015 09:52:04 +0000")

> 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).


        Stefan



  reply	other threads:[~2015-03-28 12:36 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-28  9:52 Organizing package.el a bit Artur Malabarba
2015-03-28 12:36 ` Stefan Monnier [this message]
2015-03-28 13:35   ` Artur Malabarba
2015-03-28 14:52     ` Artur Malabarba
2015-03-28 14:55       ` Oleh Krehel
2015-03-28 17:50         ` Artur Malabarba
2015-03-29  9:04 ` Steinar Bang
2015-03-29 11:06   ` Artur Malabarba
2015-03-29 12:56     ` Artur Malabarba

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvy4mhjoi1.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=bruce.connor.am@gmail.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).