From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#22727: Managing packages writes the user init file Date: Thu, 18 Feb 2016 22:29:27 +0200 Message-ID: <8360xlu5i0.fsf@gnu.org> References: <56C51520.6020205@alice.it> <8337squfpy.fsf@gnu.org> <56C6122B.4050903@alice.it> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1455827424 12071 80.91.229.3 (18 Feb 2016 20:30:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 18 Feb 2016 20:30:24 +0000 (UTC) Cc: 22727@debbugs.gnu.org, johnw@gnu.org To: Angelo Graziosi Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Feb 18 21:30:13 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1aWVDH-0002Gf-Q5 for geb-bug-gnu-emacs@m.gmane.org; Thu, 18 Feb 2016 21:30:11 +0100 Original-Received: from localhost ([::1]:45315 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWVDG-0003b6-IJ for geb-bug-gnu-emacs@m.gmane.org; Thu, 18 Feb 2016 15:30:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39316) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWVDC-0003YQ-2h for bug-gnu-emacs@gnu.org; Thu, 18 Feb 2016 15:30:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aWVD8-0003fr-LY for bug-gnu-emacs@gnu.org; Thu, 18 Feb 2016 15:30:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:36094) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWVD8-0003fe-J0 for bug-gnu-emacs@gnu.org; Thu, 18 Feb 2016 15:30:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aWVD8-0004We-D5 for bug-gnu-emacs@gnu.org; Thu, 18 Feb 2016 15:30:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 18 Feb 2016 20:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22727 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 22727-submit@debbugs.gnu.org id=B22727.145582736417320 (code B ref 22727); Thu, 18 Feb 2016 20:30:02 +0000 Original-Received: (at 22727) by debbugs.gnu.org; 18 Feb 2016 20:29:24 +0000 Original-Received: from localhost ([127.0.0.1]:33221 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aWVCV-0004VI-W4 for submit@debbugs.gnu.org; Thu, 18 Feb 2016 15:29:24 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:47952) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aWVCU-0004V3-A5 for 22727@debbugs.gnu.org; Thu, 18 Feb 2016 15:29:22 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aWVCN-0003Hk-TX for 22727@debbugs.gnu.org; Thu, 18 Feb 2016 15:29:17 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:55597) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWVCK-0003HT-7D; Thu, 18 Feb 2016 15:29:12 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2118 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aWVCJ-0008Em-FZ; Thu, 18 Feb 2016 15:29:11 -0500 In-reply-to: <56C6122B.4050903@alice.it> (message from Angelo Graziosi on Thu, 18 Feb 2016 19:49:15 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:113255 Archived-At: > Cc: 22727@debbugs.gnu.org, johnw@gnu.org > From: Angelo Graziosi > Date: Thu, 18 Feb 2016 19:49:15 +0100 > > The problem here is NOT that when one customizes something this is saved > in the init file but that also when one does not customize anything, the > init file is changed, more or less silently. For example clicking > Options -Manage Emacs packages. If we solve this part, i.e. avoid modifying .emacs until the user actually selects some packages to install, would that address your concerns that triggered this bug report? As for silent modifications: if the user accepts some options that should remain in effect for future sessions, that's a reason good enough to save these settings. This is what Custom does when you save the customizations for future sessions. Thanks.