[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Question about customising faces
From: |
Stefan Monnier |
Subject: |
Re: Question about customising faces |
Date: |
Tue, 30 Aug 2022 17:23:37 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
>> 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.
> Didn't know about `face-spec-set`. Is there a recommended way to customise a
> face in one's init file without using Customize?
I recommend `custom-set-faces` first (i.e. Customize).
And `face-spec-set` as second best.
I can't recommend `set-face-attribute` at all.
>> 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).
>
> I can file a bug report, but note that this has been discussed before:
Yes, I know, but I'm hoping we can make this discussion a bit more focused.
I think it really needs a way out.
Stefan
- Question about customising faces, Joost Kremers, 2022/08/29
- Re: Question about customising faces, Eli Zaretskii, 2022/08/29
- Re: Question about customising faces, Joost Kremers, 2022/08/30
- Re: Question about customising faces, Eli Zaretskii, 2022/08/30
- Re: Question about customising faces, Joost Kremers, 2022/08/30
- Re: Question about customising faces, Gregory Heytings, 2022/08/30
- Re: Question about customising faces, Eli Zaretskii, 2022/08/30
- Re: Question about customising faces, Gregory Heytings, 2022/08/30
- Re: Question about customising faces, Eli Zaretskii, 2022/08/30
- Re: Question about customising faces, Gregory Heytings, 2022/08/30
- Re: Question about customising faces, Eli Zaretskii, 2022/08/30