hatena-mode for Emacs
はてなダイアリーライターというのがあるし tDiary にも tdiary-mode があるくらいだしきっとはてなにも はてな-mode みたいなのを作ったひとが居るに違いないと探してみたらやはり居られた。
[id:hikigaeru:20040617]
hatena-mode
取得。
rin@kahori[~/usr/local/hatena-mode]% wget http://osdn.dl.sourceforge.jp/hatena-mode/13729/hatena-mode.tar.gz
カレントディレクトリにファイルを展開してくれる。GNU 規約のようにしてくれ....。
なのであらかじめディレクトリを作成しておく。
rin@kahori[~/usr/local/hatena-mode]% tar xzf hatena-mode.tar.gz rin@kahori[~/usr/local/hatena-mode]%cd .. rin@kahori[~/usr/local]% sudo mv hatena-mode /usr/local/share/emacs/site-lisp/
.emacs の設定
(setq load-path (cons (expand-file-name "/usr/local/share/emacs/site-lisp-hatena-m\ ode") load-path)) (load "hatena-mode") (setq hatena-usrid "rin51") (setq hatena-plugin-directory "/usr/local/share/emacs/site-lisp-hatena-mode")
書いてみる
\C-c\C-p してみたけど書けてない。
当日の日記がすでにあるとダメなのかしらん。