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-autoremove (was: Package installation messages) Date: Thu, 21 May 2015 21:24:03 +0100 Message-ID: References: Reply-To: bruce.connor.am@gmail.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1432239871 17826 80.91.229.3 (21 May 2015 20:24:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 21 May 2015 20:24:31 +0000 (UTC) Cc: emacs-devel To: Kaushal Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu May 21 22:24:31 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 1YvX0s-0007Ih-Go for ged-emacs-devel@m.gmane.org; Thu, 21 May 2015 22:24:18 +0200 Original-Received: from localhost ([::1]:59385 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YvX0r-0004yY-HQ for ged-emacs-devel@m.gmane.org; Thu, 21 May 2015 16:24:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43312) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YvX0g-0004yS-3x for emacs-devel@gnu.org; Thu, 21 May 2015 16:24:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YvX0f-0007Tm-0t for emacs-devel@gnu.org; Thu, 21 May 2015 16:24:06 -0400 Original-Received: from mail-lb0-x22a.google.com ([2a00:1450:4010:c04::22a]:35884) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YvX0e-0007Te-Pl for emacs-devel@gnu.org; Thu, 21 May 2015 16:24:04 -0400 Original-Received: by lbbqq2 with SMTP id qq2so26470693lbb.3 for ; Thu, 21 May 2015 13:24:03 -0700 (PDT) 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=//9CaYmOBKBAycua2jd5DaCpNK1z2TLgawN1tArXaPc=; b=EQq6jCrpE6b9UsUFbNYzEf3SGTtceMP4yci8TYIvpZb3bZ6JeJFLnblTSfBNtvFtTS +PWdyi+cpTfhuVF5sCLR3+EhyzRT6SZ4n0scoJfGFPIcuRsui2FUoqd6zfeskXRathJ2 Q8Z3xY3yytwIyps6het8TQWkUL92O3Fyk1cPzCnMBrNvQ+QsUlN3hDeMkEpaqCFtvDXE pSnAlq7Xd4gMjTfoW7YoOGWlrlrK+Vr7HbAraY0xoyY2gEt3bm7XIDclVAOdYJR5W6N0 nniFaN6wvga08La9t4ahewPa2xpWBbU1BgIFfp/VKP0CuelbPgRXdQDfmmEcCM1Gbu51 udVw== X-Received: by 10.112.182.4 with SMTP id ea4mr1616864lbc.35.1432239843811; Thu, 21 May 2015 13:24:03 -0700 (PDT) Original-Received: by 10.25.150.1 with HTTP; Thu, 21 May 2015 13:24:03 -0700 (PDT) In-Reply-To: X-Google-Sender-Auth: dL0OwpJdjDIHzcOKAswuxC54mNc X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c04::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:186724 Archived-At: Oh damn, that was stupid. Sorry about that Kaushal, I'll fix it in a moment. 2015-05-21 21:18 GMT+01:00 Kaushal : > 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)))