GNU bug report logs - #8943
octave mode: "mismatched parentheses" warning on multiline comments

Previous Next

Package: emacs;

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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 8943 in the body.
You can then email your comments to 8943 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#8943; Package emacs. (Mon, 27 Jun 2011 17:12:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to fork <forkandwait <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 27 Jun 2011 17:12:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: fork <forkandwait <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: octave mode: "mismatched parentheses" warning on multiline comments 
Date: Mon, 27 Jun 2011 17:05:10 +0000 (UTC)
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!





Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#8943; Package emacs. (Mon, 04 Jul 2011 20:21:01 GMT) Full text and rfc822 format available.

Message #8 received at 8943 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: fork <forkandwait <at> gmail.com>
Cc: 8943 <at> debbugs.gnu.org
Subject: Re: bug#8943: octave mode: "mismatched parentheses" warning on
	multiline comments
Date: Mon, 04 Jul 2011 16:20:23 -0400
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




Added tag(s) wontfix. Request was from Stefan Monnier <monnier <at> iro.umontreal.ca> to control <at> debbugs.gnu.org. (Mon, 04 Jul 2011 20:21:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 8943 <at> debbugs.gnu.org and fork <forkandwait <at> gmail.com> Request was from Lars Magne Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Fri, 15 Jul 2011 14:33:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 13 Aug 2011 11:24:04 GMT) Full text and rfc822 format available.

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.