-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi there, I”Ēm using Emacs for editing since a few months now and enjoy it mostly. However, there”Ēs one thing that continues to annoy me: The default ruby-mode lacks some syntax highlighting and isn”Ēt able to cope with extended symbol literals (or however these are called, see below). To demonstrate the problem, the following code doesn”Ēt get the highlighting I expect: ==================================================================== regex = %r<I am a Regular Expression> # Should be highlighted as # regular expression, breaks # indentation symbol = %s|This is a symbol| # Should be highlighted as a # symbol as well str = %q{This is a string} # Should be highlighted as a # string str = %{This is a string} # Should be highlighted as a # string ary = %w[item1 item2 item3] # Could be highlighted as a # string symbol = :"this is a symbol" # Should be highlighted as a # symbol (not string), sometimes # breaks indentation ==================================================================== You see, I”Ēm mainly talking about the percent % literals. Is there anything one can do about this besides digging deep into the code for ruby-mode? Valete, Marvin PS: Please, don”Ēt issue "vim is better" statements. This is just an Emacs-related question and that”Ēs it. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJOzqvhAAoJELh1XLHFkqhaPUMH/2ofX22i0V9kNwjQMf07DBnF bie4q1Y9wKv6nrXiB/4OUuU7lxKp+CqpIM8pJAn0gpEs/3o6N0Lp9YWAd8tUcs6n 3Kv5PTkThkfIXFXoElSyQVjtJ9NFlBEnT2PzyavNV0x1pPY7ZYQFll41jmhJidxa HVIkvqxI9+1/f+rzcEZnggQKhdvvqKu0QN3mlkcOIzY7SCI64m+fht/q8YJuFVr+ SyCZjYXZvwED/oKyHtk2aQtw+85bF1FIuHzrdTr5NN6DVsZESJEU4PQYzNsUnzoJ XUbZGqkZAYZVHIyfnAzaCtRbcvm7sF5BWtUfWm9AyIw631wAXOzJjR8ABAyrRxw= =+TRd -----END PGP SIGNATURE-----