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: Wed, 28 Jan 2015 11:17:38 -0200 Message-ID: References: <87wq4dpqib.fsf@gmail.com> <87zj93uzuo.fsf@gmail.com> <87wq47uvwe.fsf@gmail.com> <878ugndqka.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=001a113d233a0f9c8d050db63288 X-Trace: ger.gmane.org 1422451074 30368 80.91.229.3 (28 Jan 2015 13:17:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 28 Jan 2015 13:17:54 +0000 (UTC) Cc: Stefan Monnier , emacs-devel To: Thierry Volpiatto Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 28 14:17: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 1YGSVF-0006nc-Ic for ged-emacs-devel@m.gmane.org; Wed, 28 Jan 2015 14:17:53 +0100 Original-Received: from localhost ([::1]:53486 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGSVE-0005jc-TD for ged-emacs-devel@m.gmane.org; Wed, 28 Jan 2015 08:17:52 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60817) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGSV2-0005jU-1q for emacs-devel@gnu.org; Wed, 28 Jan 2015 08:17:40 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YGSV1-0001JW-8m for emacs-devel@gnu.org; Wed, 28 Jan 2015 08:17:39 -0500 Original-Received: from mail-oi0-x22d.google.com ([2607:f8b0:4003:c06::22d]:49073) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGSV1-0001IE-4O for emacs-devel@gnu.org; Wed, 28 Jan 2015 08:17:39 -0500 Original-Received: by mail-oi0-f45.google.com with SMTP id g201so17413413oib.4 for ; Wed, 28 Jan 2015 05:17:38 -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=zb6QIQ6c3erpXNn26vBLzng9rsYICP2ZlV9LO2Bfo0I=; b=YrELd32wkeSy/X74e9sya/g+y54C6yrHU2P1JU6FT9Co2Eg00i+0twzP1GvvxM8Eui /8fr97qr24+edVQK+FA9wg7QEo7Z9ZCaZTN/Vak9ft5ccxCX6Jgcgl1Dh+gGsi3IWIv8 yXQJei01TpufI54jZ/yP2LPk/DjbIbM2RWlZCDtbyFcvZ+pf8QvHHB6RKErAHFco9tOS O8/hPPVKtKosFPpVCvB68lF44mZkh9pZqaTGDMamB+BOr0pUxF8U8PIe+mrrIfR3/0by atQm28Vp2cQaLvpR/t2owPxAl7rC5gOIky1rBQIhlUmlMmQ5D1866IuOsyDi5CjJg/2m kkAg== X-Received: by 10.202.90.139 with SMTP id o133mr1836802oib.99.1422451058644; Wed, 28 Jan 2015 05:17:38 -0800 (PST) Original-Received: by 10.76.125.1 with HTTP; Wed, 28 Jan 2015 05:17:38 -0800 (PST) Original-Received: by 10.76.125.1 with HTTP; Wed, 28 Jan 2015 05:17:38 -0800 (PST) In-Reply-To: <878ugndqka.fsf@gmail.com> X-Google-Sender-Auth: x4sfCracnPwggdal5k6eD2uER10 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4003:c06::22d 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:181902 Archived-At: --001a113d233a0f9c8d050db63288 Content-Type: text/plain; charset=UTF-8 > @@ -2178,7 +2278,7 @@ Optional argument NOQUERY non-nil means do not ask the user to confirm." > (length install-list) > (mapconcat #'package-desc-full-name > install-list ", "))))) > - (mapc 'package-install install-list))) > + (mapc (lambda (p) (package-install p 1)) install-list))) IIUC, this will mark dependencies as installed directly when the user performs an upgrade (`U x' in the package list). --001a113d233a0f9c8d050db63288 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

> @@ -2178,7 +2278,7 @@ Optional argument NOQUERY non-nil= means do not ask the user to confirm."
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0(length install-list)
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0(mapconcat #'package-desc-full-name
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 install-list ", "= ;)))))
> -=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(mapc 'package-install install-= list)))
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(mapc (lambda (p) (package-install = p 1)) install-list)))

IIUC, this will mark dependencies as installed directly when= the user performs an upgrade (`U x' in the package list).

--001a113d233a0f9c8d050db63288--