From: Oleksandr Gavenko <gavenko@bifit.com.ua>
To: help-gnu-emacs@gnu.org
Subject: Re: Syntax Highlighting in Ruby only handles comments and quotes
Date: Sat, 21 Aug 2010 10:08:30 +0300 [thread overview]
Message-ID: <i4nu16$l0k$1@dough.gmane.org> (raw)
In-Reply-To: <29495319.post@talk.nabble.com>
On 20.08.2010 23:10, eric_powell wrote:
>
> 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.
>
> Also, I should mention that I'm using Xemacs on CygWin on Windows 7 64-bit,
> not sure if that makes any difference.
>
This list intended for GNU Emacs, also read
http://www.emacswiki.org/emacs/RubyMode
It’s included in Emacs 23 and is also available via ELPA. However, those
copies have no
guarantees of backwards-compatibility, so if you’re having trouble with
it on an older Emacs
version or XEmacs, you can use the copy that’s included with Ruby, which
attempts to be
highly compatible.
GNU Emacs 23.2.1 included in latest Cygwin 1.7.6
next prev parent reply other threads:[~2010-08-21 7:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-20 20:10 Syntax Highlighting in Ruby only handles comments and quotes eric_powell
2010-08-21 7:08 ` Oleksandr Gavenko [this message]
[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='i4nu16$l0k$1@dough.gmane.org' \
--to=gavenko@bifit.com.ua \
--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.