GNU bug report logs -
#43916
$$, $@, $bla colors in Perl mode vs. Shell-script mode
Previous Next
Full log
View this message in rfc822 format
>>>>> "LI" == Lars Ingebrigtsen <larsi <at> gnus.org> writes:
LI> 積丹尼 Dan Jacobson <jidanni <at> jidanni.org> writes:
>> Looking at
>> print $$, $@, $bla
>> in Shell-script mode and Perl mode:
>> At least all three leading $ should look the same in the same file.
LI> Is this about Perl mode or shell-script-mode?
One must be wrong. They can't both be correct. I just don't know which.
Or maybe both aren't correct. Anyway their syntax can't be that
different.
LI> In Perl mode, all the four $'s look the same to me.
>> And they should all either be the same color, or different colors, from what
>> follows them.
LI> The "bla" has a different colour, but I'm not sure why you think the "$"
LI> should have the same colour as the "bla".
Anyway, no matter how you look at it, there is at least something wrong
with at least one of items in at least one of the modes!
If you say one item looks great, then you have to explain how another
item can use a different coloring rule.
This bug report was last modified 4 years and 236 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.