nt emacs23.1

Windows 環境では今までずっと Meadow のお世話になってきていたのですが、最近素の ntemacs を使うことに変更しました http://ftp.gnu.org/pub/gnu/emacs/windows/*1

相変わらず日本語に関してはデフォルトではいまいちな emacs なので、多少設定する必要があります。

http://nijino.homelinux.net/emacs/emacs23-ja.html が大変参考になりました。

また、デフォルトのフォントを MS Gothic にしたかったのでこんな感じで。

  (cond
   (window-system
    ;; フォント設定
    (set-face-attribute 'default nil :family "MS Gothic" :height 100)
    (setq w32-enable-synthesized-fonts t)
    ;; 初期フレームの設定
    (setq initial-frame-alist
          (append (list '(foreground-color . "white")
                        '(background-color . "gray20")
                        '(border-color . "gray20")
                        '(mouse-color . "white")
                        '(cursor-color . "white")
                        '(font . "MS Gothic")
                        '(line-spacing . 1)
                        '(width . 80)
                        '(height . 45)
                        ;'(alpha 80 80)
                        '(top . 100)
                        '(left . 100)
                        )
                  initial-frame-alist))
    (setq default-frame-alist initial-frame-alist)
    (global-set-key [(meta kanji)] 'ignore)
    (global-set-key [(non-convert)] 'ignore)
    ))

*1:MeadowIME Patch 付きの ntemacs はメンテされているのかどうかよくわからないので