Why not add built-in face properties like font-family, font-weight,
font-slant, etc.? Otherwise you arbitrarily stick some properties
inside of property lists hung off a single property, and other
properties are direct face properties. Ugly ugly ugly. Keep it simple.
I haven't completely looked through the specs but implementation should
be easy. We already have font.el to figure out how to map those font
properties to font names, and in the C code we already have code to
merge attributes, and code to do caching on a per-window basis.
I would love to see a clean model implemented.
ben
Kyle Jones wrote:
William M. Perry writes:
> So to make a face in Emacs 21 now, you do:
>
> (make-face 'foo)
> (set-face-attribute 'foo nil
> :family "lucidatypewriter"
> :width 'normal
> :height 200
> :weight 'normal
> :foreground "red"
> :background "pink"
> :strike-through t)
Well, I almost like this setup. The thing I don't like is a face
having all these properties. A property list like this should be
recognized as an instantiator for a font specifier.
--
In order to save my hands, I am cutting back on my responses, especially
to XEmacs-related mail. You _will_ get a response, but please be
patient.
If you need an immediate response and it is not apparent in your
message,
please say so. Thanks for your understanding.