From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Organizing package.el a bit Date: Sat, 28 Mar 2015 08:36:46 -0400 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1427546239 11348 80.91.229.3 (28 Mar 2015 12:37:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 28 Mar 2015 12:37:19 +0000 (UTC) Cc: emacs-devel To: Artur Malabarba Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Mar 28 13:37:12 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Ybpz7-0002Ej-Fp for ged-emacs-devel@m.gmane.org; Sat, 28 Mar 2015 13:37:05 +0100 Original-Received: from localhost ([::1]:53738 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ybpz6-00074N-Ou for ged-emacs-devel@m.gmane.org; Sat, 28 Mar 2015 08:37:04 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36410) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ybpys-000712-LI for emacs-devel@gnu.org; Sat, 28 Mar 2015 08:36:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ybpyp-0007hO-Fx for emacs-devel@gnu.org; Sat, 28 Mar 2015 08:36:50 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:60991) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ybpyp-0007hK-CO for emacs-devel@gnu.org; Sat, 28 Mar 2015 08:36:47 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgUFAGvvdVRBbthL/2dsb2JhbAA3gVOhb4EIgXUBAQQBViMFCwsOJhIUGA0kiBOiEYwDGEkJAwODPgODcASoOw X-IPAS-Result: AgUFAGvvdVRBbthL/2dsb2JhbAA3gVOhb4EIgXUBAQQBViMFCwsOJhIUGA0kiBOiEYwDGEkJAwODPgODcASoOw X-IronPort-AV: E=Sophos;i="5.01,1,1400040000"; d="scan'208";a="114825937" Original-Received: from 65-110-216-75.cpe.pppoe.ca (HELO pastel.home) ([65.110.216.75]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 28 Mar 2015 08:36:46 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 59B24D65; Sat, 28 Mar 2015 08:36:46 -0400 (EDT) In-Reply-To: (Artur Malabarba's message of "Sat, 28 Mar 2015 09:52:04 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:184452 Archived-At: > 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