all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Tobias.Schlueter" <Tobias.Schlueter@zuppc13.physik.uni-muenchen.de>
To: bug-gnu-emacs@gnu.org
Subject: bug#4187: Bug with indentation / parens matching in C++-mode
Date: Tue, 18 Aug 2009 14:04:21 +0200 (CEST)	[thread overview]
Message-ID: <20090818120421.D52BD58182@zuppc13.physik.uni-muenchen.de> (raw)

This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English, because the Emacs maintainers do not have
translators to read other languages for them.

Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list,
and to the gnu.emacs.bug news group.

In GNU Emacs 21.4.1 (i686-redhat-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2008-01-04 on norob.fnal.gov
configured using `configure  --build=i686-redhat-linux-gnu --host=i686-redhat-linux-gnu --target=i386-redhat-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --with-pop --with-sound'
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8
  default-enable-multibyte-characters: t

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

Type the following into a buffer which is in C++ mode.  Try to get
correct indentation for the second line of the while condition or the
line following it by hitting the TAB key.  In my case this fails
miserably.  Modifying the while condition to fix this behaves rather
erratically, adding parentheses at least doesn't fix it.

{
  do {
  } while (fabs(chi2 - oldChi2) > 0
      && count < iterMax);
x= 1;
}

You can reach me under tobi@schlueters.de, I don't know if this
interface will place the right sender address on the mail.  I guess
the stuff emacs put below will not be of much help, so I'm cutting it
(recent input, the bug appears independent of my input).

Cheers,
- Tobias Schlüter






             reply	other threads:[~2009-08-18 12:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-18 12:04 Tobias.Schlueter [this message]
2009-08-21 14:56 ` bug#4187: Bug with indentation / parens matching in C++-mode Alan Mackenzie
2009-09-22  8:51   ` Tobias Schlüter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090818120421.D52BD58182@zuppc13.physik.uni-muenchen.de \
    --to=tobias.schlueter@zuppc13.physik.uni-muenchen.de \
    --cc=4187@emacsbugs.donarmstrong.com \
    --cc=bug-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.