GNU bug report logs - #48761
perl-mode: "$temp" colored differently.

Previous Next

Package: emacs;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Mon, 31 May 2021 14:09:01 UTC

Severity: normal

Tags: fixed

Merged with 46024

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: 48761 <at> debbugs.gnu.org
Subject: bug#48761: perl-mode: "$temp" colored differently.
Date: Mon, 31 May 2021 21:08:02 +0800
In perl-mode: $temp, @temp are colored differently. E.g., in
my (@AA, @temp, @barf, $temp, $x);

Caused by:
     ;; Fontify declarators and prefixes as types.
     ("\\<\\(anon\\|argument\\|has\\|local\\|my\\|our\\|state\\|supersede\\)\\>" . font-lock-type-face) ; declarators
     ("\\<\\(let\\|temp\\)\\>" . font-lock-type-face) ; prefixes




This bug report was last modified 3 years and 355 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.