GNU bug report logs - #17980
perl-mode here document colors

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: minor; Reported by: 積丹尼 Dan Jacobson <jidanni@HIDDEN>; Keywords: confirmed; merged with #38658; dated Wed, 9 Jul 2014 23:36:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Forcibly Merged 17980 38658. Request was from Lars Ingebrigtsen <larsi@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

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


Received: (at 17980) by debbugs.gnu.org; 20 Jul 2014 11:12:18 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jul 20 07:12:18 2014
Received: from localhost ([127.0.0.1]:60023 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1X8p2P-0007Ep-Od
	for submit <at> debbugs.gnu.org; Sun, 20 Jul 2014 07:12:18 -0400
Received: from homie.mail.dreamhost.com ([208.97.132.208]:52812
 helo=homiemail-a9.g.dreamhost.com)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <jidanni@HIDDEN>) id 1X8p2M-0007Eg-LM
 for 17980 <at> debbugs.gnu.org; Sun, 20 Jul 2014 07:12:15 -0400
Received: from homiemail-a9.g.dreamhost.com (localhost [127.0.0.1])
 by homiemail-a9.g.dreamhost.com (Postfix) with ESMTP id 928B5626079;
 Sun, 20 Jul 2014 04:12:13 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to:cc
 :subject:references:date:message-id:mime-version:content-type;
 s=jidanni.org; bh=i5bIpFeohjM2l0WkUFtFvrTKRS0=; b=pc81RkOaQx53f
 xjsjCv8WDcjWjVHJjcaJIbmwmFtTGPse3vyFZqPq3Vl53m6KdhbNnw7PjS43Hk2P
 TxvQwVFdTpb8oNK4XmNo/RodM8CvF58NrJSMjpK/Z4yXhEIebRGfb9zye7Nevgmt
 NLEXFJd+UYnjDhWVFpdAkpjzwKYwGM=
Received: from jidanni.org (1-170-80-142.dynamic.hinet.net [1.170.80.142])
 (using TLSv1 with cipher AES128-SHA (128/128 bits))
 (No client certificate requested)
 (Authenticated sender: jidanni@HIDDEN)
 by homiemail-a9.g.dreamhost.com (Postfix) with ESMTPSA id 402E5626077;
 Sun, 20 Jul 2014 04:12:13 -0700 (PDT)
From: =?utf-8?B?56mN5Li55bC8?= Dan Jacobson <jidanni@HIDDEN>
To: Stefan Monnier <monnier@HIDDEN>
Subject: Re: bug#17980: perl-mode here document colors
References: <877g3mayx6.fsf@HIDDEN>
Date: Sun, 20 Jul 2014 19:12:09 +0800
Message-ID: <874myc1dyu.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 17980
Cc: 17980 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://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: 0.0 (/)

All I know is for me doing
# set file.pl
# su - nobody -c 'HOME=/tmp emacs '$@ & #for virgin environment
print "jjjjjj"; BLACK, PURPLE
print <<\EOF;   BLACK
</body>         BLACK, SHOULD BE PURPLE
</html>         BLACK, SHOULD BE PURPLE
EOF             BLACK

Now instead checking shell-script-mode, things look good except the
final EOF should be the same color as the initial EOF, not instead the
color of the body!

I am using Debian emacs24:
  Installed: 24.3+1-4+b1 these days.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#17980; Package emacs. Full text available.

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


Received: (at 17980) by debbugs.gnu.org; 18 Jul 2014 23:36:02 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jul 18 19:36:02 2014
Received: from localhost ([127.0.0.1]:58722 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1X8Hh3-00047n-UC
	for submit <at> debbugs.gnu.org; Fri, 18 Jul 2014 19:36:02 -0400
Received: from ironport2-out.teksavvy.com ([206.248.154.181]:51936)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <monnier@HIDDEN>) id 1X8Hh1-00047E-9l
 for 17980 <at> debbugs.gnu.org; Fri, 18 Jul 2014 19:36:00 -0400
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: ArUGAIDvNVNLd+D9/2dsb2JhbABZgwaDSsA9gRcXdIIlAQEBAQIBViMFCws0EhQYDSSIBAjSGReOegeEOASpGYFqg0wh
X-IPAS-Result: ArUGAIDvNVNLd+D9/2dsb2JhbABZgwaDSsA9gRcXdIIlAQEBAQIBViMFCws0EhQYDSSIBAjSGReOegeEOASpGYFqg0wh
X-IronPort-AV: E=Sophos;i="4.97,753,1389762000"; d="scan'208";a="77915932"
Received: from 75-119-224-253.dsl.teksavvy.com (HELO ceviche.home)
 ([75.119.224.253])
 by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA;
 18 Jul 2014 19:35:53 -0400
Received: by ceviche.home (Postfix, from userid 20848)
 id 7264466162; Fri, 18 Jul 2014 19:35:53 -0400 (EDT)
From: Stefan Monnier <monnier@HIDDEN>
To: =?utf-8?B?56mN5Li55bC8?= Dan Jacobson <jidanni@HIDDEN>
Subject: Re: bug#17980: perl-mode here document colors
Message-ID: <jwvr41i2qfz.fsf-monnier+emacsbugs@HIDDEN>
References: <877g3mayx6.fsf@HIDDEN>
Date: Fri, 18 Jul 2014 19:35:53 -0400
In-Reply-To: <877g3mayx6.fsf@HIDDEN> (=?utf-8?B?IuepjeS4ueWwvA==?= Dan
 Jacobson"'s message of "Thu, 10 Jul 2014 07:35:17 +0800")
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.3 (/)
X-Debbugs-Envelope-To: 17980
Cc: 17980 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://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: 0.3 (/)

> Shouldn't the body of
> print <<\EOF;
> </body>
> </html>
> EOF

> be colored differently in perl mode?

Not sure what you mean.  For me, the "</body></html>EOF" part is colored
with font-lock-comment-face.  Do you mean that it should use another
face by virtue of being a here document (like sh-heredoc)?  Or is your
not colored with font-lock-comment-face?  Or do you want HTML here-docs
to be colored differently?


        Stefan





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#17980; Package emacs. Full text available.

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


Received: (at submit) by debbugs.gnu.org; 9 Jul 2014 23:35:53 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jul 09 19:35:53 2014
Received: from localhost ([127.0.0.1]:48249 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1X51Oy-0007uT-BZ
	for submit <at> debbugs.gnu.org; Wed, 09 Jul 2014 19:35:52 -0400
Received: from eggs.gnu.org ([208.118.235.92]:46945)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <jidanni@HIDDEN>) id 1X51Ov-0007uB-FC
 for submit <at> debbugs.gnu.org; Wed, 09 Jul 2014 19:35:50 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <jidanni@HIDDEN>) id 1X51Oj-00018i-4Q
 for submit <at> debbugs.gnu.org; Wed, 09 Jul 2014 19:35:44 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID
 autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:48134)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <jidanni@HIDDEN>) id 1X51Oj-00018a-1L
 for submit <at> debbugs.gnu.org; Wed, 09 Jul 2014 19:35:37 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:48619)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <jidanni@HIDDEN>) id 1X51Oc-00074r-Mg
 for bug-gnu-emacs@HIDDEN; Wed, 09 Jul 2014 19:35:36 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <jidanni@HIDDEN>) id 1X51OW-00016T-KP
 for bug-gnu-emacs@HIDDEN; Wed, 09 Jul 2014 19:35:30 -0400
Received: from homie.mail.dreamhost.com ([208.97.132.208]:54384
 helo=homiemail-a60.g.dreamhost.com)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <jidanni@HIDDEN>) id 1X51OW-00016I-CL
 for bug-gnu-emacs@HIDDEN; Wed, 09 Jul 2014 19:35:24 -0400
Received: from homiemail-a60.g.dreamhost.com (localhost [127.0.0.1])
 by homiemail-a60.g.dreamhost.com (Postfix) with ESMTP id 0368F3BC06B
 for <bug-gnu-emacs@HIDDEN>; Wed,  9 Jul 2014 16:35:22 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to
 :subject:date:message-id:mime-version:content-type; s=
 jidanni.org; bh=XJswpg3hxpEAvgWSKQTqbujxvYE=; b=dC52T7eWjuDhMnsL
 KQVl1iO6BXtgFD4ZQ852GSavtQQPw9OwhKv9JGJ+3ROGG/WPyGLkcpPz0yaQRGRA
 Ry4s8ZQ69v5BbhyOPpCZ57Ej8Hixgq9tRdeATsI/LGnU+7lnksOpmHzy4Nlj6u6m
 10/Prk9NseA+ohMcJzzid/CvIE4=
Received: from jidanni.org (114-26-43-40.dynamic.hinet.net [114.26.43.40])
 (using TLSv1 with cipher AES128-SHA (128/128 bits))
 (No client certificate requested)
 (Authenticated sender: jidanni@HIDDEN)
 by homiemail-a60.g.dreamhost.com (Postfix) with ESMTPSA id BA45E3BC06A
 for <bug-gnu-emacs@HIDDEN>; Wed,  9 Jul 2014 16:35:21 -0700 (PDT)
From: =?utf-8?B?56mN5Li55bC8?= Dan Jacobson <jidanni@HIDDEN>
To: bug-gnu-emacs <bug-gnu-emacs@HIDDEN>
Subject: perl-mode here document colors
Date: Thu, 10 Jul 2014 07:35:17 +0800
Message-ID: <877g3mayx6.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://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: -5.0 (-----)

Shouldn't the body of

print <<\EOF;
</body>
</html>
EOF

be colored differently in perl mode?




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#17980; 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: Fri, 7 Aug 2020 10:15:02 UTC

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