GNU bug report logs - #49906
perl-mode: variables that conflict with keywords aren't fontified properly

Previous Next

Package: emacs;

Reported by: Tomasz Konojacki <me <at> xenu.pl>

Date: Fri, 6 Aug 2021 06:24:02 UTC

Severity: normal

Tags: moreinfo, patch

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: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Tomasz Konojacki <me <at> xenu.pl>
Cc: 49906 <at> debbugs.gnu.org
Subject: bug#49906: perl-mode: variables that conflict with keywords aren't fontified properly
Date: Fri, 06 Aug 2021 13:00:30 +0200
Tomasz Konojacki <me <at> xenu.pl> writes:

>> For example, "$package" is fontified like a keyword.

In what context, and in which Emacs version?

$package = foo;

is fontified like a variable in Emacs 28.

>  (defconst perl-font-lock-keywords-2
> -  (append
> +  (cl-concatenate
> +   'list

Any particular reason to change from append to cl-concatenate here?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




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

Previous Next


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