scim-bridge.el is SCIM-Bridge client for GNU Emacs. (ChineseVersion)
scim-bridge.el provides scim-mode minor mode, which can keep local input status of buffer, you can use it input various languages fast.
SCIM is the Smart Common Input Method platform (SCIM) is an input method (IM) platform containing support for more than thirty languages (Chinese, Japanese, Korean and many European languages) for POSIX-style operating systems including Linux and BSD.
sudo aptitude install scim scim-bridge-agent -y
sudo aptitude install scim-pinyin -y
~/elisp, then add the following to your
(add-to-list 'load-path (expand-file-name "~/elisp"))
;; Load scim-bridge. (require 'scim-bridge) ;; Turn on scim-mode automatically after loading .emacs (add-hook 'after-init-hook 'scim-mode-on) ;; Setup input status switch keystroke. (scim-define-common-key (kbd "s-SPC") t) ;; Use C-SPC for Set Mark command (scim-define-common-key (kbd "C-SPC") nil) ;; Use C-/ for Undo command (scim-define-common-key (kbd "C-/") nil) ;; Change cursor color depending on SCIM status (setq scim-cursor-color '("red" "blue" "limegreen"))
M-x customize-group RET scim-bridge RET