unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Pedro Andres Aranda Gutierrez <paaguti@gmail.com>
Cc: 54381@debbugs.gnu.org
Subject: bug#54381: 29.0.50; Automatically load custom-file
Date: Mon, 14 Mar 2022 10:47:03 +0100	[thread overview]
Message-ID: <877d8wooh4.fsf@gnus.org> (raw)
In-Reply-To: <CAO48Bk9uEB2268t3NAL7521SKdBPT995KjEk6LdbycxCbbLBAg@mail.gmail.com> (Pedro Andres Aranda Gutierrez's message of "Mon, 14 Mar 2022 09:21:44 +0100")

Pedro Andres Aranda Gutierrez <paaguti@gmail.com> writes:

> Attached is a patch to automatically load custom-file when defined.

[...]

> +;;;###autoload
> +(defcustom custom-file-load-p t

This isn't really feasible -- it'll lead to the custom file being loaded
twice for everybody that currently have a

(load custom-file)

in their init files (which will change the order of customisations).

So if we add this user option, it'll have to default to nil, and in that
case I don't see much point in the user option.  (Because people will
have to `setq' it in their init files.)

If we introduced the `custom-file' variable today, we'd load it
automatically, but I don't think it's possible to do so now without
breaking stuff.

Anybody else got an opinion?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





  reply	other threads:[~2022-03-14  9:47 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-14  8:21 bug#54381: 29.0.50; Automatically load custom-file Pedro Andres Aranda Gutierrez
2022-03-14  9:47 ` Lars Ingebrigtsen [this message]
2022-03-14  9:48   ` Lars Ingebrigtsen
2022-03-14 15:14     ` bug#54381: [External] : " Drew Adams
2022-03-14 13:15   ` Eli Zaretskii
2022-03-14 15:26     ` Robert Pluim
2022-03-14 16:19       ` Pedro Andres Aranda Gutierrez
2022-03-14 16:36         ` Robert Pluim
2022-03-14 16:47           ` Pedro Andres Aranda Gutierrez
2022-03-14 17:53             ` Robert Pluim
2022-03-15  7:51               ` Pedro Andres Aranda Gutierrez
2022-03-14 13:58   ` Robert Pluim
2022-04-14 14:05     ` Lars Ingebrigtsen
2022-03-17  6:38 ` bug#54381: Handling a corner case Pedro Andres Aranda Gutierrez
2022-03-17  7:09   ` Pedro Andres Aranda Gutierrez

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=877d8wooh4.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=54381@debbugs.gnu.org \
    --cc=paaguti@gmail.com \
    /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).