Your message dated Mon, 19 May 2014 13:25:55 -0700 (PDT)
with message-id <[email protected]>
and subject line Re: Bug#462576
has caused the Debian Bug report #462576,
regarding emacs22-nox: 'Mismatched parentheses' error editing C++ code
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
462576: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=462576
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: emacs22-nox
Version: 22.1+1-2.3
Severity: normal


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.


Greetings,
Christian Henz

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-3-686 (SMP w/2 CPU cores)
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages emacs22-nox depends on:
ii  emacs22-bin-common        22.1+1-2.3     The GNU Emacs editor's shared, arc
ii  libc6                     2.7-6          GNU C Library: Shared libraries
ii  libncurses5               5.6+20080105-1 Shared libraries for terminal hand

emacs22-nox recommends no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
By experiment, this is fixed in the current Emacs release, 24.3.

--- End Message ---

Reply via email to