[Top][All Lists]

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

Re: Faces applies to new frames

From: Chong Yidong
Subject: Re: Faces applies to new frames
Date: Sun, 29 Jun 2008 22:24:04 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

Stefan Monnier <address@hidden> writes:

>>> [ Tho, I'd have expected that updating the `font' frame-parameter was
>>> done at a lower-level, in a single place. ]
>> Well, face vectors are Lisp-accessible data structures, and there's no
>> practical generic way to catch changes to these data structures.
> That doesn't answer my point, which is that this problem you describe has
> been with us for ever, and so it's irrelevant to the question, AFAICT.
> Or are you saying that my proposal would make it somehow worse?

I wasn't referring to your proposal when I wrote the above, but I still
don't fully understand what your proposal entails.

>From what I can tell, you want something like an alist that collects the
face settings to apply to new faces, based on defface specs, X
resources, and face-new-frame-defaults.  It seems that the main goal of
this is to avoid recomputing faces each time we create a frame.  But if
the defface specs are user-accessible Lisp structures, there's no way
for us to know that they haven't been changed since the last time the
alist was recomputed.  So we would have to recompute each time a new
frame is created, anyway.  No?

reply via email to

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