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

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

bug#45083: perl mode: $x{last}, $x{'last'}, $x{first} should look the s


From: 積丹尼 Dan Jacobson
Subject: bug#45083: perl mode: $x{last}, $x{'last'}, $x{first} should look the same, and different from just last
Date: Sun, 06 Dec 2020 19:31:25 +0800

$ emacs file.pl
Shouldn't perl mode know that "last" is not special here,

        $strings{this} = $_->toString;
        $strings{skip} = $strings{this} eq $strings{last};
        $strings{last} = $strings{this};

and thus not color it differently?

> Well then quote it.

OK,

        $strings{"last"} = $strings{this};

But now it looks even more different.

Therefore perl mode should know that
$x{last}, $x{'last'} etc. should look the same, and different from just last.

emacs-version "27.1"





reply via email to

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