unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefan@marxist.se>
To: "積丹尼 Dan Jacobson" <jidanni@jidanni.org>
Cc: 25098@debbugs.gnu.org
Subject: bug#25098: perl-mode =>q vs. => q colors
Date: Sat, 6 Jul 2019 05:58:58 +0200	[thread overview]
Message-ID: <CADwFkm=M_=jyPNkc=9=jyfEbXxVWM6gpWhQSgxi1bfAw5_OJaw@mail.gmail.com> (raw)
In-Reply-To: <87lgvym18n.fsf@jidanni.org>

積丹尼 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





  reply	other threads:[~2019-07-06  3:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-02 22:10 bug#25098: perl-mode =>q vs. => q colors 積丹尼 Dan Jacobson
2019-07-06  3:58 ` Stefan Kangas [this message]
2019-07-06 13:00 ` 積丹尼 Dan Jacobson
2021-06-11 15:58 ` bug#25098: is fixed in source, closing the report Harald Jörg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CADwFkm=M_=jyPNkc=9=jyfEbXxVWM6gpWhQSgxi1bfAw5_OJaw@mail.gmail.com' \
    --to=stefan@marxist.se \
    --cc=25098@debbugs.gnu.org \
    --cc=jidanni@jidanni.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).