ruby syntax coloring in emacs

Discussion in 'Ruby' started by Colin Brander, Jan 16, 2007.

  1. 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/.
    Colin Brander, Jan 16, 2007
    #1
    1. Advertising

  2. Colin Brander

    Chris Lowis Guest

    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/.
    Chris Lowis, Jan 16, 2007
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Xah Lee
    Replies:
    8
    Views:
    423
    vishnuvyas
    Oct 29, 2005
  2. da Vinci
    Replies:
    4
    Views:
    356
    Bryce
    Nov 11, 2003
  3. Larry Elmore

    Ruby syntax-coloring in XEmacs

    Larry Elmore, Jul 21, 2003, in forum: Ruby
    Replies:
    0
    Views:
    94
    Larry Elmore
    Jul 21, 2003
  4. Henry T. So Jr.

    VIM syntax coloring files for Ruby

    Henry T. So Jr., Aug 26, 2004, in forum: Ruby
    Replies:
    3
    Views:
    244
    Doug Kearns
    Aug 27, 2004
  5. Giles Bowkett
    Replies:
    4
    Views:
    104
    Giles Bowkett
    Nov 27, 2007
Loading...

Share This Page