[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Can't active Xim when use gnu emacs



Hello all,

I installed Debian unstable on my asus m2c 
notebook.
I use the old .emacs file in my old PC for it had 
worked well on it.
But on the new notebook, I can't active scim when 
I use GNU/Emacs and press "C-Space".
I have changed scim to fcitx, the same problem 
occured. fcitx can't be actived after "C-space" 
are pressed.

There are some lines in my .emacs file
(global-set-key [(f1)] 'set-mark-command)
(set-language-environment "Chinese-GB")
(set-keyboard-coding-system 'cn-gb-2312)
(set-selection-coding-system 'cn-gb-2312)
(set-terminal-coding-system  'cn-gb-2312)
(set-buffer-file-coding-system 'gb2312)
(setq default-buffer-file-coding-system 'gb2312)
(setq locale-coding-system 'gb2312)

I use "startx" to start my X server and  
my .xinitrc file looks like this
export LANG=zh_CN
export LANGUAGE=zh_CN.GBK
export XMODIFIERS="@im=SCIM"
export XIM=scim
export XIM_PROGRAM=scim
scim -d 
exec startkde

I don't set $LANG in my .bash_profile .

scim works well in other QT & GTk based program, 
but it can't be actived when I use rxvt-2.7.10 (I 
compiled it with xim support)

Could anyone give me a hand?

Best Regards,

Chen Xun



Reply to: