From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: phillip.lord@russet.org.uk (Phillip Lord) Newsgroups: gmane.emacs.devel Subject: Re: feature/integrated-elpa 4f6df43 15/23: README added Date: Tue, 18 Oct 2016 17:59:28 +0100 Message-ID: <87shrtfv9r.fsf@russet.org.uk> References: <20160916203414.25203.87032@vcs.savannah.gnu.org> <8660p3qd99.fsf@realize.ch> <831szrhwsr.fsf@gnu.org> <8760p12qzw.fsf@russet.org.uk> <83vax0en1u.fsf@gnu.org> <87pon5ek3q.fsf@russet.org.uk> <87twcgttjf.fsf@russet.org.uk> <86a8e7symk.fsf@realize.ch> <8737jzl4u9.fsf@russet.org.uk> <8337jz8dg8.fsf@gnu.org> <83insv3tnl.fsf@gnu.org> <83d1j33qgg.fsf@gnu.org> <87wph96cto.fsf@russet.org.uk> <83h98axk5z.fsf@gnu.org> <8760opkdz3.fsf@russet.org.uk> <83inspwvvy.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1476810011 1963 195.159.176.226 (18 Oct 2016 17:00:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 18 Oct 2016 17:00:11 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) Cc: jwiegley@gmail.com, andrewjmoreton@gmail.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 18 19:00:06 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bwXjq-0005hh-Rd for ged-emacs-devel@m.gmane.org; Tue, 18 Oct 2016 18:59:42 +0200 Original-Received: from localhost ([::1]:42938 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bwXjt-00005Q-3Z for ged-emacs-devel@m.gmane.org; Tue, 18 Oct 2016 12:59:45 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35447) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bwXjj-0008V5-PV for emacs-devel@gnu.org; Tue, 18 Oct 2016 12:59:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bwXji-0004LD-VV for emacs-devel@gnu.org; Tue, 18 Oct 2016 12:59:35 -0400 Original-Received: from cloud103.planethippo.com ([31.216.48.48]:50803) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1bwXje-0004KF-SG; Tue, 18 Oct 2016 12:59:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=russet.org.uk; s=default; h=Content-Type:MIME-Version:Message-ID: In-Reply-To:Date:References:Subject:Cc:To:From; bh=Jp++dwtc5b5DJFEQoUXKz67LfIfdXajGBVujRrKUFec=; b=Q7di4kJyEuwNDFvDfLEeY+79Kv sfCAbXGaN8bkIkUBsGIj0dWTGPmyvu/TDpr16cX31w7fycElXapCQ/sD8OsOsFzV8LJUv5vYW4Vt3 GqwBJPP4s+qCIcJALNOkoASQKSYrgQCFmxcifCg4KkowIXFvDdAd3QhwKa/gn+kjmynKxPKfqRAlu QkN7DpKgXZfsiiTIvG3ZNtfFIRibblAxFpCZXLEJ2CguURHoUIEXZdr+LAWrP/Qn+8P/TP9c7v77P +8Zx/6HwMa/g1fNoNuHUbClkLhuHZDIB+/KdqxpTEWOLaCAXRxNUhfHepweHmBjenjH0wXw6mMYMD YUowsjzA==; Original-Received: from janus-nat-128-240-225-60.ncl.ac.uk ([128.240.225.60]:43338 helo=russet.org.uk) by cloud103.planethippo.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.86_1) (envelope-from ) id 1bwXjd-002l2R-Bx; Tue, 18 Oct 2016 17:59:29 +0100 In-Reply-To: <83inspwvvy.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 18 Oct 2016 17:54:09 +0300") X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cloud103.planethippo.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - russet.org.uk X-Get-Message-Sender-Via: cloud103.planethippo.com: authenticated_id: phillip.lord@russet.org.uk X-Authenticated-Sender: cloud103.planethippo.com: phillip.lord@russet.org.uk X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 31.216.48.48 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:208433 Archived-At: Eli Zaretskii writes: >> From: phillip.lord@russet.org.uk (Phillip Lord) >> Cc: John Wiegley , andrewjmoreton@gmail.com, emacs-devel@gnu.org >> Date: Tue, 18 Oct 2016 14:01:52 +0100 >> >> >> PL> I think it's decision time. I am happy to carry on a little further with >> >> PL> the package.el based approach that I have outlined, fixing the one >> >> PL> significant issue with it and then I will stop. If you don't want to go >> >> PL> this way, that's fine. >> > >> > Sorry, I don't understand the kind of decision that is being >> > requested. I understand that one alternative is that you "carry on a >> > little further" with your approach, although I'm vague about the >> > details of that, or what is your goal. >> >> Complete the code that I have started. Three goals: >> >> - Use package.el to build (compile, generate autoloads) packages in >> during the build >> - Use package.el to initialize and load these during startup >> - Support testing of these packages during build. >> >> With a secondary aim of: >> >> - Enable a built emacs to build and test all packages in ELPA whether >> they are core/tarball or not. > > Can this be done while keeping the current structure under lisp/ > intact and putting packages from ELPA under lisp/ ? If yes, I think > this is what we all want. I can easily do: EMACS/lisp EMACS/lisp/lots-of-files.el EMACS/lisp/textmodes/ EMACS/lisp/progmodes EMACS/lisp/packages EMACS/lisp/packages/package-1 EMACS/lisp/packages/package-2 EMACS/lisp/packages/package-3 This adds a little complexity to the build part of the make file; in return, it leaves the install part of the make file untouched. It also requires a package.el to be extended slightly to extend the current initialization process. I could less easily do: EMACS/lisp EMACS/lisp/lots-of-files.el EMACS/lisp/textmodes/package-1 EMACS/lisp/progmodes/package-2 EMACS/lisp/emacs-lisp/package-3 This requires updating the current build process to exclude multiple directories, and the package.el section of my branch to include multiple directories. I also dislike this, because I think it mixes up files of different kinds in the tree (that is files which are in place in the Emacs git repo, and those which are not). Finally, it would no doubt be possible to do: EMACS/lisp EMACS/lisp/textmodes/package-1a.el EMACS/lisp/textmodes/package-1b.el EMACS/lisp/textmodes/package-1c.el EMACS/lisp/progmodes/package-2.el EMACS/lisp/emacs-lisp/package-3.el This would need no use at all of package.el, but would require something to get the files into the right place and should leave the build otherwise untouched. Superficially, this is the simplest. However, in practice, I think it's the most complex and least convienient, for reasons I have outlined and documented. Phil