Ruby syntax coloring in emacs

Hi. Could someone please explain how to get ruby syntax coloring in
emacs? I'm running Mac OS X and I'm sort of new to emacs in general (I
know how to use a few emacs key bindings, but I don't really know
anything about elisp files). Thanks!

···

--
Posted via http://www.ruby-forum.com/.

Probably http://www.rubygarden.org/ruby?InstallingEmacsExtensions , except
the site is loading slowly right now. Maybe check google for a cached copy.

/Nick

···

On 1/15/07, Colin Brander <colonbrander@mit.edu> wrote:

Hi. Could someone please explain how to get ruby syntax coloring in
emacs? I'm running Mac OS X and I'm sort of new to emacs in general (I
know how to use a few emacs key bindings, but I don't really know
anything about elisp files). Thanks!

Colin Brander wrote:

Hi. Could someone please explain how to get ruby syntax coloring in
emacs? I'm running Mac OS X and I'm sort of new to emacs in general (I
know how to use a few emacs key bindings, but I don't really know
anything about elisp files). Thanks!

I think Carbon Emacs and AquaMacs both bundle the ruby-mode. So you
should get syntax highlighting out of the box. You might need :
(global-font-lock-mode t)

in your .emacs (or set using M-x customize-variable RET
global-font-lock-mode ).

Regards,

Chris

···

--
Posted via http://www.ruby-forum.com/\.