This is what I have in ~/.emacs
:
;;movable type
(require 'mt)
(global-set-key "\C-cwc" 'weblog-create-post)
(global-set-key "\C-cwr" 'weblog-retrieve-recent-posts)
(global-set-key "\C-cwg" 'weblog-retrieve-post)
(setq weblog-id "28")
(setq weblog-url "http://log.antiflux.org/mt-xmlrpc.cgi")
(setq weblog-username "grant")
(setq weblog-wrap-paras nil)
(load-file "~/.emacs-mt")
Obviously, you need to change weblog-username
to warcode
. Your weblog-id
is 6
.
The file ~/.emacs-mt
should contain (setq weblog-password "this is not my password")
. I put it in a separate file so I could chmod o-r ~/.emacs-mt
and hide my password but not the rest of my Emacs config.
If you haven’t set any text formatting for your MT entries, leave out the weblog-wrap-paras
line.
Check /usr/local/share/emacs/site-lisp/mt.el
for documentation.
No way. How?
warcode 2 February 2005