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: [EMAIL PROTECTED], [EMAIL PROTECTED] (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



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to