From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Artur Malabarba Newsgroups: gmane.emacs.devel Subject: Re: package.el dependencies Date: Sat, 31 Jan 2015 23:26:47 +0000 Message-ID: References: <87wq4dpqib.fsf@gmail.com> <87wq44su8v.fsf@gmail.com> <877fw3789y.fsf@gmail.com> Reply-To: bruce.connor.am@gmail.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=089e0117606b0ffc68050dfb0ee9 X-Trace: ger.gmane.org 1422746813 14319 80.91.229.3 (31 Jan 2015 23:26:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 31 Jan 2015 23:26:53 +0000 (UTC) Cc: emacs-devel , Thierry Volpiatto To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Feb 01 00:26:52 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 1YHhRE-0008HR-Im for ged-emacs-devel@m.gmane.org; Sun, 01 Feb 2015 00:26:52 +0100 Original-Received: from localhost ([::1]:43078 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YHhRD-0005Dt-QY for ged-emacs-devel@m.gmane.org; Sat, 31 Jan 2015 18:26:51 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36373) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YHhRA-0005Dd-Qp for emacs-devel@gnu.org; Sat, 31 Jan 2015 18:26:49 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YHhRA-00088Y-1Z for emacs-devel@gnu.org; Sat, 31 Jan 2015 18:26:48 -0500 Original-Received: from mail-oi0-x22a.google.com ([2607:f8b0:4003:c06::22a]:64049) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YHhR9-00088U-TP for emacs-devel@gnu.org; Sat, 31 Jan 2015 18:26:47 -0500 Original-Received: by mail-oi0-f42.google.com with SMTP id i138so39566888oig.1 for ; Sat, 31 Jan 2015 15:26:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=/U3goa7kLs73Rms3mh4l0KkFSL7MHX02De0jQ/X1aTY=; b=JARsN4jAGT9OVDXl4fISAu42M80EKcvH8jBYor56rQbaEhnGtxd8f1MiKEHMMNU88I NOo5bZcZVvV/fgi32ubbhj0R0YU2EVb3irOZmWlxi9AzS5ND+jtFzsYnxE9UgfDD9/hZ tovbk8eS6uqYwP7zYA9b960yspCpy9LeZ8aUxoODrThRZDhlfVFFHG+dpJMoPw4GRfjR ke0U34r16pljWAU7CnP7a2JS1eLTo57LCziA1kc0zKq2YXAIg1vxnTNuB3ilZRXx6koM x8fa7HZV4uaZrCUKns11mChumxxJG0QwDdU15Gb1ZjqT5sXiWADj5snUk0yX56QnnSkY bY/A== X-Received: by 10.60.179.37 with SMTP id dd5mr7794166oec.4.1422746807432; Sat, 31 Jan 2015 15:26:47 -0800 (PST) Original-Received: by 10.76.125.1 with HTTP; Sat, 31 Jan 2015 15:26:47 -0800 (PST) Original-Received: by 10.76.125.1 with HTTP; Sat, 31 Jan 2015 15:26:47 -0800 (PST) In-Reply-To: X-Google-Sender-Auth: kf598e3wk41XLBfBM5pn2xXmrjs X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4003:c06::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:182151 Archived-At: --089e0117606b0ffc68050dfb0ee9 Content-Type: text/plain; charset=UTF-8 > While you're at it: if package-selected-packages (or whatever name you > end up using) is not yet set (e.g. still nil), you could guess an > initial value: take the list of packages that are installed and are not > required by other installed packages. I.e. choose as initial value of > package-selected-packages the smallest set of packages such that > package-autoremove won't have anything to remove. I'll work on this, and then I'll add it in once this patch is applied. --089e0117606b0ffc68050dfb0ee9 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

> While you're at it: if package-selected-packages (o= r whatever name you
> end up using) is not yet set (e.g. still nil), you could guess an
> initial value: take the list of packages that are installed and are no= t
> required by other installed packages.=C2=A0 I.e. choose as initial val= ue of
> package-selected-packages the smallest set of packages such that
> package-autoremove won't have anything to remove.

I'll work on this, and then I'll add it in once this= patch is applied.

--089e0117606b0ffc68050dfb0ee9--