emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Global Font Lock by default


From: Richard M. Stallman
Subject: Re: Global Font Lock by default
Date: Tue, 01 Nov 2005 16:52:35 -0500

    later at run time face-spec-choose is called this will match: 
    "((class color) (min-colors 8) (background light))"
    but because it specifies no properties face-spec-set returns 
    nil => face-spec-reset-face is not called in face-spec-set => the bold
    and italic attributes are kept... 

That seems to be a bug in the general mechanism.
Any defface should have the same meaning, if preloaded,
as it would have if not preloaded.  In particular,
any fallback option which would not apply at run time
should not ultimately apply when preloaded.

Therefore, either (t (:weight bold :slant italic)) should not
be applied during preload, or it should be overridden at start-up.

Please stop looking for workarounds!  That is not the way
to deal with a bug!  Please try to fix the mechanism to DTRT.

If that proves to be really hard, we could document the flaw
and look for a workaround; but we should not give up on a real'
fix without even trying.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]