>>>> "Jan" == Jan Vroonhof
<vroonhof(a)math.ethz.ch> writes:
Jan> Adrian Aichner <aichner(a)ecf.teradyne.com> writes:
Jan> Please make sure your .elc are up to date and you are not
Jan> suffering from the problems the other NT users were seeing.
Good point. I just byte-compiled
xemacs/lisp/*.el
Jan> Please give the values of the relevant specifiers.
>
> Sorry, Jan, I don't understand what you mean here.
Jan> I mean what does (face-font 'default) give you
(face-font 'default)
#<font-specifier global=<unspecified> fallback=(((mswindows) . "Courier
New:Regular:10::Western") ((mswindows) . "Courier:Regular:10::Western")
((mswindows) . "Fixedsys:Regular:9::Western")) 0x196>
>
Jan> (make-face-unitalic font-lock-comment-face
tags '(custom))
>
>> I am calling this with tags of nil, like
custom does.
Jan> RED ALERT! Custom should be making _all_ its changes with a
Jan> 'custom tag!
ALERT CANCELED! I was referring to your original example
Jan> (make-face-unitalic font-lock-comment-face tags '(custom))
which should have been
Jan> (make-face-unitalic font-lock-comment-face locale '(custom))
So I was doing all calls with a *locale* of nil and tags value of
*'(custom)*.
> (make-face-unitalic 'font-lock-comment-face nil
'(custom))
> ======================================================================
> 1 -> frob-face-property: face=font-lock-comment-face property=font
func=mswindows-make-font-unitalic locale=nil tags=(custom)
> 1 <- frob-face-property: nil
> (make-face-unitalic 'font-lock-comment-face nil '(custom))
Jan> Here is probably the problem. There might be some bug in
Jan> frob-face-property (or the way customize uses it). The use of
Jan> it with a non-nil tags probably has never been tested very
Jan> well..
Hmmh, BUT, mimicing custom by calling
(make-face-unitalic font-lock-comment-face nil '(custom))
directly works the second time around.
The question probably is why it fails for the first time (returning
[default]).
Grüezi,
Adrian
Jan> That's all for now, have to go,
Jan> Jan
Jan> --
Jan> Jan Vroonhof
http://www.math.ethz.ch/~vroonhof/
Jan> Mathematik, vroonhof @ math.ethz.ch
Jan> HG E16, ETH-Zentrum, Tel: +41-1-6325456/25154
Jan> Raemistrasse 101, CH-8092 Zuerich. Fax: +41-1-6321085
--
Adrian Aichner Teradyne GmbH, European Design Center
Integra Test Division Telephone +49/89/41861(0)-208
Dingolfinger Strasse 2 Fax +49/89/41861-217 (What is a Fax?)
D-81673 MUENCHEN E-mail adrian.aichner(a)teradyne.com