From: Stefan Kangas <stefan@marxist.se>
To: Alan Mackenzie <acm@muc.de>
Cc: 50640@debbugs.gnu.org, Vincent Lefevre <vincent@vinc17.net>
Subject: bug#50640: 28.0.50; incorrect highlighting in C++ mode
Date: Sat, 25 Sep 2021 11:17:07 -0700 [thread overview]
Message-ID: <CADwFkmmi5Dc=1TT+8jw4fJCC8OYM9kB8Dm5fscs+g8oTB1UbVQ@mail.gmail.com> (raw)
In-Reply-To: <87czp79x6s.fsf@vinc17.net> (Vincent Lefevre's message of "Fri, 17 Sep 2021 14:57:31 +0200")
Vincent Lefevre <vincent@vinc17.net> writes:
> Consider a test.cc file containing:
>
> if (xMin - xt < t3Font->glyphX ||
> yMin - yt < t3Font->glyphY ||
> xMax - xt > t3Font->glyphX + t3Font->glyphW ||
> yMax - yt > t3Font->glyphY + t3Font->glyphH) {
> }
>
> (this comes from the xpdf source) and open it with "emacs -Q".
>
> The first two "xt" and "yt" are highlighted in green instead of
> remaining in black. If I remove the last condition as follows
> and reopen the file:
>
> if (xMin - xt < t3Font->glyphX ||
> yMin - yt < t3Font->glyphY ||
> xMax - xt > t3Font->glyphX + t3Font->glyphW) {
> }
>
> then only the "yt" is highlighted incorrectly.
Alan, could you take a look at this bug report?
(I don't know if you're subscribed to the bug list, my apologies if you
have already seen it.)
next prev parent reply other threads:[~2021-09-25 18:17 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-17 12:57 bug#50640: 28.0.50; incorrect highlighting in C++ mode Vincent Lefevre
2021-09-25 18:17 ` Stefan Kangas [this message]
2021-09-25 21:17 ` Alan Mackenzie
2021-09-25 21:51 ` Vincent Lefevre
2022-08-26 11:42 ` Lars Ingebrigtsen
2022-08-26 12:24 ` Vincent Lefevre
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='CADwFkmmi5Dc=1TT+8jw4fJCC8OYM9kB8Dm5fscs+g8oTB1UbVQ@mail.gmail.com' \
--to=stefan@marxist.se \
--cc=50640@debbugs.gnu.org \
--cc=acm@muc.de \
--cc=vincent@vinc17.net \
/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).