unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Organizing Face Customizations in Emacs: Custom Faces vs set-face-attribute?
@ 2024-10-06  0:59 Kepa via Users list for the GNU Emacs text editor
  0 siblings, 0 replies; only message in thread
From: Kepa via Users list for the GNU Emacs text editor @ 2024-10-06  0:59 UTC (permalink / raw)
  To: 'Help-Gnu-Emacs (help-gnu-emacs@gnu.org)'

Hi there!

I've been trying to move some face customizations (default face, org-default face, etc.) outside of the area where Emacs automatically manages `custom-faces`. My goal was to organize it manually for better control.

Surprisingly for me, Emacs re-creates those customizations in `custom-faces`, even without using the customization GUI.
I also have issues with faces like `org-default`, where modifying it affects its "heirs", but the text under headlines (which should be `org-default`) doesn’t change.

Some other customizations give me errors, using set-face-attribute like if the variable wouldn't exist...

What's the best way to configure fonts and emphasis once and for all? Should I just stick to `custom-faces` and forget about `set-face-attribute`?

Best regards


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-10-06  0:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-06  0:59 Organizing Face Customizations in Emacs: Custom Faces vs set-face-attribute? Kepa via Users list for the GNU Emacs text editor

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).