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: Lars Ingebrigtsen <larsi <at> gnus.org>
To: haj <at> posteo.de (Harald Jörg)
Cc: 47345 <at> debbugs.gnu.org
Subject: bug#47345: perl-mode: Fix some regexps for fontification [PATCH]
Date: Wed, 24 Mar 2021 17:06:44 +0100
haj <at> posteo.de (Harald Jörg) writes:

> 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.

Thanks; looks good to me.  Pushed now to Emacs 28.

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




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.