Your message dated Fri, 25 Jan 2008 22:10:13 +0100
with message-id <[EMAIL PROTECTED]>
has caused the Debian Bug report #462576,
regarding emacs22-nox: 'Mismatched parentheses' error editing C++ code
to be marked as having been forwarded to the upstream software
author(s) [EMAIL PROTECTED]

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Hello,

I received this via the Debian bugtracking system.  The problem is
reproducible in current EMACS_22_BASE.

On 2008-25-01 20:54 +0100, Christian Henz wrote:

> When editing C++ code, I sometimes get "Mismatched parentheses" errors that 
> are 
> clearly unjustified, and as a result indentation does not work anymore.
>
> Here is a small test input that I can reproduce the problem with.
> One has to type the code in, copy-and-paste does not expose the problem.
>
> emacs foo.cpp
> -------------------
> void foo() {
>
>   if( x >= 0 && x < width && y >= 0 && y < height ) {
>   }
> }
> -------------------
>
> If I save and quit, and then re-open the file, the problem does not
> appear.
>
> Now if I start the file in C mode ("emacs foo.c") instead,
> the problem does not appear either.

The "Mismatched parentheses" show up in the line with the "if", where
the "<" after the "x" is treated as an opening paren.

Cheers,
       Sven


--- End Message ---

Reply via email to