From: Lars Ingebrigtsen <larsi@gnus.org>
To: <Joerg.Richter@pdv-FS.de>, 37990@debbugs.gnu.org
Subject: bug#37990: font-lock and string literals
Date: Sun, 17 Nov 2019 10:17:46 +0100 [thread overview]
Message-ID: <87v9ri9805.fsf@gnus.org> (raw)
In-Reply-To: <44e350daefb141ddb680fefd4f581928@pdv-FS.de> (Richter's message of "Wed, 30 Oct 2019 12:52:51 +0000")
Richter, Jörg <Joerg.Richter@pdv-FS.de> writes:
> I'm using emacs 26.3.
>
> Call:
>
> (font-lock-add-keywords
> 'c-mode
> '(
> ("\\<XXX\\>[^;]*;" 0 'font-lock-function-name-face t)))
>
> Then visit a .c file with this line:
>
> XXX("aaa");
>
> The line is rendered with font-lock-function-name-face, except the second "
> which has font-lock-warning-face.
> Somehow emacs thinks there is an unfinished string literal.
I'm able to reproduce this in Emacs 26, but not in Emacs 27, so I think
this has been fixed by now.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
prev parent reply other threads:[~2019-11-17 9:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-30 12:52 bug#37990: font-lock and string literals Richter, Jörg
2019-11-17 9:17 ` Lars Ingebrigtsen [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87v9ri9805.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=37990@debbugs.gnu.org \
--cc=Joerg.Richter@pdv-FS.de \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.