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: Wed, 17 Feb 2016 13:43:53 +0100 Message-ID: <87si0ro6ba.fsf@fastmail.fm> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1455713069 22989 80.91.229.3 (17 Feb 2016 12:44:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 17 Feb 2016 12:44:29 +0000 (UTC) Cc: "emacs-devel@gnu.org" , alex To: John Wiegley Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 17 13:44:18 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 1aW1Sq-000626-Ba for ged-emacs-devel@m.gmane.org; Wed, 17 Feb 2016 13:44:16 +0100 Original-Received: from localhost ([::1]:57057 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aW1Sp-0001H9-FX for ged-emacs-devel@m.gmane.org; Wed, 17 Feb 2016 07:44:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59104) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aW1SZ-0001Ge-G0 for emacs-devel@gnu.org; Wed, 17 Feb 2016 07:44:00 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aW1SX-0005Sh-KE for emacs-devel@gnu.org; Wed, 17 Feb 2016 07:43:59 -0500 Original-Received: from out4-smtp.messagingengine.com ([66.111.4.28]:41175) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aW1SX-0005RQ-HD for emacs-devel@gnu.org; Wed, 17 Feb 2016 07:43:57 -0500 Original-Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 790E120B5E for ; Wed, 17 Feb 2016 07:43:55 -0500 (EST) Original-Received: from frontend1 ([10.202.2.160]) by compute3.internal (MEProxy); Wed, 17 Feb 2016 07:43: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=Ixk+P twqwQcnuNsX4D8usB6OjFM=; b=PLJkkuu5fcbnFuBxmv5TcOiG+g+Ou/tTqKysi +2vmIGmbsXXR8TL5r9CBbry2kleiI7JJn93HwfD+yJ4JxS12ebu4YDFq2EgbnsP7 BjOnd161ndf3wIEEAFxc9UPriJf3bfqtcnWuvhLPq8qqlCX9/p3bKCg8cNEI4iyj 2n4c7Q= 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=Ixk+PtwqwQcnuNsX4D8usB6OjFM=; b=GzH47 PSwAwvZ/WlebYql+QC40Nh8BSlHaw3FOcGuyA8GIYKwVMmi+gmqgGjE6rOOBdTGh bk9JRCvCH/q28bmqKs/bhRS2yJkA1CaVCn8jB9qFFlG0qzOorty1y0rfMBUvpQrp c0r7z7w3uncCMhQMfS6XmE+DeSJUbhTuCJILXo= X-Sasl-enc: itIiDyFf8Xmb4AMI1nrp/uu0XCvxjcJFyf9Drk74F7vj 1455713035 Original-Received: from IdeaPad.messagingengine.com (x4d0adbf9.dyn.telefonica.de [77.10.219.249]) by mail.messagingengine.com (Postfix) with ESMTPA id A2FF3C00014; Wed, 17 Feb 2016 07:43:54 -0500 (EST) User-agent: mu4e 0.9.17; emacs 24.5.50.1 In-reply-to: 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:200080 Archived-At: On Wed, Feb 17 2016, John Wiegley wrote: > 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? I vaguely remember reading somewhere that `custom-set-variables' / `customize-save-variable' should not be used to store data that should persist across sessions, though I can't find right now where I read it. Of course it can be argued that the user asks for the packages to be installed and that this fact justifies saving the info to the init file. At the very least, though, I think there should be an option *not* to do this. After all, this option exists with customisable variables in general: the user can decide to use Customize, or s/he can decide to set variables directly in the init file. IMHO the location where the list of packages is saved should be customisable, with the default being something other than the init file (though that should probably be an option), and with the option not to save them at all. (I don't use the same set of packages on all machines, because some packages can be fairly resource-intensive and bog down Emacs on a lower-spec'ed machine such as my ageing netbook or my phone.) -- Joost Kremers Life has its moments