Forum: Ruby-core Emacs ruby-mode does not show comment #@var correctly

Posted by dgutov (Dmitry Gutov) (Guest)
on 2012-12-26 18:55
(Received via mailing list)
Issue #718 has been updated by dgutov (Dmitry Gutov).


Fixed in Emacs, to be released in 24.3.

----------------------------------------
Bug #718: Emacs ruby-mode does not show comment #@var correctly
https://bugs.ruby-lang.org/issues/718#change-35099

Author: gettalong (Thomas Leitner)
Status: Assigned
Priority: Low
Assignee: matz (Yukihiro Matsumoto)
Category:
Target version:
ruby -v: N/A


=begin
 Normal comments are shown correctly, ie. correctly colored. However, 
when commenting an instance variable without a
 leading space, the color of the comment is the same as the color of an 
uncommented instance variable.

 To reproduce, type the following in Emacs in a buffer with ruby-mode:

 # this does work
 # @var this does also work (shown in comment color)
 #@var this does not work (shown in instance variable color)
=end
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.