[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug while locale in utf8
From: |
Kenichi Handa |
Subject: |
Re: Bug while locale in utf8 |
Date: |
Tue, 27 Sep 2005 10:37:48 +0900 |
User-agent: |
SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/22.0.50 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI) |
In article <address@hidden>, Stefan Monnier <address@hidden> writes:
>> 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.
I have not yet considered this problem in deep, but it seems
that kbd_buffer_get_event is the appropriate place to
perform decoding.
---
Kenichi Handa
address@hidden