[Top][All Lists]
[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
- Re: Specifiers, (continued)
- Re: Specifiers (was: face-remapping patch), Richard M Stallman, 2008/05/29
- Re: Specifiers, Stefan Monnier, 2008/05/29
- Re: Specifiers, David Kastrup, 2008/05/30
- Re: Specifiers, Stefan Monnier, 2008/05/30
- Re: Specifiers, David Kastrup, 2008/05/30
- Re: Specifiers, Stefan Monnier, 2008/05/30
- Re: Specifiers, Richard M Stallman, 2008/05/31
- Re: face-remapping patch,
Stefan Monnier <=
- Re: face-remapping patch, David Kastrup, 2008/05/29
Re: face-remapping patch, Miles Bader, 2008/05/29
Re: face-remapping patch, Chong Yidong, 2008/05/28