"Stephen J. Turnbull" <stephen(a)xemacs.org> writes:
>>>>> "Hrvoje" == Hrvoje Niksic
<hniksic(a)xemacs.org> writes:
Hrvoje> It really sucks that Lisp code has to resort to parsing
Hrvoje> font descriptions. GNU Emacs 21 has completely surpassed
Hrvoje> us with simple yet powerful face properties that they
Hrvoje> support.
GNU Emacs 21.3.1 still doesn't even really support faces as far as
Mule is concerned.
Maybe so, but they define an interface which I can use to query face
properties. If that interface doesn't work, it's their bug which I
can report and they can fix (but it does work in my tests.) For
example, `face-bold-p' and `face-italic-p' and, in newer incarnations,
(face-attribute FACE :weight) and (face-attribute FACE :slant) -- you
get the idea.
And I'll bet that their face properties work by parsing XLFDs
and
other font names, anyway
And that's all I'm asking for. I really don't care how they do it
behind the scenes -- the interface is what matters. When they port
Emacs to a new GUI platform, they'll take care to parse font names
and/or whatever else is necessary, and htmlize will "just work".
XEmacs doesn't support that.
Also note that `M-x apropos' only lists interactive commands under
FSF. Try `C-u M-x apropos'.