--- /dev/null
+#!/bin/bash
+
+# one off for ted to get a newer emacs
+
+git clone git://git.savannah.gnu.org/emacs.git
+
+sudo apt-get -y build-dep emacs
+
+# missing dependencies
+sudo apt-get install autoconf-archive maildir-utils libacl1-dev libselinux-dev libm17n-dev libgtk-3-dev librsvg2-dev libgpm-dev libgconf2-dev libotf-dev libxml2-dev automake1.11 libgnutls28-dev libncurses-dev libxpm-dev libjpeg-dev libgif-dev libtiff-dev texinfo dvipng
+
+./autogen.sh all
+export CFLAGS='-g3 -Og'
+./configure --prefix=/home/tedt/local --with-mailutils
+make