|
发表于 2006-5-10 13:32:24
|
显示全部楼层
Post by chylli
google了一下,也 没找到解决办法
在fvwm下的emacs中能正常输入中文
在gnome下的其它app中也能输入,但就是在emacs中不能输入,在emacs -nw下也能输入
以下是我的emacs的相关配置
(set-language-environment 'Chinese-GB)
(set-keyboard-coding-system 'euc-cn)
(set-clipboard-coding-system 'euc-cn)
(set-terminal-coding-system 'euc-cn)
(set-buffer-file-coding-system 'euc-cn)
(set-selection-coding-system 'euc-cn)
(modify-coding-system-alist 'process "*" 'euc-cn)
(setq default-process-coding-system
'(euc-cn . euc-cn))
(setq-default pathname-coding-system 'euc-cn)
(setq visible-bell t)
(setq inhibit-startup-message t)
(setq column-number-mode t)
(setq default-fill-column 70)
(show-paren-mode t)
(setq show-paren-style 'parentheses)
(setq default-major-mode 'text-mode)
(global-font-lock-mode t)
(global-set-key (kbd "C-c g") 'goto-line)
我的locale是
liulei@debian:~$ 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=
请高手指点
我的也是一样, 现在用牛人做的输入法, http://www.newsmth.net/bbscon.php?bid=573&id=36608, 挺不错的. |
|