新しいバージョンを書きました。 EmacsからはてなブログAPIで投稿する - ichiroc subset ↓は前のバージョンです。 目標 Emacs から記事を書く環境を整える。 準備 ~/.emacs.d/init.el に下記を定義 (setq my-blog-file-path "~/Dropbox/blog.md") ;; 一時書きに使うファイル (setq my-blog-mail-address "your-secret-address@blog.hatena.ne.jp") ;; 投稿用アドレス see http://help.hatenablog.com/entry/mailpost (setq my-blog-backup-dir "~/Dropbox/blog-entries/") ;; 投稿済みの記事を保管するディレクトリ (defun my-blog-write