GNU bug report logs - #47345
perl-mode: Fix some regexps for fontification [PATCH]

Previous Next

Package: emacs;

Reported by: haj <at> posteo.de (Harald Jörg)

Date: Tue, 23 Mar 2021 14:58:02 UTC

Severity: minor

Tags: fixed, 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: haj <at> posteo.de (Harald Jörg)
To: 47345 <at> debbugs.gnu.org
Subject: bug#47345: perl-mode: Fix some regexps for fontification [PATCH]
Date: Tue, 23 Mar 2021 15:57:36 +0100
[Message part 1 (text/plain, inline)]
Severity: minor

Following a discussion with Stefan Monnier on the developer list:

 - In "use Package;" the package name is now captured for fontifying
   as intended

 - The declarators "my" etc. now use font-lock-keyword-face for better
   consistency with other programming modes

 - As a by-catch, now all components of package names like
   "Long::Package::Name" are fontified.  This was a known issue of
   little importance, not yet reported as a bug.

 - A test is included as well.
-- 
Cheers,
haj

[0001-perl-mode-Fix-regexps-for-fontification.patch (text/x-diff, attachment)]

This bug report was last modified 4 years and 54 days ago.

Previous Next


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