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 20:23:23 +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 1432236210 20519 80.91.229.3 (21 May 2015 19:23:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 21 May 2015 19:23:30 +0000 (UTC) Cc: emacs-devel To: Kaushal Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu May 21 21:23:30 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 1YvW41-0001Ri-MH for ged-emacs-devel@m.gmane.org; Thu, 21 May 2015 21:23:29 +0200 Original-Received: from localhost ([::1]:59203 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YvW40-00030j-Gf for ged-emacs-devel@m.gmane.org; Thu, 21 May 2015 15:23:28 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58982) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YvW3x-00030e-Qk for emacs-devel@gnu.org; Thu, 21 May 2015 15:23:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YvW3x-0002zX-2n for emacs-devel@gnu.org; Thu, 21 May 2015 15:23:25 -0400 Original-Received: from mail-la0-x22c.google.com ([2a00:1450:4010:c03::22c]:35428) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YvW3w-0002zN-RN for emacs-devel@gnu.org; Thu, 21 May 2015 15:23:25 -0400 Original-Received: by labbd9 with SMTP id bd9so110741931lab.2 for ; Thu, 21 May 2015 12:23:23 -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=Atz9NFYlr7AIXJxacNcS9RZjrOinQe+JjNtfQbuGCMI=; b=lrA553Dc4u7hi5sehp5xTuwHYXG83VWW4M4K4NhKHcsI8UyvUa7Ff9eNHKK532SmRe 4kojdx/mUNIlP7fGF9jx7vM4gSKi/TnI73xacSAbZAOmjtB1yHYwazbAOhMIdAPkDtSF Z5gcR4TrDbc8TtdV1Vt2gZJ7U4erQq1FyaRMC7x9RcLDmljI+sR6viuo1Xm/fLztNlAS TinCm2Xtgfoqg1Yw7REm5iV8KWL5UlmiATz2hG+CsvLr1mhAfeBRMHt55yscP+LmGBiO 2kPKXhi5+XevejclA7vnVaz/oe6UP4HiWofOsImSjGCUmvo7hkTK3F9UMjenYt6VsAUZ dVYw== X-Received: by 10.112.222.133 with SMTP id qm5mr3526205lbc.86.1432236203839; Thu, 21 May 2015 12:23:23 -0700 (PDT) Original-Received: by 10.25.150.1 with HTTP; Thu, 21 May 2015 12:23:23 -0700 (PDT) In-Reply-To: X-Google-Sender-Auth: Yue3peAx6XeqUioYeyFJblDwhDU X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c03::22c 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:186719 Archived-At: 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)))