From: Drew Adams <drew.adams@oracle.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>,
Lars Ingebrigtsen <larsi@gnus.org>
Cc: emacs-devel@gnu.org
Subject: RE: Settings
Date: Sun, 25 Aug 2019 09:30:26 -0700 (PDT) [thread overview]
Message-ID: <3927d736-2447-4aa0-9734-339efd497898@default> (raw)
In-Reply-To: <jwv7e71s15r.fsf-monnier+emacs@gnu.org>
> > As a first principle, I think Emacs should not mess, at all, with the
> > ~/.emacs file. That's for users to put their lovingly hand-crafted
> > setqs in.
>
> I don't have a strong opinion on that, but I think it's important to
> realize that depending on the circumstances, the custom-set-variables
> call may have to come before some of the user's config as well as it
> may
> also have to come after some of the user's config.
>
> IOW if Emacs just loads ~/.emacs.d/custom.el before ~/.emacs.d/emacs.el
> some things will break, and same thing if it swaps the order.
Definitely. The doc should tell users that they
need to decide when/where in their init files to
load `custom-file'.
Sometimes it can even be preferable to load it
more than once, e.g., to pick up stuff from some
loaded libraries and then to let some later-loaded
libraries pick up stuff from `custom-file' (or
vice versa).
The most important point for users is that by
using `custom-file' they can prevent Customize
from fiddling with their init file, and they
can prevent accidental fiddling with Customize
settings when they edit their init file.
But a secondarily important point is that when
`custom-file' gets loaded can be important.
next prev parent reply other threads:[~2019-08-25 16:30 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-15 21:52 Settings Lars Ingebrigtsen
2019-08-15 23:11 ` Settings Drew Adams
2019-08-25 15:45 ` Settings Stefan Monnier
2019-08-25 16:30 ` Drew Adams [this message]
2019-08-25 18:21 ` Settings Stefan Monnier
2019-08-26 4:18 ` Settings Lars Ingebrigtsen
2019-08-26 23:13 ` Settings Richard Stallman
2019-08-26 23:20 ` Settings Drew Adams
2019-08-27 23:22 ` Settings Richard Stallman
2019-08-30 9:50 ` Settings Lars Ingebrigtsen
2019-08-31 2:54 ` Settings Richard Stallman
2019-08-27 6:20 ` Settings Eli Zaretskii
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3927d736-2447-4aa0-9734-339efd497898@default \
--to=drew.adams@oracle.com \
--cc=emacs-devel@gnu.org \
--cc=larsi@gnus.org \
--cc=monnier@iro.umontreal.ca \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.