emacs-devel
[Top][All Lists]
Advanced

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

Re: face-remapping patch


From: Stefan Monnier
Subject: Re: face-remapping patch
Date: Thu, 29 May 2008 11:56:14 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

>> To improve on this, I think we'd have to move to something more like
>> XEmacs's specifiers.  But I haven't even seen any proposal for such
>> a thing yet.

> Proposal: allow a third argument for make-local-variable.

That's for variables, not faces.
But, yes, maybe we should rethink face-settings along similar lines:

  (set-face-attribute FACE LOCUS &rest ARGS)

The first difficulty is to figure out how to integrate such a thing with
the settings coming from X resources, from defface specs, from frame
parameters (font & back/foreground colors, IIRC), ...

Note that it would be a good opportunity to try and make this whole code
more efficient as well, so that all face settings don't get redundantly
recomputed everytime we create a new frame.

I guess the defface spec and the X resources could be turned into
terminal-local settings computed everytime a new terminal is created
(and everytime a new face is created, of course).


        Stefan




reply via email to

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