Thursday, February 26, 2004

Emacs on OS/X

I like emacs. Some people like 6, but I prefer emacs. However, the build of emacs 21.3.50 from the GNU CVS repository doesn't use a reasonable monospaced mac OS/X fonts by default on 10.3/Panther, even though it's supposed to. The font used on the initial window just sucks, since it's interpolated. Full of jaggies.

How to fix?

Add this to your .emacs file:
(set-frame-font "-apple-monaco-medium-r-normal--10-100-75-75-m-100-mac-roman")

You can see all the fonts in the system that emacs thinks are there by typing:
M-x set-frame-font ?

And you'll probably find something you like.

Monospaced fonts are best for code, but optima is really nice too.

0 Comments:

Post a Comment

Links to this post:

Create a Link

<< Home