Blog

Blog

Twitter.el

Posted at 22:08 on 19 May 2008

Everyone and their uncle is releasing a Twitter client these days so I thought I'd release the one I've been using too. It's just a simple Emacs lisp script but it lets you view your friends timeline and edit a new one so it's quite quick if you're already running Emacs (what else would you be doing?).

You can install it by downloading twitter.el and putting it somewhere in your Emacs load-path. Then put the following in your .emacs file:

(autoload 'twitter-get-friends-timeline "twitter" nil t)
(autoload 'twitter-status-edit "twitter" nil t)
(global-set-key "\C-xt" 'twitter-get-friends-timeline)
(add-hook 'twitter-status-edit-mode-hook 'longlines-mode)

You can tell it your username and password and change the appearence by typing M-x customize-group RET twitter RET. Once you've done that you can view the statuses by pressing C-x t and you can start editing a message with M-x twitter-status-edit RET. Once the message is finished press C-c C-c to publish.

image