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: package.el, auto-installation, and auto-removal Date: Mon, 10 Nov 2014 21:26:14 -0500 Message-ID: References: <87a943umku.fsf@lifelogs.com> <87ppcvm7fj.fsf@newcastle.ac.uk> <87vbmndk46.fsf@lifelogs.com> <87bnoeed7v.fsf@lifelogs.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1415672810 32020 80.91.229.3 (11 Nov 2014 02:26:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 11 Nov 2014 02:26:50 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 11 03:26:43 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 1Xo1AJ-0006iD-9T for ged-emacs-devel@m.gmane.org; Tue, 11 Nov 2014 03:26:43 +0100 Original-Received: from localhost ([::1]:46461 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xo1AI-00048U-QB for ged-emacs-devel@m.gmane.org; Mon, 10 Nov 2014 21:26:42 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45116) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xo19z-00048B-3H for emacs-devel@gnu.org; Mon, 10 Nov 2014 21:26:30 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xo19r-0006xo-F3 for emacs-devel@gnu.org; Mon, 10 Nov 2014 21:26:23 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:63660) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xo19r-0006xi-BX for emacs-devel@gnu.org; Mon, 10 Nov 2014 21:26:15 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Au0MAOatTlRLd+sd/2dsb2JhbABcgw6DYoZ+y1MEAgKBHBcBAXyEAwEBAwFWKAsLNBIUGA2IbwnLcgELIJEPFoQ1BYtkjS8FhXqQfYIRgW+EFh+CegEBAQ X-IPAS-Result: Au0MAOatTlRLd+sd/2dsb2JhbABcgw6DYoZ+y1MEAgKBHBcBAXyEAwEBAwFWKAsLNBIUGA2IbwnLcgELIJEPFoQ1BYtkjS8FhXqQfYIRgW+EFh+CegEBAQ X-IronPort-AV: E=Sophos;i="5.04,797,1406606400"; d="scan'208";a="96604813" Original-Received: from 75-119-235-29.dsl.teksavvy.com (HELO pastel.home) ([75.119.235.29]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 10 Nov 2014 21:26:14 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 544B4735D; Mon, 10 Nov 2014 21:26:14 -0500 (EST) In-Reply-To: <87bnoeed7v.fsf@lifelogs.com> (Ted Zlatanov's message of "Mon, 10 Nov 2014 20:29:56 -0500") 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:176732 Archived-At: > I provided URLs to Pallet's repo on Github and to Nic's comparison of > Cask (which Pallet uses underneath) and elpakit (the comparison is on > the elpakit repo home page, also on Github). I described how Pallet > currently works with advice and how it could be improved to use hooks. > Sorry if I didn't explain things better. What's unclear? I guess I just don't understand what those things do, nor how they do it, and your explanations didn't really help. E.g. does one of those things make it so that M-x package-install will add the package to some list of "explicitly installed packages"? If so, which tool, and how does it do it? AFAICT it can only do that via advice currently. Of course, it can be changed to use hooks, but why bother, when we can just modify package-install directly? Stefan