Stephen J Turnbull <turnbull(a)sk.tsukuba.ac.jp> writes in xemacs-beta(a)xemacs.org:
...
But I think that what needs to be done in any case is to make XIM
enabled on-the-fly as kterm does, and use the LEIM interface (C-u C-\,
etc) to invoke it.
Yes. It would be extremely nice to not hang or crash if the XIM
server goes away unexpectedly.