|
发表于 2004-6-10 22:09:08
|
显示全部楼层
我是这样的:
1. Unzip emacsim.tar.gz2 and copy gb dir to ~/emacs
2. Modify my .emacs file and add:
;; Adding Chinese Pinyin input method
(register-input-method
"chinese-pinyin-gb" "Chinese-CNS" 'quail-use-package
"拼音" "汉字输入∷【拼音】∷"
"~/emacs/gb/pinyin")
(register-input-method
"british" "Latin-1" 'quail-use-package
",A#(B@" "British English input method with Latin-1 character ,A#(B (# -> ,A#(B)"
"quail/latin-post")
3. Modify .emacs file, at the (custom-set-variables section, modify the following two lines to:
'(current-language-environment "Chinese-GB")
'(default-input-method "chinese-pinyin-gb")
4. Start Emacs, you can now use CTRL+\ to toggle input method. |
|