GNU bug report logs - #25098
perl-mode =>q vs. => q colors

Previous Next

Package: emacs;

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

Date: Sat, 3 Dec 2016 01:07:01 UTC

Severity: minor

Tags: confirmed

Found in version 26.2

Fixed in version 28.1

Done: haj <at> posteo.de (Harald Jörg)

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 25098 in the body.
You can then email your comments to 25098 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#25098; Package emacs. (Sat, 03 Dec 2016 01:07:01 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. (Sat, 03 Dec 2016 01:07:01 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 <bug-gnu-emacs <at> gnu.org>
Subject: perl-mode =>q vs. => q colors
Date: Sat, 03 Dec 2016 06:10:00 +0800
Perl mode gets the colors bad in the latter:
my $good = XML::LibXML->load_xml( string => q{<div class="clearfix">});
my $bad  = XML::LibXML->load_xml( string =>q{<div class="clearfix">});
And for multi-line q{}'s, one had better even give a whole newline or two
instead of just a space...
emacs-version "25.1.1"




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#25098; Package emacs. (Sat, 06 Jul 2019 04:00:02 GMT) Full text and rfc822 format available.

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

From: Stefan Kangas <stefan <at> marxist.se>
To: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Cc: 25098 <at> debbugs.gnu.org
Subject: Re: bug#25098: perl-mode =>q vs. => q colors
Date: Sat, 6 Jul 2019 05:58:58 +0200
積丹尼 Dan Jacobson <jidanni <at> jidanni.org> writes:

> Perl mode gets the colors bad in the latter:
> my $good = XML::LibXML->load_xml( string => q{<div class="clearfix">});
> my $bad  = XML::LibXML->load_xml( string =>q{<div class="clearfix">});

I can reproduce this on Emacs 26.2.

The issue is that only the '"clearfix"' part gets colored as a string
in the second ($bad) example.

> And for multi-line q{}'s, one had better even give a whole newline or two
> instead of just a space...

I don't follow.  Could you please expand on this point?

Best regards,
Stefan Kangas




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#25098; Package emacs. (Sat, 06 Jul 2019 13:01:01 GMT) Full text and rfc822 format available.

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

From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: Stefan Kangas <stefan <at> marxist.se>
Cc: 25098 <at> debbugs.gnu.org
Subject: Re: bug#25098: perl-mode =>q vs. => q colors
Date: Sat, 06 Jul 2019 21:00:39 +0800
>>>>> "SK" == Stefan Kangas <stefan <at> marxist.se> writes:
>> And for multi-line q{}'s, one had better even give a whole newline or two
>> instead of just a space...

SK> I don't follow.  Could you please expand on this point?

Me neither. Next time I should add an example.




Added tag(s) confirmed. Request was from Stefan Kangas <stefan <at> marxist.se> to control <at> debbugs.gnu.org. (Fri, 23 Aug 2019 06:40:04 GMT) Full text and rfc822 format available.

bug Marked as found in versions 26.2. Request was from Stefan Kangas <stefan <at> marxist.se> to control <at> debbugs.gnu.org. (Fri, 23 Aug 2019 06:40:04 GMT) Full text and rfc822 format available.

Reply sent to haj <at> posteo.de (Harald Jörg):
You have taken responsibility. (Fri, 11 Jun 2021 15:59:02 GMT) Full text and rfc822 format available.

Notification sent to 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>:
bug acknowledged by developer. (Fri, 11 Jun 2021 15:59:02 GMT) Full text and rfc822 format available.

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

From: haj <at> posteo.de (Harald Jörg)
To: 25098-done <at> debbugs.gnu.org
Subject: Bug#25098 is fixed in source, closing the report
Date: Fri, 11 Jun 2021 15:58:01 +0000
Version: 28.1

perl-mode now detects quote-like operators if they appear immediately
after a "fat comma" =>.  I'm closing the bug report.
-- 
Cheers,
haj




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 10 Jul 2021 11:24:08 GMT) Full text and rfc822 format available.

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

Previous Next


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