在emacs里写blog

搜了好大一会儿才找到emacs的这个写博客的插件——weblogger,配置很简单。
不过下载要直接从CVS上取,用如下命令:

cd ~/.emacs.d/
cvs -z3 -d:pserver:anonymous@cvs.savannah.nongnu.org:/sources/emacsweblogs
co -d weblogger weblogger/lisp

然后编辑~/.emacs:

(add-to-list ‘load-path “~/.emacs.d/weblogger”)
(require ‘weblogger)

配置博客:

M-x weblogger-setup-weblog

写博客:

M-x weblogger-start-entry

发表博客:

M-x weblogger-save-entry

保存博客:

M-x weblogger-send-entry
更多的其它命令可以查看weblogger的帮助。

这是第一篇在emacs里写的文章,作个实验。;-)

Update:这里有一个更新版本,用wordpress的同学最好使用这个。