Blog article

This is the first of a set of posts talking about Emacs. In this case we are going to install Emacs from the CVS repositories on Unix based systems. Emacs has alternative mirrors repositories in Bazaar, Git, Mercurial and Arch. You can check out the procedure and other information on EmacsFromCVS

Why emacs from CVS?

Because the current CVS version provides new exciting features like:

  • XftGnuEmacsYour (With XFT support, Emacs will be able to use anti-aliased fonts in the X11)
  • MultiTTYSupport (Use the multiple tty if you need one process that displays on tty and X at the same time)
  • UnicodeEncoding (built-in Unicode support)

Installation procedure

If you’re going to compile it with the default options, you need the following list of libraries:

But you can go without some libraries, check ./configure --help, search for (--without-LIB options). On GNU/Linux systems, these libraries should be available as packages. Check for the mentioned libraries plus dev, in debian the packages are called somethings like libgif-dev, libtiff-dev, and so on.

$ cvs -z3 -d:pserver:anonymous@cvs.savannah.gnu.org:/sources/emacs co emacs
santiago@debian:~$ ./configure --prefix=/home/santiago/bin/emacs
santiago@debian:~$ make
santiago@debian:~$ make install

If you want to upgrade remember to do:

$ cvs update
santiago@debian:~$ make
santiago@debian:~$ make install

I’m going to post more Emacs related posts talking about how to set up an Emacs enhanced for Ruby on Rails development.