From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.devel Subject: Re: package.el dependencies Date: Tue, 27 Jan 2015 07:10:34 +0100 Message-ID: <87lhkooisl.fsf@gmail.com> 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 1422339054 3184 80.91.229.3 (27 Jan 2015 06:10:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 27 Jan 2015 06:10:54 +0000 (UTC) Cc: Artur Malabarba , emacs-devel To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 27 07:10:53 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 1YFzMT-00076r-0m for ged-emacs-devel@m.gmane.org; Tue, 27 Jan 2015 07:10:53 +0100 Original-Received: from localhost ([::1]:45473 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YFzMS-0005H6-8o for ged-emacs-devel@m.gmane.org; Tue, 27 Jan 2015 01:10:52 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41665) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YFzMP-0005H0-7c for emacs-devel@gnu.org; Tue, 27 Jan 2015 01:10:50 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YFzML-00039x-UX for emacs-devel@gnu.org; Tue, 27 Jan 2015 01:10:49 -0500 Original-Received: from mail-wi0-x22a.google.com ([2a00:1450:400c:c05::22a]:36746) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YFzML-000392-Oj for emacs-devel@gnu.org; Tue, 27 Jan 2015 01:10:45 -0500 Original-Received: by mail-wi0-f170.google.com with SMTP id em10so158229wid.1 for ; Mon, 26 Jan 2015 22:10:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=references:from:to:cc:subject:in-reply-to:date:message-id :mime-version:content-type; bh=oCgck/cQL9m+1n8Rz81v8pYE0U+4J8ap76xSisH6Uac=; b=RCuFo6AUSNAd+7iVePbXTms4wr2KTfeMCRwRZv1eK+EQC6Dgd8RDTURCPPeNncAww6 BYUpJufqe6P26rzYjMI/CTnGLGQ3WrwzbWz0h2uTpnH8jA2fciEiU5hnsCQChKV7cYMw zA76yCYETAYhCwfgrsukcuutn5QAOb8Gpc7UI4pM435bOkGuKv/clZOPJ2iMYEGUbv5N MJLu7QEe+waSu+0uTxceLVh3+JdBMOFda2ifTtEZwoab0SBCBW3FHgLyF82TCB6tgfYJ PgpgDnbMy/6Yr5V9eG0R03XVnuYVJo3UTFoVxMHdJ+R4I05Z0fImGQW1bw36g4Www23c tRpQ== X-Received: by 10.180.39.175 with SMTP id q15mr39931716wik.50.1422339045288; Mon, 26 Jan 2015 22:10:45 -0800 (PST) Original-Received: from dell-14z ([37.163.60.104]) by mx.google.com with ESMTPSA id x6sm360240wjf.24.2015.01.26.22.10.41 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 26 Jan 2015 22:10:44 -0800 (PST) In-reply-to: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c05::22a 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:181824 Archived-At: Stefan Monnier writes: >>> 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). Ok done, still not able to customize-set-variable though, for some reason it doesn't write to my custom file. Thanks. -- Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997