Subject: Re: bug#25098: perl-mode =>q vs. => q colors

From: Stefan Kangas <[email-masked]>
Date: Sat, 6 Jul 2019 05:58:58 +0200

積丹尼 Dan Jacobson <[email-masked]> 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