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: Option to not automatically customize-save-variable `package-selected-packages'? Date: Wed, 17 Feb 2016 08:02:18 -0200 Message-ID: References: Reply-To: bruce.connor.am@gmail.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a1142326c68cb0c052bf458d5 X-Trace: ger.gmane.org 1455703375 15445 80.91.229.3 (17 Feb 2016 10:02:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 17 Feb 2016 10:02:55 +0000 (UTC) To: emacs-devel , John Wiegley , alex Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 17 11:02:48 2016 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 1aVywZ-0003wU-JN for ged-emacs-devel@m.gmane.org; Wed, 17 Feb 2016 11:02:47 +0100 Original-Received: from localhost ([::1]:55841 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVywZ-0000TM-27 for ged-emacs-devel@m.gmane.org; Wed, 17 Feb 2016 05:02:47 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52501) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVywD-0000QO-S5 for emacs-devel@gnu.org; Wed, 17 Feb 2016 05:02:26 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aVyw8-00037c-1R for emacs-devel@gnu.org; Wed, 17 Feb 2016 05:02:25 -0500 Original-Received: from mail-yk0-x22c.google.com ([2607:f8b0:4002:c07::22c]:36637) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVyw7-00036s-S0; Wed, 17 Feb 2016 05:02:19 -0500 Original-Received: by mail-yk0-x22c.google.com with SMTP id z7so4552352yka.3; Wed, 17 Feb 2016 02:02:19 -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:content-type; bh=EJPaVyCWUFOwSVpWygPZthioFMbrBiMa6qeqURoZ8wg=; b=o6sOvrtq5Gle5cz7x+ioc6nBbfCYLzu6s0fRCv1Wh06NU0Tbz+yYoZtyIJIKZSLk1X r9mwNwpCQv7qztr5I1rQE7wAWz+ux090NAH6PnVPbRJX1FCbzF2ovmtaMK4JyLh8+h5h +DSKH7wetfCTHq+73J9ZxCIBTWkSNOyE28RyzsjC2nqyau1VLwfqrDmLAkMOyltHei55 jY0Nm6U+KW2UEGEpia0YGZfN+0eQ3LKB8Qw/ue/IVUqVfn+JPYHVO2ixA/83icEsbW4R FbllSu/E8mQ7wIfCa9S/Ghq3WHVlWY912t+eEl8N4pZ14ycyO/rAnWGQh5aWBVoX4jWb tckQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:reply-to:sender:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=EJPaVyCWUFOwSVpWygPZthioFMbrBiMa6qeqURoZ8wg=; b=TQqDBVgpbElwSJ1/sLD0Wh4pjFMkTZYs+3mwa5ocHAuIe95IwIjX/qzNMZ6MTQpqUj 8O9cRDJCyxMK+14JaoJjNLXQ76vIqt6bEmREb0vM05/SCbL5fMx5LiY99A7A7Zhvy6CG FJGGS3at9A5FAODvVrmJOrIkDJlb9q8FVgSuC0rch9b9R7e+AwMbdzhXS0SxKh4RjAHu QvFdsbnxfVWLGqkSA1S6u6Sprn/htdapZHNWei+hxxztHU9PNdUjJBTDxpAQ+jcKedyc uNDarqRqgh/3KHMUsvaDaejs09oL7g3XiXLCJHRFAjXOJrmXc/TiVkF30iqw6cjX9FNX bO3Q== X-Gm-Message-State: AG10YOQiOcdLMDRVDvMJU/+kQwwWkkdUXQVqFaL+49LE0JuDdonL3ituId5tSujQEYuVUt6S7hI6cbjGUgH8Sw== X-Received: by 10.37.71.3 with SMTP id u3mr339159yba.36.1455703338828; Wed, 17 Feb 2016 02:02:18 -0800 (PST) Original-Received: by 10.129.79.83 with HTTP; Wed, 17 Feb 2016 02:02:18 -0800 (PST) Original-Received: by 10.129.79.83 with HTTP; Wed, 17 Feb 2016 02:02:18 -0800 (PST) In-Reply-To: X-Google-Sender-Auth: NLA2eqKMCl6en6KP36236oByI1E X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:4002:c07::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:200078 Archived-At: --001a1142326c68cb0c052bf458d5 Content-Type: text/plain; charset=UTF-8 Yes, I agree. This has been requested by other people too. This variable should be saved in its own file (at a configurable location), like many other cases of persistent data in Emacs. Would someone like to do this? I won't have the time for it ATM. On 17 Feb 2016 2:10 am, "John Wiegley" wrote: > > >>>>> alex writes: > > > Hello, the 25.0.91 pretest version seems great so far. I like the dependency > > tracking in package.el. > > > Unfortunately whenever I install/update packages, it saves > > `package-selected-packages' to my customize file. This is a bit annoying as I > > share my config with git across multiple machines that have different packages > > installed. > > > While I could alter the definition of `package--save-selected-packages' > > myself, I'd think it would be nicer if there was a user option to toggle > > this behaviour. The default initialization of `all non-dependencies' seems > > to be what I'd always want anyway. > > This sounds like a reasonable request to me; and I sympathize with emitting > such generated data to a potentially user-controlled file. Maybe this data > could go into another file entirely? > > -- > John Wiegley GPG fingerprint = 4710 CF98 AF9B 327B B80F > http://newartisans.com 60E1 46C4 BD1A 7AC1 4BA2 --001a1142326c68cb0c052bf458d5 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

Yes, I agree. This has been requested by other people too. T= his variable should be saved in its own file (at a configurable location), = like many other cases of persistent data in Emacs.

Would someone like to do this? I won't have the time for= it ATM.

On 17 Feb 2016 2:10 am, "John Wiegley" <jwiegley@gmail.com> wrote:
>
> >>>>> alex=C2=A0 <current@protonmail.com> writes:
>
> > Hello, the 25.0.91 pretest version seems great so far. I like the= dependency
> > tracking in package.el.
>
> > Unfortunately whenever I install/update packages, it saves
> > `package-selected-packages' to my customize file. This is a b= it annoying as I
> > share my config with git across multiple machines that have diffe= rent packages
> > installed.
>
> > While I could alter the definition of `package--save-selected-pac= kages'
> > myself, I'd think it would be nicer if there was a user optio= n to toggle
> > this behaviour. The default initialization of `all non-dependenci= es' seems
> > to be what I'd always want anyway.
>
> This sounds like a reasonable request to me; and I sympathize with emi= tting
> such generated data to a potentially user-controlled file. Maybe this = data
> could go into another file entirely?
>
> --
> John Wiegley=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 GPG fingerprint =3D 4710 CF98 AF9B 327B B80F
> http://newartisans.com=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 60E1 46C4 BD1A 7AC1 4BA2

--001a1142326c68cb0c052bf458d5--