vern@2007-01-07:/var% ls tags
emacs

搞emacs21的fcitx输入问题

没有全部搞定,当用emacs启动时,我仍然无法调出fcitx,但是,娃哈哈,用emacs -nw启动时,已经可以正常通过fcitx输入中文了。如果你和我一样,都是通过apt-get安装的21版的emacs,那你还需要安装以下包:

apt-get install mule-ucs
apt-get install emacs-intl-fonts
apt-get install xfonts-intl-chinese*

sun$locale
LANG=zh_CN.UTF-8
LANGUAGE=zh_CN:zh:en_US:en
LC_CTYPE=zh_CN.UTF-8
LC_NUMERIC="zh_CN.UTF-8"
LC_TIME="zh_CN.UTF-8"
LC_COLLATE="zh_CN.UTF-8"
LC_MONETARY="zh_CN.UTF-8"
LC_MESSAGES="zh_CN.UTF-8"
LC_PAPER="zh_CN.UTF-8"
LC_NAME="zh_CN.UTF-8"
LC_ADDRESS="zh_CN.UTF-8"
LC_TELEPHONE="zh_CN.UTF-8"
LC_MEASUREMENT="zh_CN.UTF-8"
LC_IDENTIFICATION="zh_CN.UTF-8"
LC_ALL=
sun$cat ~/.emacs
(global-set-key (kbd "C-SPC") 'nil)

(require 'un-define)
(set-language-environment 'utf-8)
(setq locale-coding-system 'utf-8)
(set-terminal-coding-system 'utf-8)
(set-keyboard-coding-system 'utf-8)
(set-selection-coding-system 'utf-8)
(prefer-coding-system 'utf-8)