On 09.07.2013 18:36, Bozhidar Batsov wrote:Not really. The novelty of seeing a Ruby user in emacs-devel still hasn't worn off. :)
I've noticed two more font look issues (I guess I'm becoming annoying :-) ):
You might want to start filing new reports as bugs, though.
It will be the right thing to do, but handling the backslashes and key chords looks kind of complicated.
- ?c, ?x, ?\n, ?\C-\M-d, etc should be font-locked as strings I guess,
since from Ruby 1.9 the character literal syntax actually yields strings.
I guess we should, but it's kind of complicated. The point of using percent literals is that you can put any stuff, at all, inside, and the only suitable Emacs syntax classes for that are strings and comments.
- there should be support for the new %I/%i literals from Ruby 2.0 - I
guess we should font-lock them as symbols
We should be able to overwrite that highlighting in ruby-font-lock-keywords, but I don't see a good way to do that, yet. This facility works with regexp-based search, and we need to effectively say "highlight from here and till the end of the string literal".