all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Syntax Highlighting in Ruby only handles comments and quotes
@ 2010-08-20 20:10 eric_powell
  2010-08-21  7:08 ` Oleksandr Gavenko
  0 siblings, 1 reply; 3+ messages in thread
From: eric_powell @ 2010-08-20 20:10 UTC (permalink / raw)
  To: Help-gnu-emacs


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.




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-08-21  7:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.9.1282335012.14034.help-gnu-emacs@gnu.org>
2010-08-20 21:38 ` Syntax Highlighting in Ruby only handles comments and quotes Stefan Monnier
2010-08-20 20:10 eric_powell
2010-08-21  7:08 ` Oleksandr Gavenko

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.