html-helper-mode と css-mode の導入

Emacs で HTML を編集するのに便利マクロ html-helper-mode と,CSS を編集するのに便利な css-mode を導入しました.
どちらのモードも,M-tab で補完がきくみたいです.
ちなみに僕の .el の置き場所は,"C:\Meadow\site-lisp"です.

html-helper-mode

html-helper-mode.eltempo.el をダウンロードし,.emacs に以下を追加します.

;; html-helper-mode の設定
(autoload 'html-helper-mode "html-helper-mode" "Yay HTML" t)
(setq auto-mode-alist 
      (append '(("\\.html$" . html-helper-mode)
		("\\.shtml$" . html-helper-mode)
		("\\.html$" . html-helper-mode)
		("\\.shtml$" . html-helper-mode)
		) auto-mode-alist))

このままだと色付けがされないので,色を付けたい場合は html-font.el をダウンロードして,以下のように .emacs を書き換えます.

;; html-helper-mode の設定
(add-hook 'html-helper-load-hook '(lambda () (require 'html-font)))
(autoload 'html-helper-mode "html-helper-mode" "Yay HTML" t)
(setq auto-mode-alist 
      (append '(("\\.html$" . html-helper-mode)
		("\\.shtml$" . html-helper-mode)
		("\\.html$" . html-helper-mode)
		("\\.shtml$" . html-helper-mode)
		) auto-mode-alist))

css-mode

css-mode.el をダウンロードし,.emacs に以下を追加します.

;; css-mode の設定
(autoload 'css-mode "css-mode")
(setq auto-mode-alist (cons '("\\.css$" . css-mode) auto-mode-alist))