[SCIM] scim v.s. gvim

Shixin Zeng shixinzeng at sjtu.edu.cn
Thu Apr 29 17:02:55 EST 2004


I did as you said, but nothing changed.
I start scim without -d option. Run "gvim test.tex" and try to type in
some Chinese characters. But once I hit a key, I got the following from
the console running scim, and no characters enterred to test.tex:
scim_x11_ic.cpp(373):Unknown attr: separatorofNestedList
scim_x11_ic.cpp(422):Unknown attr: preeditState
scim_x11_ic.cpp(283):Unknown attr: preeditState

I think this is a problem that vim-latexsuite in gvim is not compatible
with SCIM, since it works fine in any other situations.

James Su wrote:

>You must regenerate /etc/gtk-2.0/gtk.immodules file by command
>gtk-query-immodules-2.0. And you may try to set GTK_IM_MODULE=3Dxim.
>
>Shixin Zeng =D0=B4=B5=C0:
>
> =20
>
>>It doesn't work.
>>After I rm /usr/lib/gtk-2.0/*/immodules/im-scim*, it complain to me:
>>(vim:27219): Gtk-WARNING **:
>>/usr/lib/gtk-2.0/2.2.0/immodules/im-scim.so: cannot open shared object
>>file: No such file or directory
>>
>>And I can't input any Chinese character in gvim.
>>
>>suzhe at tsinghua.org.cn wrote:
>>
>>=20
>>
>>   =20
>>
>>>Please rm /usr/lib/gtk-2.0/*/immodules/im-scim* and try again.
>>>
>>>=D4=DA=C4=FA=B5=C4=C0=B4=D0=C5=D6=D0=D4=F8=BE=AD=CC=E1=B5=BD:
>>>
>>>
>>>  =20
>>>
>>>     =20
>>>
>>>>From:Shixin Zeng <shixinzeng at sjtu.edu.cn>
>>>>Reply-To: Smart Common Input Method platform <scim at freedesktop.org>
>>>>To: scim at freedesktop.org
>>>>Subject: [SCIM] scim v.s. gvim
>>>>
>>>>Hi,
>>>>It seems to me that gvim can't work with the current version scim(I=20
>>>>don't test the old version).
>>>>I've tried 0.9.3 and the cvs version.
>>>>The problem can be described like this: launch gvim, press 'Ctrl+Spac=
e'=20
>>>>to triger Chinese input method and type in some Chinese charactors. T=
hen=20
>>>>press 'Ctrl+Space' to return English input mode and enter vim's comma=
de=20
>>>>mode(via ':'). Just after typing ":", you would see
>>>>"SCIM: im_module_exit
>>>>SCIM: im_module_init"
>>>> =20
>>>>
>>>>    =20
>>>>
>>>>       =20
>>>>
>>>>from the console.
>>>
>>>
>>>  =20
>>>
>>>     =20
>>>
>>>>The biggest prolem is that I can't edit any tex file, I installed=20
>>>>vim-latexsuite. Once I
>>>>open a tex file. It output many lines of
>>>>"SCIM: im_module_exit
>>>>SCIM: im_module_init"
>>>>and I can't input any Chinese character.
>>>>
>>>>PS:gvim --version
>>>>VIM - Vi IMproved 6.2 (2003 Jun 1, compiled Feb 18 2004 08:42:30)
>>>>Included patches: 1-270
>>>>OS: debian sid
>>>>
>>>>Any help would be much appreicated!
>>>>
>>>>Shixin Zeng
>>>>
>>>>_______________________________________________
>>>>scim mailing list
>>>>scim at freedesktop.org
>>>>http://freedesktop.org/mailman/listinfo/scim
>>>>
>>>> =20
>>>>
>>>>    =20
>>>>
>>>>       =20
>>>>
>>>_______________________________________________
>>>scim mailing list
>>>scim at freedesktop.org
>>>http://freedesktop.org/mailman/listinfo/scim
>>>
>>>
>>>
>>>  =20
>>>
>>>     =20
>>>
>>_______________________________________________
>>scim mailing list
>>scim at freedesktop.org
>>http://freedesktop.org/mailman/listinfo/scim
>>
>>=20
>>
>>   =20
>>
>
>
>
>_______________________________________________
>scim mailing list
>scim at freedesktop.org
>http://freedesktop.org/mailman/listinfo/scim
>
> =20
>



More information about the scim mailing list