> SCIM (http://www.scim-im.org/) is a general input method framework
> available in most Unix operating systems, is has two backends, XIM
> and GTK-IM, the first one has better compatibility to most X apps,
> while the second gives better user experiences.

Thanks.  In this case, my Lisp changes have no effect, and you have to
stay with cjktilde.el and cjkspace.el.

I don't think that the code in those two files can be improved much.
Just think of having `x ' in the buffer, and you are going to insert a
CJK character.  The space after `x' should be converted to a tilde,
but we are already inputting the next character!  To handle this, we
would need a hook at the lowest Emacs level, immediately after the
user has pressed an input key, which does something before any other
Lisp action assigned to the input key is executed.

First of all, I'm not sure that this is possible at all.  Second, I
believe this is too aggressive, possibly causing interferences with
functions which convert, say, spaces to tabs.

Maybe it's possible to configure SCIM so that the key event used to
activate or change an input method is passed through instead of
intercepted?  Assuming you use C-S-<SPACE> to do that, it would be
possible then to assign `cjk-tilde-mode' to this key.

I suggest that you directly contact HANDA Ken'ichi; he certainly can
give a more competent answer than me -- and please CC this list!


    Werner

_______________________________________________
Cjk maillist  -  [email protected]
https://lists.ffii.org/mailman/listinfo/cjk

Reply via email to