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 dependencies Date: Mon, 26 Jan 2015 09:52:53 -0500 Message-ID: References: <87wq4dpqib.fsf@gmail.com> <873871p5vt.fsf@gmail.com> <87r3uim2nk.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1422283999 18379 80.91.229.3 (26 Jan 2015 14:53:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 26 Jan 2015 14:53:19 +0000 (UTC) Cc: Artur Malabarba , emacs-devel To: Thierry Volpiatto Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 26 15:53:14 2015 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 1YFl2M-0005nC-Bi for ged-emacs-devel@m.gmane.org; Mon, 26 Jan 2015 15:53:10 +0100 Original-Received: from localhost ([::1]:41933 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YFl2L-0000Kj-IR for ged-emacs-devel@m.gmane.org; Mon, 26 Jan 2015 09:53:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58713) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YFl2H-0000HB-EU for emacs-devel@gnu.org; Mon, 26 Jan 2015 09:53:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YFl2C-000565-FR for emacs-devel@gnu.org; Mon, 26 Jan 2015 09:53:05 -0500 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:41908) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YFl2C-00055f-BG for emacs-devel@gnu.org; Mon, 26 Jan 2015 09:53:00 -0500 Original-Received: from ceviche.home (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id t0QEqseZ032692; Mon, 26 Jan 2015 09:52:54 -0500 Original-Received: by ceviche.home (Postfix, from userid 20848) id E202A66135; Mon, 26 Jan 2015 09:52:53 -0500 (EST) In-Reply-To: <87r3uim2nk.fsf@gmail.com> (Thierry Volpiatto's message of "Mon, 26 Jan 2015 08:17:35 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV5198=0 X-NAI-Spam-Version: 2.3.0.9393 : core <5198> : inlines <1948> : streams <1379769> : uri <1843895> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.20 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:181786 Archived-At: >> You can integrate the data into package-alist, but it needs to be stored >> elsewhere since it needs to be stored into a file (my preference is to >> store it into a Custom var and rely on Custom to save that into a file). > I don't think it will be enough, we will have to store also a plain list > of the package to autoremove because the info about the dependencies in No, that's not needed. We can do a GC-like traversal to compute which members of package-alist aren't (transitively) required by the manually installed packages (and should hence be auto-removed). Stefan