From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?Q?Cl=C3=A9ment?= Pit-Claudel Newsgroups: gmane.emacs.bugs Subject: bug#30812: Perl syntax highlighting regression in fix for #27613? (feecb66b6fe41c977b8e11b5f2d419c9544f42de) Date: Tue, 13 Mar 2018 19:14:56 -0400 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="2dUgDlXT1nLTFGnr6Zrfm5KNbAm10cc3w" X-Trace: blaine.gmane.org 1520984750 9390 195.159.176.226 (13 Mar 2018 23:45:50 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 13 Mar 2018 23:45:50 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 Cc: jeffersoncarpenter2@gmail.com To: 30812@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Mar 14 00:45:45 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1evtc1-0002Lp-Dz for geb-bug-gnu-emacs@m.gmane.org; Wed, 14 Mar 2018 00:45:45 +0100 Original-Received: from localhost ([::1]:43632 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1evte4-0007dG-8F for geb-bug-gnu-emacs@m.gmane.org; Tue, 13 Mar 2018 19:47:52 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36469) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1evt9J-0003uK-VC for bug-gnu-emacs@gnu.org; Tue, 13 Mar 2018 19:16:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1evt9G-00018A-PY for bug-gnu-emacs@gnu.org; Tue, 13 Mar 2018 19:16:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:52232) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1evt9G-00017w-LI for bug-gnu-emacs@gnu.org; Tue, 13 Mar 2018 19:16:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1evt9G-0004F5-DJ; Tue, 13 Mar 2018 19:16:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Cl=C3=A9ment?= Pit-Claudel Original-Sender: "Debbugs-submit" Resent-CC: jeffersoncarpenter2@gmail.com, bug-gnu-emacs@gnu.org Resent-Date: Tue, 13 Mar 2018 23:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 30812 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org X-Debbugs-Original-Xcc: jeffersoncarpenter2@gmail.com Original-Received: via spool by submit@debbugs.gnu.org id=B.152098291416230 (code B ref -1); Tue, 13 Mar 2018 23:16:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 13 Mar 2018 23:15:14 +0000 Original-Received: from localhost ([127.0.0.1]:60129 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1evt8T-0004Di-W8 for submit@debbugs.gnu.org; Tue, 13 Mar 2018 19:15:14 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:45297) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1evt8R-0004DQ-QY for submit@debbugs.gnu.org; Tue, 13 Mar 2018 19:15:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1evt8L-0000NQ-Or for submit@debbugs.gnu.org; Tue, 13 Mar 2018 19:15:06 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:48775) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1evt8L-0000NJ-LM for submit@debbugs.gnu.org; Tue, 13 Mar 2018 19:15:05 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36252) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1evt8K-0002ww-Eq for bug-gnu-emacs@gnu.org; Tue, 13 Mar 2018 19:15:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1evt8H-0000Km-Ap for bug-gnu-emacs@gnu.org; Tue, 13 Mar 2018 19:15:04 -0400 Original-Received: from mout.kundenserver.de ([212.227.126.133]:52369) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1evt8G-0000Jn-FM for bug-gnu-emacs@gnu.org; Tue, 13 Mar 2018 19:15:00 -0400 Original-Received: from [192.168.1.109] ([73.126.99.55]) by mrelayeu.kundenserver.de (mreue001 [212.227.15.168]) with ESMTPSA (Nemesis) id 0M78fW-1ekOQ81nXS-00x5CR for ; Wed, 14 Mar 2018 00:14:58 +0100 X-Provags-ID: V03:K0:T8vDuQ6cy4RAowwa/B98yGbDsXEc57ynmg5+E1TAjw8DPO93B+I pQjv7MhYtAvjtvdi2Y41OfVzp0tKSdtc5TaCZ/xfoBm9K7yn6zJO+X5DvBfLHnfwaD/LqXm G7mi6JS4cmSTmig8fnaSXLgTG/CuMg6XCqB07/BzYeWOcdcbZLJuMqSg8V1pmXJgKoGqHlf VAHgH0jMd2DvWdP2dnmAw== X-UI-Out-Filterresults: notjunk:1;V01:K0:CWe0JNnlz98=:1UT0a5umRMKUxnVyhMOHoS dBv7aNZwNXSZI32Yh154IhnfNCdePALqNqS+bKyzo2XvDnDtgi1rSBurXuJoGmDy9/X1waxuu Qh/kkXeuYhkdlVdYCc9vCvKw+vrN6/lZSAxAH3xOQoXtX/McyD4KrrrZDpWxwJrJagw5vSj+W A9GHTK6ghypJWyQytCbcC9IUj2fkeUlt18MZ1kToi2owd56GWUIMd/ueMMJgr0DFvptc42+6a nA+YR6dJ2CIYirExI+lTA/Df3tzkLM2GnZDRxkLT7l/5SzwB4Vr2Eaq97uYNG1ANgfarFj6Va 1Ra94QQG5mtDpx4wEIPMpP863KvEBl+0YywseZwNNI9kmwl1PW7zSiAlLLMGIWk/djfhswyVl 9EVaPp/Rqx6ZJtK5VoAwb3iHpfxU1nw9tF4Yq+YEnm/tot8o8bXSxY0X5rSYLWzEzd3xhSiuv DO3EvSkcVIL2kVTe103W3YD2+tshrNFOfgzHfb6FqLukZtmaE6ltorywkgUGMboKiqzIx7FSF PZSrZO9gv2WyoozFULzTxq9inJkNH1pE9OPL6Twk0UMEoZ9CPEeNCtsrR+uHEDauLg6iRRyJK zT+Gc4E7RlNols83mOLe53zk3XeMwd3rZNIxyk9uXU1gmkRiOZtns/SvNlITL3IzoEI+pPspV LzsH5+BALf7AlqlwyjYOHRlNOscQiOFGFAnmWL4vQMiWru6X+otvTNsuMLksu8xTFiJ1019dQ 3vD5QGBvFxnoX8D6VvTzRdqFHrsai84uJ7WlWA== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:144220 Archived-At: This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --2dUgDlXT1nLTFGnr6Zrfm5KNbAm10cc3w Content-Type: multipart/mixed; boundary="jrJr0Ugg7denLsJ6FydG4xoUMBTbEhk7G"; protected-headers="v1" From: =?UTF-8?Q?Cl=c3=a9ment_Pit-Claudel?= To: bug-gnu-emacs@gnu.org Message-ID: Subject: Perl syntax highlighting regression in fix for #27613? (feecb66b6fe41c977b8e11b5f2d419c9544f42de) --jrJr0Ugg7denLsJ6FydG4xoUMBTbEhk7G Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: quoted-printable X-Debbugs-CC: jeffersoncarpenter2@gmail.com Hi all, I think the following commit was a bit too enthusiastic, as variables lik= e @temp are now highlighted in font-lock-type-face. diff --git a/lisp/progmodes/perl-mode.el b/lisp/progmodes/perl-mode.el --- a/lisp/progmodes/perl-mode.el +++ b/lisp/progmodes/perl-mode.el @@ -181,4 +181,5 @@ ;; - ;; Fontify local and my keywords as types. - ("\\<\\(local\\|my\\)\\>" . font-lock-type-face) + ;; Fontify declarators and prefixes as types. + ("\\<\\(anon\\|argument\\|has\\|local\\|my\\|our\\|state\\|supersed= e\\)\\>" . font-lock-type-face) ; declarators + ("\\<\\(let\\|temp\\)\\>" . font-lock-type-face) ; prefixes ;; Am I missing something? (I don't speak Perl, so I noticed this in a regre= ssion test) Cl=C3=A9ment. --jrJr0Ugg7denLsJ6FydG4xoUMBTbEhk7G-- --2dUgDlXT1nLTFGnr6Zrfm5KNbAm10cc3w Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJaqFtwAAoJEPqg+cTm90wjjK8P/3TBJ7B/qJ9UnxlUafSHf78K 5BZfs/JCfAkHJ/ihvvJXRgd+vk0iFU1+EgYsKdwezByvOXNcx3hj5G8cwoINtzmX eKiGKkMGcGCnb6dJ2fjfjzwGFmXXjGCeEK56nyZGCHKCHDvNHU1R0CHungjggNs6 fYheWco1a5ydS9txMdZ6rfsNkRd8Xz8DJpaKdTC0V669lV+3Enus/22BoBrWbs5g rRhWewK5xsIBUjbQCi3gpBUcNE/bcMAThQjbWhuUSJ0r3X78SdEiSBJ5DKVB5Dfd PCRGuMVDIB/aXAQkwN8lzlxXAWqC1fHS/RVuFYAynUmXT0GnBw7nkfNDRu9CvJli s/VE+FsyNfhl7YF8CBsrEN+f7/BLoRyqnnXbWjuM2RHZ9tcTznC2hoRq+1Xj6dWQ CXgIjJYWqUjTF6BqOomuXEQLgCL+661K/T5zbHmxw/M7D8OIB2uqqWdDdC2Y59gb 3R2uRBz3b9l4JPAAQXG/5gF+elH9Kv2j7P6c0rO1XKSVtbR8b4WcGY9F1UzadpU/ 6AspZZzjq3CxYaYgQvR6euLhLuy6tlrytHux0F/Xwkxs7nWBOoZ2THXZ0agvNngf reFvb1X8/L6z2jhvevF7hZ7cUiEwNGWN7l3wJQAvRdYLJXBfkRgiHZLtAAdKpWX/ sGxzYRdZ6TTr6TlMXvLf =1C2t -----END PGP SIGNATURE----- --2dUgDlXT1nLTFGnr6Zrfm5KNbAm10cc3w--