On Mon, 24 Feb 2003, Angus Leeming wrote:

> Ok I tested it with LANG == en_US.UTF-8 (Standard RH8 setup).
> All is fine.
>
> Note, however, that I don't think that xforms should be clever about 
this.


I know. The patch should fail where some non-standard locale setting is 
set. 


> This should be set by a flag passed to fl_initialize.

Can you give me an example code to realize this? Please notice that
I have to release  CJK-LyX-1.3.0 tomorrow at the latest( I 
promised some CJK-LyX users to release CJK-LyX-1.3.0 early this week).



> > +    /* keysym == NoSymbol during multi-byte char composition.
> > +       Eg, I've typed Multi_key-a but not yet ' to give ?
> > +       Silently swallow these partial-compositions. */
> > +    if (keysym == NoSymbol && kbuflen == 0)
> > +        return;
> 
> CG, are you sure that this could not be simplified? I thought that you 
had
> established that null keysyms should not be passed to the widgets at 
all?
>         if (keysym == NoSymbol)
>                 return;


Nope, composed CJK-chars have also keysym==0. So without extra kbuflen==0, 
all the composed CJK-chars will be swallowd here.


cghan

Reply via email to