Re: problems with face-spec-reset-face and set-face-attribute

2005-10-23 Thread Richard M. Stallman
I think that the vectors in face-new-frame-defaults need to have an additional state, different from `unspecified' and a specific value. This additional state would be `nothing here'. If the value in `face-new-frame-defaults' is `unspecified', it would override the defface with `unspecified'. If

Re: problems with face-spec-reset-face and set-face-attribute

2005-10-22 Thread Richard M. Stallman
My comment about a possible bug specific to :inherit was because evaluating the same expression, namely (set-face-attribute 'completions-first-difference nil ATTR 'unspecified) when ATTR is different from :inherit, e.g. :background or :slant, does work as Drew

RE: problems with face-spec-reset-face and set-face-attribute

2005-10-22 Thread Drew Adams
My comment about a possible bug specific to :inherit was because evaluating the same expression, namely (set-face-attribute 'completions-first-difference nil ATTR 'unspecified) when ATTR is different from :inherit, e.g.

Re: problems with face-spec-reset-face and set-face-attribute

2005-10-20 Thread Juri Linkov
The recipe to reproduce the problematic behavior was in Drew's mail: emacs -q (setq pop-up-frames t) M-x list-faces-display Click mouse-2 on completions-first-difference. It shows Inherit: bold. M-: (set-face-attribute 'completions-first-difference nil :inherit

RE: problems with face-spec-reset-face and set-face-attribute

2005-10-20 Thread Drew Adams
That's not what I saw a month ago, when this discussion started. And Drew confirmed my findings back then. Actually, I don't remember if I tested and confirmed that it worked for attributes other than :inherit - my recollection is that Eli tested that and I took his word for it. But Eli

Re: problems with face-spec-reset-face and set-face-attribute

2005-10-13 Thread Richard M. Stallman
Then I'm confused. As Juri said (and it works): `unspecified' does just what it says, i.e. leaves the default frame value untouched. If you want to change the default for new frames, you can set the value of this attribute to nil. So this should work just

RE: problems with face-spec-reset-face and set-face-attribute

2005-10-13 Thread Drew Adams
Then I'm confused. As Juri said (and it works): `unspecified' does just what it says, i.e. leaves the default frame value untouched. If you want to change the default for new frames, you can set the value of this attribute to nil. So this should work just

Re: problems with face-spec-reset-face and set-face-attribute

2005-07-23 Thread Eli Zaretskii
Date: Wed, 20 Jul 2005 20:45:35 +0300 From: Eli Zaretskii [EMAIL PROTECTED] Cc: emacs-pretest-bug@gnu.org I'll look into the problem with :inherit when I have time, unless someone beats me to it. Perhaps I missed something, but it looks like this is simply unsupported: we handle most face

problems with face-spec-reset-face and set-face-attribute

2005-07-17 Thread Drew Adams
1. The doc string of face-spec-reset-face does not explain the FRAME arg. 2. The doc string of set-face-attribute does not agree with that of internal-set-lisp-face-attribute, which does its work. The former says that FRAME=nil means change on all frames, but does not mention that it