Ar an ceathrú lá de mí na Nollaig, scríobh Zhang Wei:
[...] This time (setq debug-x-events 1) won't cause crash, but
the bug is
still with us. When I try to input a chinese character `中', whose coding
is `ÖÐ' in gb2312, I got the following output:
AAAGGH. Still can’t get an IM to run. I suppose that’s my punishment for
choosing an OS that’s even less i18n-friendly than Linux.
I’ll describe some of how this is supposed to work, to give anyone with a
working IM server the chance to debug it.
In event-stream.c, there’s the function command_builder_find_leaf. This
works out what a key sequence is bound to as you type it. This calls the
console method “perhaps_init_unseen_key_defaults” which is intended to give
a default binding to a key or a key event for which the associated character
should map to self-insert-command. This function should create the binding
before any command lookup would fail; evidently it’s not. For the X11
platform, this function is in x_perhaps_init_unseen_key_defaults in
console-x.c.
--
I AM IN JAIL AND ALLOWED SEND ONLY ONE CABLE SINCE WAS ARRESTED WHILE
MEASURING FIFTEEN FOOT WALL OUTSIDE PALACE AND HAVE JUST FINISHED COUNTING
THIRTY EIGHT THOUSAND FIVE HUNDERED TWENTY TWO NAMES WHOS WHO IN MIDEAST.