日記を書くのに
hns
というのがあるが、
これを書く時に便利な hnf-mode.el というものがある。
http://www.nijino.com/ari/programs/hnf-mode/
からもらって来る。
2005/02/11
現在、最新は
hnf-mode-2.5.tar.gz
.emacs の設定例
; hnf-mode p287
;; M-x hnf で hnf-mode になるように設定
(autoload 'hnf "hnf-mode" nil t)
(autoload 'hnf-mode "hnf-mode" nil t)
(add-to-list 'auto-mode-alist '("\\.hnf$" . hnf-mode))
;; 以下は型紙を挿入する設定
(auto-insert-mode);
(add-to-list 'auto-insert-alist
'("\\.hnf$" . "template.hnf"));
(setq auto-insert-directory "~/emacs/insert/");
(setq auto-insert-query nil) ;; 「これでいい ? 」と聞いて来ないようにする。
上の中で /insert/ の最後の / がないと、うまく行かない。
emacs/insert/template.hnf の内容例
OK
CAT
NEW
LNEW
SUB
LSUB