Other GNU Emacs tips

First make sure, you have CVS installed.

# aptitude install cvs

Emacs's CVS home is at http://savannah.gnu.org/cvs/?group=emacs.

To get emacs23 from CVS, issue the following command:

$ cvs -z3 -d:pserver:anonymous@cvs.sv.gnu.org:/sources/emacs co emacs

This will download the CVS source for UTF-8 Unicode Emacs23 with Xft support. To compile it then with Xft support, issue the following commands:

$ ./configure —enable-font-backend —with-xft —with-freetype
$ make bootstrap
$ sudo make install

Note that selection of Xft fonts through the user interface is not yet working at the time of writing — presumably there’s a lot of X ilLogical Font Description code to be worked around. ;-) You can select Xft fonts on the command line, like this:

$ emacs —enable-font-backend —font "Bitstream Vera Sans Mono-10"

Setting X resources appears to work as well:

Emacs.font: Bitstream Vera Sans Mono-8

EmacsWiki reference


.