From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#21959: [25.1.50.1] No way to save customization from emacs -Q Date: Tue, 08 Feb 2022 08:07:54 +0100 Message-ID: <877da5sunp.fsf@gnus.org> References: <564DC031.4020104@easy-emacs.de> <83oaeq7zm7.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9808"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 21959@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Feb 08 08:25:31 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nHKsV-0002NF-3V for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 08 Feb 2022 08:25:31 +0100 Original-Received: from localhost ([::1]:51206 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nHKsT-0001iQ-8J for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 08 Feb 2022 02:25:29 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:51354) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nHKcb-0005f1-Ny for bug-gnu-emacs@gnu.org; Tue, 08 Feb 2022 02:09:15 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51146) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nHKcZ-0008Fy-HT for bug-gnu-emacs@gnu.org; Tue, 08 Feb 2022 02:09:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nHKcY-00008G-DH for bug-gnu-emacs@gnu.org; Tue, 08 Feb 2022 02:09:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 08 Feb 2022 07:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21959 X-GNU-PR-Package: emacs Original-Received: via spool by 21959-submit@debbugs.gnu.org id=B21959.1644304087431 (code B ref 21959); Tue, 08 Feb 2022 07:09:02 +0000 Original-Received: (at 21959) by debbugs.gnu.org; 8 Feb 2022 07:08:07 +0000 Original-Received: from localhost ([127.0.0.1]:45037 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHKbe-00006t-Lo for submit@debbugs.gnu.org; Tue, 08 Feb 2022 02:08:06 -0500 Original-Received: from quimby.gnus.org ([95.216.78.240]:48942) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHKbc-00006L-7i for 21959@debbugs.gnu.org; Tue, 08 Feb 2022 02:08:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=pUr1ZjjRPDPbUw/a1aJ6By95IrLXKxVWH2939Dp+HNo=; b=oF4ol15G83TgC9JbhemK1WkNWC GkM+wp+BuNyHgZMIt1wJxjal+znnY//hduMh/HrXlHkoHvPNVX5uTgtLKEiGkBgdh9ADlz1Q7Ums2 Pp7dZDQ9yIZSWrphH+fiodo9QJQp7V88A+loun67PTOkzvtq+Xj0K7KXINZG9Dj6CK8s=; Original-Received: from [84.212.220.105] (helo=giant) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nHKbT-0002A3-6t; Tue, 08 Feb 2022 08:07:58 +0100 X-Now-Playing: Melanie de Biasio's _No Deal_: "With Love" In-Reply-To: <83oaeq7zm7.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 19 Nov 2015 17:55:28 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:226324 Archived-At: Eli Zaretskii writes: >> A way around is to start with -Q and load init-file interactively. >> However then saving options via customize isn't possible, which seems a bug. > > No, it's a deliberate feature. From the Emacs manual: > > If Emacs was invoked with the `-q' or `--no-init-file' options > (*note Initial Options::), it will not let you save your customizations > in your initialization file. This is because saving customizations > from such a session would wipe out all the other customizations you > might have on your initialization file. (I'm going through old bug reports that unfortunately weren't resolved at the time.) When the user has used "-Q", I think the intention is to use not affect customisations. If we open up for saving customisations done in "emacs -Q", that opens up a can of worms where we may be overwriting some customisations the user has done in a "real" session, because Emacs is set up quite differently when not using "-Q". So I don't think we should do this, and I'm therefore closing this bug report. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no