From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Joost Kremers Newsgroups: gmane.emacs.devel Subject: Re: Option to not automatically customize-save-variable `package-selected-packages' Date: Thu, 18 Feb 2016 21:34:48 +0100 Message-ID: <87egc9ahav.fsf@fastmail.fm> References: <56C43D17.7010009@alice.it> <831t8aufoe.fsf@gnu.org> <8737sp51vx.fsf@gmail.com> <83fuwpubpn.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1455827723 16738 80.91.229.3 (18 Feb 2016 20:35:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 18 Feb 2016 20:35:23 +0000 (UTC) Cc: johnw@gnu.org, emacs-devel@gnu.org, Artur Malabarba , angelo.graziosi@alice.it To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Feb 18 21:35:13 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 1aWVI6-0006Hb-Ac for ged-emacs-devel@m.gmane.org; Thu, 18 Feb 2016 21:35:10 +0100 Original-Received: from localhost ([::1]:45339 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWVI5-0006tH-I7 for ged-emacs-devel@m.gmane.org; Thu, 18 Feb 2016 15:35:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41722) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWVI1-0006oO-9L for emacs-devel@gnu.org; Thu, 18 Feb 2016 15:35:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aWVHv-00062g-Bd for emacs-devel@gnu.org; Thu, 18 Feb 2016 15:35:05 -0500 Original-Received: from out4-smtp.messagingengine.com ([66.111.4.28]:47012) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWVHv-00060Q-7G for emacs-devel@gnu.org; Thu, 18 Feb 2016 15:34:59 -0500 Original-Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 0FBC620A38 for ; Thu, 18 Feb 2016 15:34:55 -0500 (EST) Original-Received: from frontend1 ([10.202.2.160]) by compute5.internal (MEProxy); Thu, 18 Feb 2016 15:34:55 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.fm; h=cc :content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=KC8WV 47meJX1eOqM3Do7yaTKUZ0=; b=JOh33pgO80GuLZQRTK2jc55Hk2/tpdsBnljpw VbfYFulKCHOw93J2nLzXzlL48oWwApC94pgHQV+87qdHCbbDABY9ORRxEsBFTDe9 RmbcQNy4akUAStUTNL2I63RIohJpihYqydUC0ADhHiCuUOGbjLAtQAHxqByi5X2b 1GVMQ0= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=KC8WV47meJX1eOqM3Do7yaTKUZ0=; b=qauJI GUDOSn5GNyZainSx/wYDd9EMmNkeE9hF+7D3tzHTtdAWKtFYXBj7yaX4ndJm3oYo 3YBoFUOHSmt5F8p5RCGDHbVPz5laq9XwmAnkCiGRdcpmUcLEwuEN85f5v66tPdL0 hk8A3SOxWNnVVJNQc4meLkzlmC2XsZ/W0FTiQc= X-Sasl-enc: Z49W8fQNxHDgud34ilbNfHWxM4eN+O5JBTXJOjnaG9eL 1455827694 Original-Received: from IdeaPad.messagingengine.com (x5f774ba2.dyn.telefonica.de [95.119.75.162]) by mail.messagingengine.com (Postfix) with ESMTPA id DEACCC0001A; Thu, 18 Feb 2016 15:34:53 -0500 (EST) User-agent: mu4e 0.9.17; emacs 24.5.50.1 In-reply-to: <83fuwpubpn.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 66.111.4.28 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:200157 Archived-At: On Thu, Feb 18 2016, Eli Zaretskii wrote: > I see no fundamental difference > between saving the value of a defcustom and saving the list of > packages the user decided to install. I think the main difference is that as a user, I can decide *not* to use Customize to set a particular defcustom. I can use a setq in my init file instead. My ~/.emacs.d directory is in Dropbox and is shared across three computers. For certain reasons, not all settings are identical across the three machines. I use Customize for those settings that are identical, and I use setq's in my init file to handle those cases where I want different values for a defcustom. In the same way, I have different collections of installed packages on each computer. If the list of installed packages is saved in custom-set-variables, it'll get sync'ed across my three computers, but it won't reflect the actual list of packages on each machine. (Either that, or I'll have a bunch of conflicted copies of the file where I keep my Customize settings.) I can see the logic behind saving the list of user-installed packages in custom-set-variables, but IMHO the user should have the option of specifying a different location for saving this info. I would keep it outside ~/.emacs.d, just as I keep `package-user-dir' outside ~/.emacs.d. -- Joost Kremers Life has its moments