michaeleng ([info]michaeleng) wrote,

ubuntu rocks

;; xemacs21で日本語入力を使い方です。

;; Ubuntu のパーケージ
;; apt-get install mule-ucs          ;; UTF-8で使う
;; apt-get install anthy-el prime-el  ;;日本語入力用
;;                                   ;;フォントはお好みで
;; apt-get install ttf-sazanami-gothic xfonts-shinonome
;;


;    CTRL-\で入力モード切替え

(load-library "anthy")
(setq default-input-method "japanese-anthy")


(require 'un-define)
(set-language-environment "Japanese")
(set-terminal-coding-system 'utf-8)
(set-keyboard-coding-system 'utf-8)
(set-buffer-file-coding-system 'utf-8)
(setq default-buffer-file-coding-system 'utf-8)
;; たぶん出来ない
;;(prefer-coding-system 'utf-8)


  • Post a new comment

    Error

  • 0 comments
Create an Account
Forgot your login or password?
Facebook Twitter More login options
English • Español • Deutsch • Русский…