What is Emacs?

Getting emacs on Ubuntu 12.04

Can be as simple as: apt-get install emacs

But to get the latest, add the following to your sources.list :

deb http://ppa.launchpad.net/cassou/emacs/ubuntu precise main

deb-src http://ppa.launchpad.net/cassou/emacs/ubuntu precise main