unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#25098: perl-mode =>q vs. => q colors
@ 2016-12-02 22:10 積丹尼 Dan Jacobson
  2019-07-06  3:58 ` Stefan Kangas
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: 積丹尼 Dan Jacobson @ 2016-12-02 22:10 UTC (permalink / raw)
  To: 25098

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"





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#25098: perl-mode =>q vs. => q colors
  2016-12-02 22:10 bug#25098: perl-mode =>q vs. => q colors 積丹尼 Dan Jacobson
@ 2019-07-06  3:58 ` Stefan Kangas
  2019-07-06 13:00 ` 積丹尼 Dan Jacobson
  2021-06-11 15:58 ` bug#25098: is fixed in source, closing the report Harald Jörg
  2 siblings, 0 replies; 4+ messages in thread
From: Stefan Kangas @ 2019-07-06  3:58 UTC (permalink / raw)
  To: 積丹尼 Dan Jacobson; +Cc: 25098

積丹尼 Dan Jacobson <jidanni@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





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#25098: perl-mode =>q vs. => q colors
  2016-12-02 22:10 bug#25098: perl-mode =>q vs. => q colors 積丹尼 Dan Jacobson
  2019-07-06  3:58 ` Stefan Kangas
@ 2019-07-06 13:00 ` 積丹尼 Dan Jacobson
  2021-06-11 15:58 ` bug#25098: is fixed in source, closing the report Harald Jörg
  2 siblings, 0 replies; 4+ messages in thread
From: 積丹尼 Dan Jacobson @ 2019-07-06 13:00 UTC (permalink / raw)
  To: Stefan Kangas; +Cc: 25098

>>>>> "SK" == Stefan Kangas <stefan@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.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#25098: is fixed in source, closing the report
  2016-12-02 22:10 bug#25098: perl-mode =>q vs. => q colors 積丹尼 Dan Jacobson
  2019-07-06  3:58 ` Stefan Kangas
  2019-07-06 13:00 ` 積丹尼 Dan Jacobson
@ 2021-06-11 15:58 ` Harald Jörg
  2 siblings, 0 replies; 4+ messages in thread
From: Harald Jörg @ 2021-06-11 15:58 UTC (permalink / raw)
  To: 25098-done

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





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-06-11 15:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-02 22:10 bug#25098: perl-mode =>q vs. => q colors 積丹尼 Dan Jacobson
2019-07-06  3:58 ` Stefan Kangas
2019-07-06 13:00 ` 積丹尼 Dan Jacobson
2021-06-11 15:58 ` bug#25098: is fixed in source, closing the report Harald Jörg

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).