GNU bug report logs - #62516
perl-mode: weird colors when comment and regexp are like this

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: wishlist; Reported by: Dan Jacobson <jidanni@HIDDEN>; dated Wed, 29 Mar 2023 10:58:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Severity set to 'wishlist' from 'normal' Request was from Stefan Kangas <stefankangas@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 29 Mar 2023 10:58:01 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Mar 29 06:58:01 2023
Received: from localhost ([127.0.0.1]:51379 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1phTVA-00080G-Ks
	for submit <at> debbugs.gnu.org; Wed, 29 Mar 2023 06:58:00 -0400
Received: from lists.gnu.org ([209.51.188.17]:54460)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jidanni@HIDDEN>) id 1phTV6-000806-U8
 for submit <at> debbugs.gnu.org; Wed, 29 Mar 2023 06:57:58 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <jidanni@HIDDEN>)
 id 1phTV6-0008U6-Lx
 for bug-gnu-emacs@HIDDEN; Wed, 29 Mar 2023 06:57:56 -0400
Received: from fossa.birch.relay.mailchannels.net ([23.83.209.62])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <jidanni@HIDDEN>)
 id 1phTV4-0007hk-Oq
 for bug-gnu-emacs@HIDDEN; Wed, 29 Mar 2023 06:57:56 -0400
X-Sender-Id: dreamhost|x-authsender|jidanni@HIDDEN
Received: from relay.mailchannels.net (localhost [127.0.0.1])
 by relay.mailchannels.net (Postfix) with ESMTP id F3E855410F6
 for <bug-gnu-emacs@HIDDEN>; Wed, 29 Mar 2023 10:57:50 +0000 (UTC)
Received: from pdx1-sub0-mail-a284.dreamhost.com (unknown [127.0.0.6])
 (Authenticated sender: dreamhost)
 by relay.mailchannels.net (Postfix) with ESMTPA id BD13E5409F9
 for <bug-gnu-emacs@HIDDEN>; Wed, 29 Mar 2023 10:57:50 +0000 (UTC)
ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1680087470; a=rsa-sha256;
 cv=none;
 b=UlDL5TuObcCHj1wANzTbh7rWsY2WTwqq+BQlxEsE2RncJIE/pj/SY9E83JkRACx5waEH5W
 wFC/Tszq0rQBCyE9Lsw+hoKNW0yn88RPrPXwgZwhJY4pkhpZtRSEYBcCFxGD0NLHj6iq0S
 Mx0bUMdmAzRtb7GcONAidX83GhqZkl5ASSAVw1+TqpEnUHAqUy6+yKHKzneK59OPM/lpdp
 q/xSCuG9xvFC+iBxEglRAWH+984hkMBCIBz5s5CP2x3JSs8r3Y9iNqZlPoPpu8lTvvwutH
 27zY9575SfepWEsQSPtEQ4ocWB7WCnUjyIkf82gm+1bPWd3jyBpw9yKwPjjmYQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed;
 d=mailchannels.net; s=arc-2022; t=1680087470;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:mime-version:mime-version:content-type:content-type:
 dkim-signature; bh=QJJTYH3KIHtlq1Zn3eNKDLlwbtFcGR3nBFgf1tWAiMM=;
 b=oK538T1IaGznKK7PY8x9ntPXc/GIT3s1citxQnzQE6BHA4GyzCl/LnL0khnLPDF5qV2I4s
 pEsxKwRVobR/3xh6tnMtCNPhXKap8LoFTQFa+xsFW9nBKrsM0oS33WJuxIkikz+s05+1YE
 H5+TBN8FuVMRMeNfVJzl7+vD5Ot/OuFsC1FwGxnYAfYsPMlEerwL5C6kR/mUMdykK2KX6W
 pzZHQ1haYmNtHugWxcjS9kjIBZnnNcp10ualHLrXWaoKurQc0uVsE8Mo/UyDgR0IcO26su
 4whytEOg/RDtCEHuyw5xQv4h/tfSDG7sRQ/Xlziy7UhYwexCbf5vedarT/fjYQ==
ARC-Authentication-Results: i=1; rspamd-66b58c76b9-b9wjp;
 auth=pass smtp.auth=dreamhost smtp.mailfrom=jidanni@HIDDEN
X-Sender-Id: dreamhost|x-authsender|jidanni@HIDDEN
X-MC-Relay: Neutral
X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@HIDDEN
X-MailChannels-Auth-Id: dreamhost
X-Arch-Snatch: 514870d73baaee8a_1680087470813_3740879977
X-MC-Loop-Signature: 1680087470813:2361479540
X-MC-Ingress-Time: 1680087470813
Received: from pdx1-sub0-mail-a284.dreamhost.com (pop.dreamhost.com
 [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384)
 by 100.115.245.212 (trex/6.7.2); Wed, 29 Mar 2023 10:57:50 +0000
Received: from jidanni.org (1-165-215-38.dynamic-ip.hinet.net [1.165.215.38])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest
 SHA256) (No client certificate requested)
 (Authenticated sender: jidanni@HIDDEN)
 by pdx1-sub0-mail-a284.dreamhost.com (Postfix) with ESMTPSA id 4Pmk6Q4P65zFS
 for <bug-gnu-emacs@HIDDEN>; Wed, 29 Mar 2023 03:57:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jidanni.org;
 s=dreamhost; t=1680087470;
 bh=QJJTYH3KIHtlq1Zn3eNKDLlwbtFcGR3nBFgf1tWAiMM=;
 h=From:To:Subject:Date:Content-Type;
 b=K4/QI6vO6/7j8ZIlRv/fke7htH1DITEiiJeRgL+vZVk5ptoz4CaZrl5mEkce2BNbp
 nrTZ6hRsck3y+VjVdEqwuw1CA0ot97/MWd0y2bKDucpu4Btrv2a72z+BcuSx9J25dn
 JNOyesNKRjorGJ/3VkdaN/skCMt2UCUmcbPiDGNK3/nyijAHEbPZ/Hzpi3MrtGb7/c
 C3PyIdYaAOcQ5JFvS4EkeCYKAUj71BsQQnMaG9joPG47AXLxY3so7SlvMzu2aECowT
 D7capVKLj3qWYbeTCmn+x7HNvLwBZs6eEn2UzUokr8PYIBv/PcVVVtip5GCzmozGZr
 WcHYydl66IpqQ==
From: Dan Jacobson <jidanni@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: perl-mode: weird colors when comment and regexp are like this
Date: Wed, 29 Mar 2023 18:52:15 +0800
Message-ID: <87edp7n82o.5.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=23.83.209.62; envelope-from=jidanni@HIDDEN;
 helo=fossa.birch.relay.mailchannels.net
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)

$ cat p.pl
if (1) {    #bla
    /^\s+/;
    if (1) {
    }
}
emacs -Q p.pl
Colors are weird after the regexp. Need m// to workaround.
emacs-version "28.2"




Acknowledgement sent to Dan Jacobson <jidanni@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#62516; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 4 Sep 2023 08:45:01 UTC

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