[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Syntax highlighting with OS X

From: Greg Hill
Subject: Re: Syntax highlighting with OS X
Date: Mon, 15 Apr 2002 14:43:32 -0700

At 5:22 PM +0200 4/14/02, System Administrator wrote:

I´m having problems with syntax highlighting in emacs under OS X. I use the "M-x font-lock-mode" and it seems to load with out problems. But nothing happens. What should I do?

As shipped with OS-X, emacs does not support that.  You will have to install X-Darwin on your Mac to give you support for X-windows, and then download a new version of Emacs that is configured for X.

is a good place to get lots of stuff, like XFree86 for X-windows support, and the Bash shell.

Other sites of interest:
        Click on XFree86 Installation Guide
        Search for emacs

In general, if you want to use OS-X as if it were a real Unix system, you will find that it is "not ready for prime time" as shipped.  You are going to have to download and install all sorts of freeware to add on the functionality that you are used to taking for granted.

I like to use the ALT key in Emacs as the keystroke modifier for binding a lot of my home-brewed commands.  After installing X-Darwin, put the following line in a file named .Xmodmap in your home directory to enable the Alt (option) key on your keyboard to work as the ALT key for Emacs:

        keycode 66 = Alt_L
(If it exists in $HOME, .Xmodmap is automatically invoked from .xinitrc)

By the way you may find, as I have, that when running Emacs under X-Darwin on your Mac the Control and Alt keys are not always "noticed" when you press them.  When they are not, you will have to release them and press them again.  I don't know whether that is due to a fault in the OS-X kernel or in X-Darwin.  If you ever become aware of a fix for it, please let us all know.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]