busydoingnothing.co.uk

Twitter.el

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 appearance by typing M-x customize-group RET twitter RET. Once you've done that you can view the statuses by pressing C-x t. In the status list buffer you can press C-c C-s to start editing your status or C-c C-r to reply to the post under the cursor. Once the message is finished press C-c C-c to publish.

The latest code is available in a git repo here:

git clone git://git.busydoingnothing.co.uk/twitter.git

image