* bug#8943: octave mode: "mismatched parentheses" warning on multiline comments
@ 2011-06-27 17:05 fork
2011-07-04 20:20 ` Stefan Monnier
0 siblings, 1 reply; 2+ messages in thread
From: fork @ 2011-06-27 17:05 UTC (permalink / raw)
To: 8943
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 "%{"
Thanks for all your excellent work!
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#8943: octave mode: "mismatched parentheses" warning on multiline comments
2011-06-27 17:05 bug#8943: octave mode: "mismatched parentheses" warning on multiline comments fork
@ 2011-07-04 20:20 ` Stefan Monnier
0 siblings, 0 replies; 2+ messages in thread
From: Stefan Monnier @ 2011-07-04 20:20 UTC (permalink / raw)
To: fork; +Cc: 8943
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-07-04 20:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-27 17:05 bug#8943: octave mode: "mismatched parentheses" warning on multiline comments fork
2011-07-04 20:20 ` Stefan Monnier
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.