bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#17057: 24.3.50; [ruby-mode] Font-locking of special global variables


From: Dmitry Gutov
Subject: bug#17057: 24.3.50; [ruby-mode] Font-locking of special global variables like $$ is broken(missing)
Date: Mon, 24 Mar 2014 11:12:34 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0

Version: 24.4

On 21.03.2014 16:53, Bozhidar Batsov wrote:

Technically speaking all of those are keywords, not variables. Somewhat
odd __LINE__ and friends are
treated at string literals by the Ruby parser. As all of those evaluate
to some value unlike most other keywords I guess it makes some sense to
font-lock them as variables, but I’d prefer if we used font-locking that
makes their special status more apparent.

Sounds good to me. Does this list look exhaustive to you?

http://www.zenspider.com/Languages/Ruby/QuickRef.html#pre-defined-variables

Aside from changing faces, the problems mentioned in this bug should be fixed now, emacs-24 r116850.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]