On Fri, 02 Nov 2001 11:04:53 +0900, "Stephen J. Turnbull" said:
You're confusing UI with implementation. IMO we should (but
don't,
except for the menubar and that only at initialization) support
fontset X resources for the near term. Translating FontSet/FontList
resources to face specifications is trivial in principle.
Coordinating that with foreground, background, etc specified as
resources is a PITA in practice, which is undoubtedly why nobody's
done it yet.
But internally these should be represented as faces, not as XFontSets.
OH.. OK.. Having a "face" is OK by me, and if the UI allows me to
say "Use this FontSet" for the face, and things get displayed on the
monitor the way they should be, I'm happy. I get paid to worry about
the internals of enough OTHER things that I've intentionally *tried*
to avoid learning more about the innards of XEmacs than what I need
to answer the question "What do I need in the init.el to make it
do THIS?" ;)
However, we can and should support the X resource interfaces while
we're cleaning up the mess.
In my shop, that's always called "In my copious spare time..." ;)
Valdis> Now... how is a poor novice user who just *knows*
"this
Valdis> fontset works just fine for me everyplace else" supposed
Valdis> to figure out how to specify a face without using a
Valdis> fontset?
In Customize he's hosed, at least for now. I don't think there's
anything in XEmacs _except_ the menubar initialization code which
supports setting a face from a fontset. Which means he can't use it
in a buffer anyhow.
Keep your wet noodle handy and beat me with it once in a while, and
I'll get around to doing something about supporting FontSet -> face
translation in .Xresources (hopefully dragooning somebody, maybe
Valdis, he's enthusiastic---oops, sorry, that's you, guess not :-)
No, actually, now that I know that my failure to figure it out was
not my stupidity, but the fact you can't GET there from here.. ;)
I spent quite some time getting exmh to display stuff right, even though
I'm only truly fluent in one language. I figure that if it gets
displayed the way the sender intended, then any lack of understanding
is my fault, not the computer's...
But see my comment above about free time.. ;)
-----
@cindex Ebrowse
The Ebrowse is a separate facility tailored for C++, with tags and a
class browser. @xref{Top,,, ebrowse, Ebrowse User's Manual}.
@menu
-----
Yes, this patch is already in current 21.4. Hmmm.... Hot damn, not
in 21.5. 6/24 ... that was on Martin's watch, got dropped in the
transition I guess. Fixed, soon in CVS and then 21.5.4. Sor-reeee!
Man, I'm on a roll here ;)
Valdis> /Valdis (who just spent 45 minutes *trying* to
implement
Valdis> the superior solution).
And we love you for it, believe me.
I seem to be unable to go anywhere NEAR a piece of code without leaving
a trail of destruction behind me - I spent most of the last 48 hours
finally (I think) tracking down a particularly nasty intermittent
Sendmail bug - before finding a < that should probably be <=, I managed
to find at least 3 other things broken in the code..
At least I'm not as bad as my co-worker Randy. He once plugged a
hot-swap disk into a Dec 2100, and got a conflicting address (neat
trick, since the addresses were assigned by the cabling based on the
media bay). Tried another bay, it conflicted with a *differnt* disk.
Further experimentation found that it was *not* a stuck address bit.
The drive decided if the backplane thought its address was N, that
it would answer to ((N+3) mod 7). We still dont know why....
/Valdis