[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: problems with face-spec-reset-face and set-face-attribute
From: |
Eli Zaretskii |
Subject: |
Re: problems with face-spec-reset-face and set-face-attribute |
Date: |
Thu, 20 Oct 2005 15:01:29 +0200 |
> From: "Richard M. Stallman" <address@hidden>
> CC: address@hidden
> Date: Fri, 14 Oct 2005 01:10:30 -0400
>
> <Eli> This seems to be a bug in internal-set-lisp-face-attribute that is
> specific to the :inherit attribute. When I try your recipe with other
> attributes, like :foreground or :slant, everything works as expected.
> (A good face to try this is `fringe': when it changes, you see the
> effect immediately.)
>
> Perhaps there is a bug.
>
> Eli, is there really a bug here?
> If so, could you send a self-contained bug report?
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
'unspecified) RET
C-x 5 f whatever (create a new frame)
M-x list-faces-display (from the new frame)
Click mouse-2 on completions-first-difference. It shows "Inherit: bold"
(the original value).
However, doing list-faces-display from the same buffer where
you did `set-face-attribute', and clicking
completions-first-difference, shows "Inherit: unspecified".
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 expected, and as the doc strings say it should.
- RE: problems with face-spec-reset-face and set-face-attribute, Drew Adams, 2005/10/09
- Re: problems with face-spec-reset-face and set-face-attribute, Juri Linkov, 2005/10/10
- Re: problems with face-spec-reset-face and set-face-attribute, Richard M. Stallman, 2005/10/10
- RE: problems with face-spec-reset-face and set-face-attribute, Drew Adams, 2005/10/11
- Re: problems with face-spec-reset-face and set-face-attribute, Richard M. Stallman, 2005/10/13
- RE: problems with face-spec-reset-face and set-face-attribute, Drew Adams, 2005/10/13
- Re: problems with face-spec-reset-face and set-face-attribute, Richard M. Stallman, 2005/10/14
- Re: problems with face-spec-reset-face and set-face-attribute,
Eli Zaretskii <=
- Re: problems with face-spec-reset-face and set-face-attribute, Juri Linkov, 2005/10/20
- Re: problems with face-spec-reset-face and set-face-attribute, Eli Zaretskii, 2005/10/20
- RE: problems with face-spec-reset-face and set-face-attribute, Drew Adams, 2005/10/20
- Re: problems with face-spec-reset-face and set-face-attribute, Richard M. Stallman, 2005/10/23
- RE: problems with face-spec-reset-face and set-face-attribute, Drew Adams, 2005/10/23
- Re: problems with face-spec-reset-face and set-face-attribute, Richard M. Stallman, 2005/10/23
- Re: problems with face-spec-reset-face and set-face-attribute, Richard M. Stallman, 2005/10/14
- RE: problems with face-spec-reset-face and set-face-attribute, Drew Adams, 2005/10/14
- Re: problems with face-spec-reset-face and set-face-attribute, Juri Linkov, 2005/10/15
- Re: problems with face-spec-reset-face and set-face-attribute, Richard M. Stallman, 2005/10/16