next up previous
Next: C. OpenGL Up: B..2 tamago4 for Canna Previous: B..2.1 Canna の起動の仕方

B..2.2 .emacs

以下の .emacs で、 tamago4 を使った日本語入力、SJIS でのファイル作成などが出来ている。

(custom-set-variables
  ;; custom-set-variables was added by Custom -- don't edit or cut/paste it!
  ;; Your init file should contain only one such instance.
 '(case-fold-search t)
 '(current-language-environment "Japanese")
 '(default-input-method "japanese"))
(custom-set-faces
  ;; custom-set-faces was added by Custom -- don't edit or cut/paste it!
  ;; Your init file should contain only one such instance.
 )

; 日本語
(set-language-environment "Japanese")
(set-default-coding-systems 'sjis-dos)
(set-terminal-coding-system 'sjis-dos)
(set-keyboard-coding-system 'sjis-dos)
(set-clipboard-coding-system 'sjis-dos)
(set-buffer-file-coding-system 'sjis-dos)

; tamago4
(setq default-input-method "japanese-egg-canna") 
(setq canna-hostname "localhost")

; 野鳥
(load "yatex-startup-2009")

set-default-coding-system でなく、 複数形なのに気が付かずに少しはまった。


next up previous
Next: C. OpenGL Up: B..2 tamago4 for Canna Previous: B..2.1 Canna の起動の仕方
Masashi Katsurada
平成22年6月22日