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 18:18:16 +0000 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=089e0158bf744e7d8605169b911e X-Trace: ger.gmane.org 1432232311 18265 80.91.229.3 (21 May 2015 18:18:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 21 May 2015 18:18:31 +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 20:18:26 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 1YvV32-0007fy-LK for ged-emacs-devel@m.gmane.org; Thu, 21 May 2015 20:18:24 +0200 Original-Received: from localhost ([::1]:58980 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YvV31-0005Ap-Vv for ged-emacs-devel@m.gmane.org; Thu, 21 May 2015 14:18:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40994) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YvV2w-00056V-KW for emacs-devel@gnu.org; Thu, 21 May 2015 14:18:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YvV2v-0000ih-Qv for emacs-devel@gnu.org; Thu, 21 May 2015 14:18:18 -0400 Original-Received: from mail-yh0-x22b.google.com ([2607:f8b0:4002:c01::22b]:33278) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YvV2v-0000iZ-MS for emacs-devel@gnu.org; Thu, 21 May 2015 14:18:17 -0400 Original-Received: by yhcb70 with SMTP id b70so23291937yhc.0 for ; Thu, 21 May 2015 11:18:17 -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=6pms2R4syvdM7F2Ya+blKwW6gY+EG469rjUygx29Ars=; b=zlehWPfU3diUHFN83ohR+Z9kmQSoKM1t2Wc3oYxdW5pPHZI9Cd8dyx5Yf8PHPrBNzg A+lqE5GVJ13WGpYftuoNULkmdzzXEoFoRJy44Yi3sNN4HqLyyG4RsnNivsFl98xl0pwc svvZTZ0B63sLGlL95GmsGQMqWd+GOUr0eeJ4KJ3QbGbSeDNinwKY/yFiXw+CBkatgXXE 1BMimPoe2+y5qVWDJukI/3RbhGuOQhNvxPkphHgot8Tl3pBQ27RHaeiT5HoTpAWR8kVA T8J5q3yALyWaUDAE5YqKgB7l6W+F/VUk0FVHpoZVcVoFUk5rc8ZDeKEiAF4gISUM7HaK rGQA== X-Received: by 10.236.21.175 with SMTP id r35mr3967058yhr.166.1432232297133; Thu, 21 May 2015 11:18:17 -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:c01::22b 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:186716 Archived-At: --089e0158bf744e7d8605169b911e Content-Type: text/plain; charset=ISO-8859-1 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`. On Thu, May 21, 2015 at 2:05 PM Artur Malabarba wrote: > > I edited package.el as per the diff of that commit and eval'd the > changed function. > > You mean "functions", plural, right? There are two changed functions > in that commit. > > Here's something to try. After you verify that the value of the var > was updated but wasn't saved to custom.el, what happens if you > evaluate the following? > > (package--save-selected-packages package-selected-packages) > > Does the value then get saved properly? > --089e0158bf744e7d8605169b911e Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Sorry, yes, I meant function*s*.
Yes, evaluating that u= pdates the custom.el fine.
I will edebug (probably later) to see why th= at is not getting executed from within `package-install`.

On Thu, May 21, 2015 at 2:05 PM Artur Malabarba &l= t;bruce.connor.am@gmail.com> wrote:
> I edited package.el as = per the diff of that commit and eval'd the changed function.

You mean "functions", plural, right? There are two changed functi= ons
in that commit.

Here's something to try. After you verify that the value of the var
was updated but wasn't saved to custom.el, what happens if you
evaluate the following?

=A0 =A0 =A0(package--save-selected-packages package-selected-packages)

Does the value then get saved properly?
--089e0158bf744e7d8605169b911e--