emacs-devel
[Top][All Lists]
Advanced

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

Re: Faces applies to new frames


From: Stefan Monnier
Subject: Re: Faces applies to new frames
Date: Mon, 30 Jun 2008 00:46:08 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

> 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?

I don't think so: presumably the code that changed the defface specs
will want to apply this change to existing frames, so wherever that is
done, we can update face-new-frame-defaults correspondingly.


        Stefan




reply via email to

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