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: [Emacs-diffs] feature/integrated-elpa 4f6df43 15/23: README added Date: Fri, 30 Sep 2016 17:17:29 +0100 Message-ID: <87wpht4b1i.fsf@russet.org.uk> References: <20160916203414.25203.87032@vcs.savannah.gnu.org> <87vaxsjmvu.fsf@russet.org.uk> <878tunj2wr.fsf@russet.org.uk> <874m582ixv.fsf@russet.org.uk> <871t0apsxm.fsf@russet.org.uk> <87shsm7hi6.fsf@russet.org.uk> <83a8eucwi2.fsf@gnu.org> <878tudgwlq.fsf@russet.org.uk> <8360pgoyo4.fsf@gnu.org> <87d1jn3ws9.fsf@russet.org.uk> <83a8eqoi08.fsf@gnu.org> <87d1jlacsh.fsf@russet.org.uk> <867f9t4n4t.fsf@realize.ch> <874m4x8sq5.fsf@russet.org.uk> <8637kh4j1u.fsf@realize.ch> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1475252940 24287 195.159.176.226 (30 Sep 2016 16:29:00 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 30 Sep 2016 16:29:00 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) Cc: Eli Zaretskii , monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Alain Schneble Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 30 18:28:55 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 1bq0g1-0004bf-3C for ged-emacs-devel@m.gmane.org; Fri, 30 Sep 2016 18:28:45 +0200 Original-Received: from localhost ([::1]:45788 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bq0g1-0007kq-Mu for ged-emacs-devel@m.gmane.org; Fri, 30 Sep 2016 12:28:45 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42034) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bq0VE-0007VO-Oc for emacs-devel@gnu.org; Fri, 30 Sep 2016 12:17:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bq0VD-00056D-OK for emacs-devel@gnu.org; Fri, 30 Sep 2016 12:17:36 -0400 Original-Received: from cloud103.planethippo.com ([31.216.48.48]:58328) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bq0V9-00054g-EM; Fri, 30 Sep 2016 12:17: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=ab1O3oCPeCWR/ob4n4xNcxgJuayb570xrnuvE2hFEWU=; b=X6Lf2NJGbF1h135TrXeBufwGT6 fWXxke7Yid7LoFMLZJQusAI2CJlFYfTWl4jAbB/kzYijtkLoT7Xp5SRoEYAhP6U16KNbc33E154Iz 7d0cjbFdY3jRVDkGDeVC9lz/9Ycf2l1NqfyJ4Rcu7YgILb3GwsmD6h7zpgmKfUyFxYEP2VDTXSTrK 9Q2pUNWnMwYjigDFUxU8EG/U7BBRMQATKYK+tdA9F3vkNGmNt3+4umsKfbiBZJp55dqIG5Mo1Hx5z 2RHW9j0KhiyMXKnDV8vyAyJYSDFaBVYIS2/xA6he6JP1qBjwoVQEO2K8dWdd8WRApRKHQ0Ql2AWbq jbJuf3lw==; Original-Received: from janus-nat-128-240-225-60.ncl.ac.uk ([128.240.225.60]:35963 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 1bq0V7-000de6-Nf; Fri, 30 Sep 2016 17:17:29 +0100 In-Reply-To: <8637kh4j1u.fsf@realize.ch> (Alain Schneble's message of "Fri, 30 Sep 2016 15:24:29 +0200") 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:207927 Archived-At: Alain Schneble writes: > phillip.lord@russet.org.uk (Phillip Lord) writes: > >> Alain Schneble writes: >>> >>> There's also d) where an elpa package would just go into it's >>> corresponding directory under EMACS/lisp, e.g. EMACS/lisp/org if org is >>> an elpa package. Of course, there's a chance of name clashes here, but >>> both GNU Emacs and GNU elpa are under the same control IIUC. >> >> Would require us to keep track of which packages are package.el format >> and which packages are not, spread throughout multiple directories. As > > It should be rather easy to have a convention that can reliably be used > to derive whether a given file or directory is in package.el format. > Maybe there's already one? At the moment, no, there isn't (at least not until the -pkg.el file is built). > Or use a file-local variable as Eli proposed? So I think we get it > nearly for "free". Or what do you mean by "keeping track of"? Just what you think, yes. We need to distinguish between the two formats. Putting them different directories, with different make files is a trivial way to achieve this. >> well as making the build a PITA (and fragile when we forget to update >> the list), it would be confusing for the developers who would have to >> remember two different sets of package structures. > > I can't judge the build part of this, but I don't really see why it's a > PITA. I also don't see what we would have to update additionally in > this layout that we wouldn't have to in a), b) and c). Just for what I say. Having the two package systems in different top-level (or lower-lever) directories makes life easier. Copying files from package.el format locations in core format would be possible but, again, complex. > Whether it's confusing or not -- well you will find arguments against > all proposed approaches. I think d) is easier because it doesn't divide > elisp source code based on where the sources actually come from. I understand that. But, unless we do something complex tests, documentation, icons, subsidiary files and so forth will be in different places for one style of packages than for the other. > When I looked into GNU Emacs sources the first time, I very much > appreciated the IMO minimalistic directory structure. I would try to > not loose it if I could. Yes, I can appreciate that. Phil