From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.devel Subject: Re: package.el, auto-installation, and auto-removal Date: Mon, 10 Nov 2014 12:46:17 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87vbmndk46.fsf@lifelogs.com> References: <87a943umku.fsf@lifelogs.com> <87ppcvm7fj.fsf@newcastle.ac.uk> Reply-To: emacs-devel@gnu.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1415641629 22001 80.91.229.3 (10 Nov 2014 17:47:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 10 Nov 2014 17:47:09 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 10 18:46:58 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 1Xnt3J-0001uK-IR for ged-emacs-devel@m.gmane.org; Mon, 10 Nov 2014 18:46:57 +0100 Original-Received: from localhost ([::1]:44443 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xnt3J-0000GS-88 for ged-emacs-devel@m.gmane.org; Mon, 10 Nov 2014 12:46:57 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55456) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xnt2e-0008Al-7V for emacs-devel@gnu.org; Mon, 10 Nov 2014 12:46:20 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xnt2Z-0001MI-JE for emacs-devel@gnu.org; Mon, 10 Nov 2014 12:46:16 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:52395) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xnt2Z-0001MD-DZ for emacs-devel@gnu.org; Mon, 10 Nov 2014 12:46:11 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Xnt2Y-0001FB-92 for emacs-devel@gnu.org; Mon, 10 Nov 2014 18:46:10 +0100 Original-Received: from c-98-229-61-72.hsd1.ma.comcast.net ([98.229.61.72]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 10 Nov 2014 18:46:10 +0100 Original-Received: from tzz by c-98-229-61-72.hsd1.ma.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 10 Nov 2014 18:46:10 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 51 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: c-98-229-61-72.hsd1.ma.comcast.net X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6; d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" Mail-Copies-To: never User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:exf5AcJlOqbq1cx5LNihN/vE8cw= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:176699 Archived-At: On Mon, 10 Nov 2014 14:55:28 +0000 phillip.lord@newcastle.ac.uk (Phillip Lord) wrote: PL> Ted Zlatanov writes: >> On Fri, 07 Nov 2014 08:45:51 -0500 Stefan Monnier wrote: >> SM> `package.el' is great to install packages more easily, but it falls short SM> when you want to keep the same set of installed packages on various SM> machines, or when it's time to remove package you don't need because it SM> doesn't distinguish between the packages you want and those required SM> by those packages. >> >> (CC to Robert Dallas Gray, Pallet's author) >> >> Pallet does this: https://github.com/rdallasgray/pallet >> >> I am not crazy about Cask because it requires Python, but the simplicity >> of Pallet itself is appealing. It uses advice and can be easily >> improved to integrate better with package.el with a few hooks. >> PL> Cask does use python, but only to launch emacs. Mostly the python side PL> finds an executable, works out what version it is and so forth. If it PL> were distributed with Emacs, all of this would be unnecessary (since it PL> would all be known in advance). It should be possible to produce a PL> shell/bat file for most OSes. Yup. Pallet and Cask could be integrated together. PL> One advantage of having a command line tool for updating Emacs is that PL> it would solve at least some of the current problems of updating PL> packages in a running Emacs. Avoiding the problems doesn't solve them :) >> Pallet is GPL-ed and I don't know if the author would be interested in >> assigning the copyright to Emacs and modifying Pallet to support a >> non-Cask package maintenance backend. If that was possible, the problem >> would be reduced to writing that backend and the package.el hooks. >> Otherwise I think at least looking at pallet.el is worthwhile. PL> All pallet does is pimp up package.el so that it rewrites the Cask file. PL> And (from a package management POV) all cask does is run package.el. Yes. I think that's what Stefan was asking for. But Stefan seems to prefer the elpakit approach, which is fine too (Nic has a nice comparison section at https://github.com/nicferrier/elpakit). (Stefan: would you and the other maintainers be open to Cask+Pallet *and* elpakit in Emacs? Or is that too much choice?) Ted