[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Faces applies to new frames
From: |
Miles Bader |
Subject: |
Re: Faces applies to new frames |
Date: |
Fri, 27 Jun 2008 08:08:55 +0900 |
Chong Yidong <address@hidden> writes:
> I took a look at the problem that several people have reported regarding
> default faces not being applied to new frames (e.g. 47 and 120 in the
> bug tracker).
>
> AFAICT, the problem is that the default face is controlled by the `font'
> frame parameter, but this is not saved to default-frame-alist by
> internal-set-lisp-face-attribute. In comparison, the foreground-color
> and background-color frame attributes are saved properly (see
> xfaces.c:3415 and 3470). It doesn't seem practical to fix
> internal-set-lisp-face-attribute, but I think we can patch it up in
> faces.el.
>
> Could someone check whether this reasoning makes sense, and whether the
> attached patch to set-face-attribute makes things work properly?
Note that in my previous bug report about (apparently) this issue, the
"variable-pitch" face also failed to apply properly to new frames. So
it's not just "default".
-Miles
--
Youth, n. The Period of Possibility, when Archimedes finds a fulcrum,
Cassandra has a following and seven cities compete for the honor of endowing a
living Homer.
Re: Faces applies to new frames, Robert J. Chassell, 2008/06/27
Re: Faces applies to new frames, Robert J. Chassell, 2008/06/27
Re: Faces applies to new frames, Chong Yidong, 2008/06/28