$ sudo su
# echo "deb http://mirror:3142/emacs.naquadah.org/ stable/" >> /etc/apt/sources.list
# exit
$ sudo apt-get update
$ sudo apt-get -y --force-yes install emacs-snapshot
$ git clone https://github.com/Covetel/emacs.git
$ mv ~/.emacs ~/.emacs.backup
$ mv ~/.emacs.d ~/.emacs.d.backup
$ cd emacs
$ make emacs