>> I don't understand enough about the auto-loading of the
>> tables to know why it works when utf-8 files containing
>> CJK characters are loaded, but not for utf-8 keyboard
>> input. But at least the above might give you a better work
>> around for your .emacs.

> On reading a file, utf-8-post-read-conversion is called and
> it (re)loads the tables if necessary.  But, the decoding of
> keyboard input via XIM is done in handle_one_xevent of
> xterm.c, and I'm not sure we can call Lisp there.  So, I
> dared not call post-read-conversion function there.

Indeed we can't use elisp from handle_one_xevent.  We should probably
restructure this code so that the necessary decoding can be done later,
e.g. in read_char.


        Stefan


_______________________________________________
Emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to