From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Joost Kremers <joostkremers@fastmail.fm>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Question about customising faces
Date: Tue, 30 Aug 2022 09:00:27 -0400 [thread overview]
Message-ID: <jwvtu5tevws.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87wnaqmbsq.fsf@fastmail.fm> (Joost Kremers's message of "Tue, 30 Aug 2022 08:58:17 +0200")
>> Is there a particular reason why you use `set-face-attribute` rather
>> than a declarative solution like M-x customize-face?
>
> Well, a while ago I decided to stop using Customize because of
> `package-selected-packages` being written to my
> `custome-file`. I couldn't find a hassle-free way to sync my Emacs
> config between machines. I kept having to resolve merge conflicts
> caused by `package-selected-packages`, so I took `custom-file` out of
> version control. Now it's only used for `package-selected-packages`
> and everything else is in init.el and files loaded from there.
Too bad, because in my experience `set-face-attribute` is more often
a problem than a solution. Maybe you should try to use
`face-spec-set` instead.
Regarding your problem with `package-selected-packages`, I plead guilty.
Not sure how best to address that problem. In the short term, you can try
something like
(advice-add 'package--save-selected-packages :override #'ignore)
tho it probably comes with other undesirable side-effects. I suggest
you file a bug report (and send me the bug#nb) so we can discuss
alternatives (and if you filed one already, just send me the bug#nb).
Stefan
next prev parent reply other threads:[~2022-08-30 13:00 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-29 11:30 Question about customising faces Joost Kremers
2022-08-29 13:08 ` Eli Zaretskii
2022-08-29 20:07 ` Joost Kremers
2022-08-29 20:47 ` Stefan Monnier via Users list for the GNU Emacs text editor
2022-08-30 6:58 ` Joost Kremers
2022-08-30 13:00 ` Stefan Monnier [this message]
2022-08-30 20:57 ` Joost Kremers
2022-08-30 21:23 ` Stefan Monnier
2022-09-03 15:18 ` Joost Kremers
2022-08-30 2:30 ` Eli Zaretskii
2022-08-30 6:44 ` Joost Kremers
2022-08-30 11:49 ` Eli Zaretskii
2022-08-30 20:48 ` Joost Kremers
2022-08-30 15:52 ` Gregory Heytings
2022-08-30 16:54 ` Eli Zaretskii
2022-08-30 17:50 ` Gregory Heytings
2022-08-30 18:19 ` Eli Zaretskii
2022-08-30 18:31 ` Gregory Heytings
2022-08-30 18:34 ` Eli Zaretskii
2022-08-30 18:48 ` Gregory Heytings
2022-08-30 18:56 ` Eli Zaretskii
2022-08-30 19:15 ` Gregory Heytings
2022-08-30 20:36 ` Joost Kremers
2022-08-31 2:25 ` Eli Zaretskii
2022-08-31 8:18 ` Gregory Heytings
2022-08-30 21:46 ` [External] : " Drew Adams
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=jwvtu5tevws.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=help-gnu-emacs@gnu.org \
--cc=joostkremers@fastmail.fm \
/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.