>>>> "Valdis" == Valdis Kletnieks
<Valdis.Kletnieks(a)vt.edu> writes:
> The existing superior solution: faces.
Valdis> Superior it may be. However, checking the FAQ that came
Valdis> with XEmacs:
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.
Valdis> So the score is now Customize 2, user 0.
Yup. Steve considers letting Customize take over faces without being
complete, let alone well-documented, one of the two really big
mistakes he made. Unfortunately, Customize has metastasized
throughout the Lisp internals concerned with faces. We've got a
couple people interested in working on it, but I don't have time right
now and Peter Brown is very new at it, so significant progress is
likely to take a while. Pray for the return of Hrvoje and Jan, I
guess.
However, we can and should support the X resource interfaces while
we're cleaning up the mess.
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 :-)
---into doing it instead of me). It's not likely to happen in
Customize soon because it will require a complete overhaul of how the
face widget thinks about fonts.
Valdis> once I figure out why RedHat's texinfo-4.0c-1 does this:
Because the xref is probably broken.
Make it look like this:
-----
@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!
Valdis> /Valdis (who just spent 45 minutes *trying* to implement
Valdis> the superior solution).
And we love you for it, believe me.
--
Institute of Policy and Planning Sciences
http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
Don't ask how you can "do" free software business;
ask what your business can "do for" free software.