3 Apr 2005 fxn   » (Master)

Monaco in Native OS X GNU Emacs

My current preferred fixed-width font on the Mac is Monaco, but when I compiled Carbon GNU Emacs sometime ago Monaco wasn't rendered cleanly, Andale Mono was more or less OK, but not as nice as in a native editor either. In addition, I needed to create a fontset by hand to be able to enter accented characters.

I installed yesterday the last .dmg and this has dramatically improved. Monaco looks perfect now and there's no need to create the fontset, just configure the keyboard this way:

    ;; See C-h f set-language-environment RET for details.
    (set-language-environment "Latin-1")
 
    ;; This is a PowerBook.
    (set-keyboard-coding-system 'mac-roman)
 
    ;; Transform input from the keyboard into latin1.
    (setq mac-keyboard-text-encoding kTextEncodingISOLatin1)

This definitely makes Emacs a better Mac citizen.

Latest blog entries     Older blog entries

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!