Subject: bug#43916: $$, $@, $bla colors in Perl mode vs. Shell-script mode

From: 積丹尼 Dan Jacobson <[email-masked]>
Date: Fri, 16 Oct 2020 07:50:28 +0800

>>>>> "LI" == Lars Ingebrigtsen <[email-masked]> writes:
LI> 積丹尼 Dan Jacobson <[email-masked]> 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.