Hrvoje Niksic <hniksic(a)srce.hr> writes:
Jan Vroonhof <vroonhof(a)math.ethz.ch> writes:
> I think I know how to solve this (and the MULE font problem) as
> follows
> 1. custom adds it stuff to the specifier with a 'custom tag.
> 2. reset-face is replaced by
> '(remove-all-face-specifier-entries-with-tag face '(custom))
Yes yes yes! For more than a year, my TODO list has contained an
entry saying "defface: RESET ONLY WHAT YOU KNOW ABOUT!"
Jan's suggestion goes a step further. With it, custom only resets
what it has set itself. This implies that if you for example do a
(set-face-background 'bold "yellow")
in the code, then you will not be able to remove background color with
customize, except by overwriting it. I.e. you will not be able to
make the `bold' face blend in with the background.
I think this is acceptable. If you set something from Lisp, you must
also unset it from Lisp.