all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: eric_powell <epowell1@med.miami.edu>
To: Help-gnu-emacs@gnu.org
Subject: Syntax Highlighting in Ruby only handles comments and quotes
Date: Fri, 20 Aug 2010 13:10:07 -0700 (PDT)	[thread overview]
Message-ID: <29495319.post@talk.nabble.com> (raw)


I'm pretty new to emacs and really enjoy the syntax highlighting in CC mode
(C++) and cperl-mode, but when I'm coding in Ruby the only things that get
colored are quotes and comments.  Is this all that it's supposed to do?  No
function highlighting (e.g. 'def') or flow control (e.g. if, for, while)?

I have ruby-mode.el in my emacs dir and I'm pretty sure it's working because
I can do M-x ruby-mode.  I've also done M-x font-lock-mode, but that just
gets the comments and quotations.

Please note that I used cperl and ccmode on a different emacs install, so
maybe there's something else that I'm doing wrong on this install.   

Also, I should mention that I'm using Xemacs on CygWin on Windows 7 64-bit,
not sure if that makes any difference.

Let me know if there is any other information I can provide to help debug if
in fact this is not the proper functioning.

Thanks in advance!  This community is one of the reasons i love emacs :)
-eric
-- 
View this message in context: http://old.nabble.com/Syntax-Highlighting-in-Ruby-only-handles-comments-and-quotes-tp29495319p29495319.html
Sent from the Emacs - Help mailing list archive at Nabble.com.




             reply	other threads:[~2010-08-20 20:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-20 20:10 eric_powell [this message]
2010-08-21  7:08 ` Syntax Highlighting in Ruby only handles comments and quotes Oleksandr Gavenko
     [not found] <mailman.9.1282335012.14034.help-gnu-emacs@gnu.org>
2010-08-20 21:38 ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=29495319.post@talk.nabble.com \
    --to=epowell1@med.miami.edu \
    --cc=Help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.