Syntax highlighting in xemacs

For whatever reason, I’m reduced to remotely debugging some code with the random version of xemacs that happens to be installed on the remote Mac system. (I’d rather use my favourite editor, the wonderful gedit, but that’s not really practical in this particular instance.)

Anyway, it turns out that I can’t live happily without syntax highlighting, which isn’t turned on by default. To turn it on, all you need to do is type M-x font-lock-mode (I have no idea why it’s called font-lock rather than “syntax highlighting”).


About Phil Bull

I'm a theoretical cosmologist, currently working as a NASA NPP fellow at JPL/Caltech in Pasadena, CA. My research focuses on the effects of inhomogeneities on the evolution of the Universe and how we measure it. I'm also keen on stochastic processes, scientific computing, the philosophy of science, and open source stuff. View all posts by Phil Bull

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: