I installed
emacs-goodies-el
using apt-get
and put the following in my $HOME/.emacs.el
file:
I am reproducing this here in the hope that someone else will find it useful. I am running
Emacs 22.2.1 (i486-pc-linux-gnu, GTK+ Version 2.16.1) of 2010-03-26 on palmer, modified by Ubuntu
on Ubuntu Jaunty.