wmperry(a)aventail.com (William M. Perry) writes:
Having to worry about unique names for faces, whether they are
temporary or permanent, etc, etc, etc. gets kind of annoying.
Emacs/W3 goes to some pain to use temporary faces so that people
don't wonder what the w3-nil-nil-red-green face is all about.
I did the same in Customize, but I don't remember it being a pain.
See `widget-color-sample-face-get'.
Because so much is changing in the 21.2 stuff, I am going to
initially be working off of 21.1.9. When I get back to the 'free
time' hacking I want to move it up to 21.2 and maybe even do the
'real' port to use Gtk canvas and friends to do the redisplay. That
would get you anti-aliased text,
The canvas idea is cool, but it'll never work. Canvas is way too slow
for handling the redisplay of an editor. What you'd have to do is
handle events and use Gdk/X primitives (preferably Gdk only if you
desire portability) to draw to the screen.
This was in fact confirmed by Owen Taylor in Japan a year ago.