unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 21959@debbugs.gnu.org
Subject: bug#21959: [25.1.50.1] No way to save customization from emacs -Q
Date: Tue, 08 Feb 2022 08:07:54 +0100	[thread overview]
Message-ID: <877da5sunp.fsf@gnus.org> (raw)
In-Reply-To: <83oaeq7zm7.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 19 Nov 2015 17:55:28 +0200")

Eli Zaretskii <eliz@gnu.org> 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





      parent reply	other threads:[~2022-02-08  7:07 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-19 12:27 bug#21959: [25.1.50.1] No way to save customization from emacs -Q Andreas Röhler
2015-11-19 15:55 ` Eli Zaretskii
2015-11-20  7:24   ` Andreas Röhler
2015-11-20  8:24     ` Eli Zaretskii
2015-11-20  9:05       ` Andreas Röhler
2015-11-20  9:53         ` Andreas Röhler
2015-11-20 10:08           ` Eli Zaretskii
2015-11-20 10:05         ` Eli Zaretskii
2015-11-20 14:43       ` Random832
2015-11-20 15:54         ` Eli Zaretskii
2022-02-08  7:07   ` Lars Ingebrigtsen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877da5sunp.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=21959@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).