meadow用の.emacsファイル(バックアップ?)

久しぶりに自分の.emacs を見たら意外と書いてあった.
文字コードeuc-jp にしたほうが良い気もする.

(set-language-environment "Japanese")
(set-terminal-coding-system 'sjis)
(set-buffer-file-coding-system 'sjis)
(set-keyboard-coding-system 'sjis)
(global-font-lock-mode t)

;;;yatex
(setq auto-mode-alist(cons (cons "\\.tex$" 'yatex-mode) auto-mode-alist))
(autoload 'yatex-mode "yatex" "Yet Another LaTeX mode" t)
(setq load-path (cons "~/site-lisp/yatex" load-path))
(setq tex-command "C:/tex/bin/platex.exe")
(setq dvi2-command "C:/tex/dviout/dviout.exe")

(setq explicit-shell-file-name "cmdproxy.exe")
(setq shell-file-name "cmdproxy.exe")

;;;タブ幅(ただし読み込み時のみに有効)C+q tabkeyでTab
(setq tab-width 4)

;;;起動初期画面カット
(setq inhibit-startup-message t)

;;;インデント
(global-set-key "\C-m" 'newline-and-indent)
(global-set-key "\C-j" 'newline)

;;;タブに関するコマンド(他の物と互換を持たせるために)
(setq indent-tabs-mode t)

;;;行番号を表示させる。M-x setnu-mode
(autoload 'setnu-mode "setnu" nil t)
;;;めんどくさいのでF12キーで切り替え可能にする
(global-set-key [f12] 'setnu-mode)