all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#45083: perl mode: $x{last}, $x{'last'}, $x{first}  should look the same, and different from just last
@ 2020-12-06 11:31 積丹尼 Dan Jacobson
  0 siblings, 0 replies; only message in thread
From: 積丹尼 Dan Jacobson @ 2020-12-06 11:31 UTC (permalink / raw)
  To: 45083

$ 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"





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-12-06 11:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-06 11:31 bug#45083: perl mode: $x{last}, $x{'last'}, $x{first} should look the same, and different from just last 積丹尼 Dan Jacobson

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.