GNU bug report logs - #523
C mode, whitesmith style indentation weirdness

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs,cc-mode; Reported by: bojohan+mail <at> dd.chalmers.se (Johan Bockgård); dated Wed, 2 Jul 2008 22:20:04 UTC; Maintainer for emacs is bug-gnu-emacs <at> gnu.org.

Message received at 523 <at> debbugs.gnu.org:


Received: (at 523) by debbugs.gnu.org; 3 Oct 2011 20:09:38 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Oct 03 16:09:38 2011
Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1RAopV-0002BP-UB
	for submit <at> debbugs.gnu.org; Mon, 03 Oct 2011 16:09:38 -0400
Received: from fencepost.gnu.org ([140.186.70.10])
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <rgm <at> gnu.org>) id 1RAopU-0002BJ-4g
	for 523 <at> debbugs.gnu.org; Mon, 03 Oct 2011 16:09:36 -0400
Received: from rgm by fencepost.gnu.org with local (Exim 4.71)
	(envelope-from <rgm <at> gnu.org>)
	id 1RAoo6-0004op-Mz; Mon, 03 Oct 2011 16:08:10 -0400
From: Glenn Morris <rgm <at> gnu.org>
To: 523 <at> debbugs.gnu.org
Subject: Re: bug#523: C mode, whitesmith style indentation weirdness
References: <yoij63roexzr.fsf <at> remote5.student.chalmers.se>
X-Spook: SRI condor sniper CESID Panama ASPIC freedom Ortega
X-Ran: 33Go"{xicoZ!64G`3-4h_hK?BDDIK[qK1_TY.nuh>5S=<p64tk<^g$\uy\hLq4ZN;x_!'&
X-Hue: black
X-Attribution: GM
Date: Mon, 03 Oct 2011 16:08:10 -0400
In-Reply-To: <yoij63roexzr.fsf <at> remote5.student.chalmers.se> ("Johan
	=?utf-8?Q?=5C=22Bockg=C3=A5rd=22's?= message of "Thu,
	03 Jul 2008 00:12:56 +0200")
Message-ID: <uo62k5bzyt.fsf <at> fencepost.gnu.org>
User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Score: -6.4 (------)
X-Debbugs-Envelope-To: 523
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.11
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -6.4 (------)


Still present in 24.0.90.
(Partial?) duplicate of http://debbugs.gnu.org/cgi/bugreport.cgi?bug=738 ?




Information forwarded to bug-gnu-emacs <at> gnu.org, bug-cc-mode <at> gnu.org:
bug#523; Package emacs,cc-mode. Full text available.
Removed annotation that bug was owned by Alan Mackenzie <acm <at> muc.de>. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. Full text available.
bug reassigned from package `emacs' to `emacs,cc-mode'. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. Full text available.
Owner recorded as Alan Mackenzie <acm <at> muc.de>. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. Full text available.

Message received at (unknown):


Received: (at unknown) by unknown; unknown
X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02
	(2007-08-08) on rzlab.ucr.edu
X-Spam-Level: 
X-Spam-Status: No, score=-3.9 required=4.0 tests=AWL,BAYES_00,FVGT_m_MULTI_ODD,
	IMPRONONCABLE_2,MONEY,RCVD_IN_DNSWL_MED autolearn=ham
	version=3.2.3-bugs.debian.org_2005_01_02
Received: (at submit) by emacsbugs.donarmstrong.com; 2 Jul 2008 22:13:10 +0000
Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10])
	by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m62MD5h8023710
	for <submit <at> emacsbugs.donarmstrong.com>; Wed, 2 Jul 2008 15:13:08 -0700
Received: from mx10.gnu.org ([199.232.76.166]:48378)
	by fencepost.gnu.org with esmtp (Exim 4.67)
	(envelope-from <bojohan+mail <at> dd.chalmers.se>)
	id 1KEAZD-0007Bw-9D
	for emacs-pretest-bug <at> gnu.org; Wed, 02 Jul 2008 18:12:47 -0400
Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60)
	(envelope-from <bojohan+mail <at> dd.chalmers.se>)
	id 1KEAZQ-0003x7-3p
	for emacs-pretest-bug <at> gnu.org; Wed, 02 Jul 2008 18:13:03 -0400
Received: from atum.ita.chalmers.se ([129.16.4.148]:37562)
	by monty-python.gnu.org with esmtp (Exim 4.60)
	(envelope-from <bojohan+mail <at> dd.chalmers.se>)
	id 1KEAZP-0003wb-PM
	for emacs-pretest-bug <at> gnu.org; Wed, 02 Jul 2008 18:12:59 -0400
Received: from remote5.student.chalmers.se (remote5.student.chalmers.se [129.16.29.83])
	by atum.ita.chalmers.se (Postfix) with ESMTP id EC6D98546
	for <emacs-pretest-bug <at> gnu.org>; Thu,  3 Jul 2008 00:12:56 +0200 (CEST)
Received: by remote5.student.chalmers.se (Postfix, from userid 61540)
	id 52FF9150AE8; Thu,  3 Jul 2008 00:12:56 +0200 (CEST)
From: bojohan+mail <at> dd.chalmers.se (Johan =?utf-8?Q?Bockg=C3=A5rd?=)
To: emacs-pretest-bug <at> gnu.org
Subject: C mode, whitesmith style indentation weirdness
Date: Thu, 03 Jul 2008 00:12:56 +0200
Message-ID: <yoij63roexzr.fsf <at> remote5.student.chalmers.se>
User-Agent: Gnus/5.110009 (No Gnus v0.9) Emacs/23.0.60 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-kernel: by monty-python.gnu.org: Solaris 10 (beta)


emacs -Q

(setq c-default-style "whitesmith")

C-x C-f /tmp/foo.c RET

Insert this text:

int main ()
{
f(xxx,
yyy,
zzz);
}


Press TAB at the start of each line =3D>

int main ()
    {
    f(xxx,
        yyy,
        zzz);
    }


Press TAB at the end of each line =3D>

int main ()
    {
        f(xxx,
            yyy,
        zzz);
        }


(A user noted a problem with whitesmith indentation in
<47b52516$0$24080$9b622d9e <at> news.freenet.de>)

--=20
Johan Bockg=C3=A5rd




Acknowledgement sent to bojohan+mail <at> dd.chalmers.se (Johan Bockgård):
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text available.
Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#523; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 3 Oct 2011 20:15:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.