From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nic Ferrier Newsgroups: gmane.emacs.devel Subject: Re: package.el, auto-installation, and auto-removal Date: Tue, 11 Nov 2014 20:40:39 +0000 Message-ID: <87h9y5ii7s.fsf@ferrier.me.uk> References: <87a943umku.fsf@lifelogs.com> <87ppcvm7fj.fsf@newcastle.ac.uk> <87vbmndk46.fsf@lifelogs.com> <87bnoeed7v.fsf@lifelogs.com> <8761emkm7l.fsf@ferrier.me.uk> <871tp9k6hw.fsf@ferrier.me.uk> <87vbmlsf62.fsf@Rainer.invalid> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1415738471 21438 80.91.229.3 (11 Nov 2014 20:41:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 11 Nov 2014 20:41:11 +0000 (UTC) Cc: emacs-devel@gnu.org To: Achim Gratz Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 11 21:41:04 2014 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 1XoIFL-00064V-7x for ged-emacs-devel@m.gmane.org; Tue, 11 Nov 2014 21:41:03 +0100 Original-Received: from localhost ([::1]:50588 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XoIFK-0001G2-TP for ged-emacs-devel@m.gmane.org; Tue, 11 Nov 2014 15:41:02 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52868) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XoIFB-0001Fj-Nw for emacs-devel@gnu.org; Tue, 11 Nov 2014 15:40:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XoIF5-0001gT-VM for emacs-devel@gnu.org; Tue, 11 Nov 2014 15:40:53 -0500 Original-Received: from static.17.66.46.78.clients.your-server.de ([78.46.66.17]:55694 helo=po1.ferrier.me.uk) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XoIF5-0001gC-Od for emacs-devel@gnu.org; Tue, 11 Nov 2014 15:40:47 -0500 Original-Received: from nicferrier-dell-xps (140.35.155.90.in-addr.arpa [90.155.35.140]) by po1.ferrier.me.uk (Postfix) with ESMTPA id A1D0AAC0498; Tue, 11 Nov 2014 21:59:06 +0100 (CET) Original-Received: from nicferrier-XPS13-9333 (localhost [127.0.0.1]) by nicferrier-dell-xps (Postfix) with ESMTPS id 3001F6BA00; Tue, 11 Nov 2014 20:40:39 +0000 (GMT) In-Reply-To: <87vbmlsf62.fsf@Rainer.invalid> (Achim Gratz's message of "Tue, 11 Nov 2014 20:36:21 +0100") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 78.46.66.17 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:176780 Archived-At: Achim Gratz writes: > Nic Ferrier writes: >> One thing about elpakit's solution is that elpakit does this by making a >> package with the right dependencies. >> >> Elpakit's solution is in fact just a package depend builder. Choose X, Y >> and Z packages and then make a new package depending on those. > > So I'd have an (empty) package named "user-packages" and it depends on > exactly those packages I named, possibly with their version specified? > And I could maybe have a number of additional packages to create > something of a hierarchy of such things? Like a "system-packages" > package that my "user-packages" package can depend on (or not if I don't > want to)? Yes. Elpakit let's you do that. Stefan is asking for something simpler than that. And I agree, something simpler than that is a good thing. >> Maybe the current package installed by user state could be constantly >> regenerated as a package. > > Or maybe just skip the actual packaging step and really only deal with > the dependencies. Sure. But packages are a useful encapsulation of dependencies. Nic