GNU bug report logs -
#8943
octave mode: "mismatched parentheses" warning on multiline comments
Previous Next
Reported by: fork <forkandwait <at> gmail.com>
Date: Mon, 27 Jun 2011 17:12:02 UTC
Severity: minor
Tags: wontfix
Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #8 received at 8943 <at> debbugs.gnu.org (full text, mbox):
tags 8943 wontfix
thanks
> When using multiline comments in octave mode, there is a "mismatched
> parentheses" warning issued to the mini-buffer when closing the comment.
> For example, the warning appears on the final "}" in the following code:
> %{
> blah blah blah
> %}
> There doesn't seem to be any problems with indentation. Also, I see the same
> result for both "#{" and "%{"
Indeed, that's a bug. A related bug that can be seen in all programming
modes is that if you type something like
// some comment (and some
// side note).
the final ) will not be matched to the opening (. It will either raise
a "mismatched parenthesis" warning or will be matched to some
unrelated open parenthesis.
Your case is slightly different since the paren is actually part
of the comment-marker rather than being inside the comment, but the
problem has basically the same origin.
I don't expect we'll fix this problem any time soon, tho.
Stefan
This bug report was last modified 13 years and 319 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.