From: Stefan Monnier <monnier@iro.umontreal.ca>
To: emacs-devel@gnu.org
Cc: Lars Ingebrigtsen <larsi@gnus.org>
Subject: Re: master 17a950c: Fix comment end delimiter fontification in OPascal mode
Date: Tue, 11 May 2021 12:02:24 -0400 [thread overview]
Message-ID: <jwvpmxxntva.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <20210511135238.D80A321128@vcs0.savannah.gnu.org> (Lars Ingebrigtsen's message of "Tue, 11 May 2021 09:52:38 -0400 (EDT)")
> @@ -1766,6 +1766,7 @@ Coloring:
> (setq-local syntax-propertize-function opascal--syntax-propertize)
>
> (setq-local comment-start "// ")
> + (setq-local comment-end "}")
> (setq-local comment-start-skip "\\(?://\\|(\\*\\|{\\)[ \t]*")
> (setq-local comment-end-skip "[ \t]*\\(?:\n\\|\\*)\\|}\\)"))
>
That can't be right, right?
OPascal supports many different kinds of comment syntaxes, but //...} is
not one of them, AFAIK.
Stefan
next parent reply other threads:[~2021-05-11 16:02 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20210511135237.14950.6701@vcs0.savannah.gnu.org>
[not found] ` <20210511135238.D80A321128@vcs0.savannah.gnu.org>
2021-05-11 16:02 ` Stefan Monnier [this message]
2021-05-11 16:32 ` master 17a950c: Fix comment end delimiter fontification in OPascal mode Lars Ingebrigtsen
2021-05-11 17:20 ` Stefan Monnier
2021-05-12 13:54 ` Lars Ingebrigtsen
2021-05-12 14:07 ` Stefan Monnier
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=jwvpmxxntva.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@gnu.org \
--cc=larsi@gnus.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.