From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Glenn Morris <rgm@gnu.org>
Cc: Christoph <cschol2112@googlemail.com>, 7102@debbugs.gnu.org
Subject: bug#7102: 23.2; Makefile fontification incorrect
Date: Sun, 26 Sep 2010 22:17:18 +0200 [thread overview]
Message-ID: <jwvbp7k1cv8.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <vocblr0vw.fsf@fencepost.gnu.org> (Glenn Morris's message of "Sat, 25 Sep 2010 17:04:03 -0400")
>> Start Emacs with `emacs -Q'.
>> Open `gmake.defs' in `nt/' directory.
>>> From line 99 on the rest of the file is fontified mostly as comments.
>> Note: Removing 1 of the double quotes at the end of line 99 results in correct
>> fontification of the buffer.
> I know nothing about this code, but since the comment in the line
> above says that it contains a deliberate syntax error, maybe
> makefile-mode can be forgiven for getting confused.
The problem is that makefile-mode assumes all the Makefil content
follows the lexical rules of Make, whereas $(shell ...) does not follow
the Make lexical rules in "...", so (as in the present case) the "..."
may contain unmatched double quotes. I don't actually know how the end
of "..." is determined, tho I guess it's something like "the matching
close-paren" probably with the possibility to escape parens
with backslashes.
Stefan
next prev parent reply other threads:[~2010-09-26 20:17 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-25 13:52 bug#7102: 23.2; Makefile fontification incorrect Christoph
2010-09-25 21:04 ` Glenn Morris
2010-09-26 20:17 ` Stefan Monnier [this message]
2010-10-01 8:20 ` Eli Zaretskii
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=jwvbp7k1cv8.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=7102@debbugs.gnu.org \
--cc=cschol2112@googlemail.com \
--cc=rgm@gnu.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 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.