最近流行ってるらしい Emacs のパッケージ管理システムだよ。 いろんなところからパッケージを取り込めるからとにかく楽だよ!
むかしからアレなひとたちに大人気な無料 Web 日記のはてなダイアリーを Emacs から利用できるイカしたスクリプトだよ
M-x el-get-update hatena-diary-mode
とかで最新版にうpだてできたりするかもしれないよ。できないかもしれない…!
el-getの導入は https://github.com/dimitri/el-get を読んでね。
新規で入れるなら Stable Branch
じゃなくて Master Branch
にするのが良いよ!
シェルから $HOME/.emacs.d/recipes
みたいなディレクトリを作ってね。
そこに hatena-diary-mode.rcp
をぽいっと配置します。
そして次のコードを .emacs
に追加します。
(add-to-list 'el-get-recipe-path "~/.emacs.d/recioes")
できたら C-x C-e
で評価するか、 Emacs を再起動します。前者の方がお手軽ですよ。
ここまでで準備が整ってれば M-x el-get-install hatena-diary-mode
でインストールできるようになってます。でも個人的には .emacs
($HOME/.emacs.d/init.el
) で (el-get 'sync 'hatena-diary-mode)
とか書いておくのが好きですね…!
はい、この後は http://hatena-diary-el.sourceforge.jp/#sec-4 を読んで .emacs.d
に個人設定をしてね…!
そしたら M-x hatena
でいつでもふつーに起動可能な状態になってます。素敵ですね。
僕の著作物じゃないので hatena-diary-mode と同じが良いよね。 (といふか description
を引用ではなく二次利用してるから、それ以外のライセンスにできないよね)
hatena-diary-mode.el --- major mode for Hatena::Diary (http://d.hatena.ne.jp)
This program supports the update of your Hatena-Diary.
This program is Elisp program that operates by Emacs.
Copyright (C) 2010 hirosandesuThis program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
これはすごい