When Fedora 19 came out, XEmacs on X started complaining about XCreateIC
failures on startup. Now that Fedora 20 is out, I have finally gotten
around to tracking down the reason why. The problem is that libX11 uses a
static buffer in function _XimProtoCreateIC (modules/im/ximcp/imDefIc.c) of
size 1 kilobyte, which of course should be big enough for anyone.
Except us.
We pass in a large fontset, and run out of room a couple of function calls
down the stack (in _XimValueToAttribute, in particular:
modules/im/ximcp/imRmAttr.c). Instead of attempting any kind of error
recovery, the code just gives up and reports failure. And there doesn't
seem to be any way of influencing the size of that static buffer, except by
recompiling libX11 with a larger value of BUFSIZE.
Does anybody know anything about this code? Is there some way we can prune
that fontset down? I can certainly complain to the X11 folks about this,
but if there is an easy fix on our end, I'd rather do that.
Also, is XIM support desirable? Or is it a dinosaur and I should just drop
it?
Thanks,
--
Jerry James
http://www.jamezone.org/
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta