From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kaushal Newsgroups: gmane.emacs.devel Subject: Re: package-autoremove (was: Package installation messages) Date: Thu, 21 May 2015 20:18:28 +0000 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113a95f42c07e605169d3f9d X-Trace: ger.gmane.org 1432239534 12271 80.91.229.3 (21 May 2015 20:18:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 21 May 2015 20:18:54 +0000 (UTC) Cc: emacs-devel To: bruce.connor.am@gmail.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu May 21 22:18:49 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 1YvWvZ-0003j6-2R for ged-emacs-devel@m.gmane.org; Thu, 21 May 2015 22:18:49 +0200 Original-Received: from localhost ([::1]:59363 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YvWvX-0002L5-UK for ged-emacs-devel@m.gmane.org; Thu, 21 May 2015 16:18:47 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42287) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YvWvG-0002HR-JT for emacs-devel@gnu.org; Thu, 21 May 2015 16:18:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YvWvF-0005YU-IR for emacs-devel@gnu.org; Thu, 21 May 2015 16:18:30 -0400 Original-Received: from mail-yk0-x22e.google.com ([2607:f8b0:4002:c07::22e]:34665) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YvWvF-0005YQ-EB for emacs-devel@gnu.org; Thu, 21 May 2015 16:18:29 -0400 Original-Received: by ykft189 with SMTP id t189so29841636ykf.1 for ; Thu, 21 May 2015 13:18:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-type; bh=R8O1o0nd5RpkhQfzptur7TqIlRtuntAevKQGj0VKVqY=; b=fHD/7i5y+hlwAOJzk9hF9RFzZxcjuw53Nr+nQOmg+yXOSUO7vlVB8ri+xai/WgDa5F 679BsxVsPTEgbj8Wqw/uq2jIjszO+GD7SgW0IZpju7XajmJwl4lsaBXk295lnWATu8L0 8jw7s4mMND4g0d2AYCL6GXiLxJ2iz1uc8wjVQ/p9rwMi4wR+1peKMFL9+1ptrPva24U0 lrjooOjECF5cGePk8xXlcTi4D3xj6529hCIXr+gCfagvAM5yFQGdJkd/W4wgdvu/MHh/ 6xWEUUQQs7U+Vy5Unmcrmq1PeyngnVhLU6tJOn8iZbgzB0q7eVIAyKrv0BC/m+6o0tQ7 P2JQ== X-Received: by 10.170.165.130 with SMTP id h124mr5016246ykd.23.1432239509077; Thu, 21 May 2015 13:18:29 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4002:c07::22e 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:186723 Archived-At: --001a113a95f42c07e605169d3f9d Content-Type: text/plain; charset=ISO-8859-1 I might be missing something.. but I can't find where remove-dups is defined. On Thu, May 21, 2015 at 3:23 PM Artur Malabarba wrote: > 2015-05-21 19:18 GMT+01:00 Kaushal : > > Sorry, yes, I meant function*s*. > > Yes, evaluating that updates the custom.el fine. > > I will edebug (probably later) to see why that is not getting executed > from > > within `package-install`. > > Thanks, that would be helpful. But it's not inside package-install, > it's inside `package-menu-execute' (so this is the function you'll > have to edebug). Specifically, this form: > > (package--save-selected-packages > (remove-dups (append (mapcar #'package-desc-name .install) > package-selected-packages))) > --001a113a95f42c07e605169d3f9d Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
I might be missing something.. but I can't find where = remove-dups is defined.

On Thu, May= 21, 2015 at 3:23 PM Artur Malabarba <bruce.connor.am@gmail.com> wrote:
2015-05-21 19:18 GMT+01:00 Kaushal <kaushal.modi@gmail.com>:
> Sorry, yes, I meant function*s*.
> Yes, evaluating that updates the custom.el fine.
> I will edebug (probably later) to see why that is not getting executed= from
> within `package-install`.

Thanks, that would be helpful. But it's not inside package-install,
it's inside `package-menu-execute' (so this is the function you'= ;ll
have to edebug). Specifically, this form:

=A0 =A0 =A0 =A0 =A0 (package--save-selected-packages
=A0 =A0 =A0 =A0 =A0 =A0(remove-dups (append (mapcar #'package-desc-name= .install)
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 package-sel= ected-packages)))
--001a113a95f42c07e605169d3f9d--