GNU bug report logs - #27147
perl-mode print STDERR <<EOF; not colored

Previous Next

Package: emacs;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Tue, 30 May 2017 13:42:02 UTC

Severity: minor

Tags: confirmed, patch

Found in version 27.0.50

Fixed in version 29.1

Done: Mauro Aranda <maurooaranda <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 27147 in the body.
You can then email your comments to 27147 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#27147; Package emacs. (Tue, 30 May 2017 13:42:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 30 May 2017 13:42:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: bug-gnu-emacs <at> gnu.org
Subject: perl-mode print STDERR <<EOF; not colored
Date: Tue, 30 May 2017 20:22:44 +0800
STDERR throws off coloration:

print <<EOF;
ZZZ
EOF

print STDERR <<EOF;
ZZZ
EOF

print <<EOF;
ZZZ
EOF




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#27147; Package emacs. (Fri, 08 Nov 2019 01:42:01 GMT) Full text and rfc822 format available.

Message #8 received at 27147 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Cc: 27147 <at> debbugs.gnu.org
Subject: Re: bug#27147: perl-mode print STDERR <<EOF; not colored
Date: Fri, 08 Nov 2019 02:41:40 +0100
found 27147 27.0.50
tags 27147 + confirmed
thanks

積丹尼 Dan Jacobson <jidanni <at> jidanni.org> writes:

> STDERR throws off coloration:
>
> print <<EOF;
> ZZZ
> EOF
>
> print STDERR <<EOF;
> ZZZ
> EOF
>
> print <<EOF;
> ZZZ
> EOF

I can reproduce this on Emacs 27.  The problem is that there are no
colors on the STDERR example given above.

Best regards,
Stefan Kangas




bug Marked as found in versions 27.0.50. Request was from Stefan Kangas <stefan <at> marxist.se> to control <at> debbugs.gnu.org. (Fri, 08 Nov 2019 01:42:02 GMT) Full text and rfc822 format available.

Added tag(s) confirmed. Request was from Stefan Kangas <stefan <at> marxist.se> to control <at> debbugs.gnu.org. (Fri, 08 Nov 2019 01:42:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#27147; Package emacs. (Tue, 18 Oct 2022 23:22:01 GMT) Full text and rfc822 format available.

Message #15 received at 27147 <at> debbugs.gnu.org (full text, mbox):

From: Mauro Aranda <maurooaranda <at> gmail.com>
To: 27147 <at> debbugs.gnu.org
Cc: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Subject: Re: bug#27147: perl-mode print STDERR <<EOF; not colored
Date: Tue, 18 Oct 2022 20:21:15 -0300
[Message part 1 (text/plain, inline)]
tags 27147 patch
quit


積丹尼 Dan Jacobson <jidanni <at> jidanni.org> writes:

> STDERR throws off coloration:
>
> print <<EOF;
> ZZZ
> EOF
>
> print STDERR <<EOF;
> ZZZ
> EOF
>
> print <<EOF;
> ZZZ
> EOF

I attach a patch to fix this bug and improve HERE documents
identification in perl-mode.
[0001-Improve-HERE-document-detection-in-perl-mode.patch (text/x-patch, attachment)]

Added tag(s) patch. Request was from Mauro Aranda <maurooaranda <at> gmail.com> to control <at> debbugs.gnu.org. (Tue, 18 Oct 2022 23:22:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#27147; Package emacs. (Wed, 19 Oct 2022 05:58:01 GMT) Full text and rfc822 format available.

Message #20 received at 27147 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefankangas <at> gmail.com>
To: Mauro Aranda <maurooaranda <at> gmail.com>, 27147 <at> debbugs.gnu.org
Cc: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Subject: Re: bug#27147: perl-mode print STDERR <<EOF; not colored
Date: Wed, 19 Oct 2022 05:57:16 +0000
Mauro Aranda <maurooaranda <at> gmail.com> writes:

> I attach a patch to fix this bug and improve HERE documents
> identification in perl-mode.

LGTM.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#27147; Package emacs. (Thu, 20 Oct 2022 10:49:02 GMT) Full text and rfc822 format available.

Message #23 received at 27147 <at> debbugs.gnu.org (full text, mbox):

From: Mauro Aranda <maurooaranda <at> gmail.com>
To: Stefan Kangas <stefankangas <at> gmail.com>
Cc: 27147 <at> debbugs.gnu.org,
 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Subject: Re: bug#27147: perl-mode print STDERR <<EOF; not colored
Date: Thu, 20 Oct 2022 07:48:09 -0300
close 27147 29.1
quit


Stefan Kangas <stefankangas <at> gmail.com> writes:

> Mauro Aranda <maurooaranda <at> gmail.com> writes:
>
>> I attach a patch to fix this bug and improve HERE documents
>> identification in perl-mode.
>
> LGTM.

Pushed, thanks for taking a look.

Oh, I see I didn't add Bug#27147 to the commit message.  I think I lost
it in a git squash or something, sorry.





bug marked as fixed in version 29.1, send any further explanations to 27147 <at> debbugs.gnu.org and 積丹尼 Dan Jacobson <jidanni <at> jidanni.org> Request was from Mauro Aranda <maurooaranda <at> gmail.com> to control <at> debbugs.gnu.org. (Thu, 20 Oct 2022 10:49:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 17 Nov 2022 12:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 226 days ago.

Previous Next


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