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

Previous Next

Packages: cc-mode, emacs;

Reported by: bojohan+mail <at> dd.chalmers.se (Johan Bockgård)

Date: Wed, 2 Jul 2008 22:20:04 UTC

Severity: normal

Found in version 24.3

Fixed in version 24.4

Done: Bastien Guerry <bzg <at> altern.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 523 in the body.
You can then email your comments to 523 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#523; Package emacs. Full text and rfc822 format available.

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 and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: bojohan+mail <at> dd.chalmers.se (Johan Bockgård)
To: emacs-pretest-bug <at> gnu.org
Subject: C mode, whitesmith style indentation weirdness
Date: Thu, 03 Jul 2008 00:12:56 +0200
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 =>

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


Press TAB at the end of each line =>

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


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

-- 
Johan Bockgård




Owner recorded as Alan Mackenzie <acm <at> muc.de>. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Mon, 07 Jul 2008 21:05:08 GMT) Full text and rfc822 format 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. (Thu, 14 Aug 2008 16:45:04 GMT) Full text and rfc822 format 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. (Fri, 29 Jan 2010 19:07:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org, bug-cc-mode <at> gnu.org:
bug#523; Package emacs,cc-mode. (Mon, 03 Oct 2011 20:10:01 GMT) Full text and rfc822 format available.

Message #14 received at 523 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: 523 <at> debbugs.gnu.org
Subject: Re: bug#523: C mode, whitesmith style indentation weirdness
Date: Mon, 03 Oct 2011 16:08:10 -0400
Still present in 24.0.90.
(Partial?) duplicate of http://debbugs.gnu.org/cgi/bugreport.cgi?bug=738 ?




Reply sent to Bastien Guerry <bzg <at> altern.org>:
You have taken responsibility. (Tue, 07 Jan 2014 12:07:13 GMT) Full text and rfc822 format available.

Notification sent to bojohan+mail <at> dd.chalmers.se (Johan Bockgård):
bug acknowledged by developer. (Tue, 07 Jan 2014 12:07:13 GMT) Full text and rfc822 format available.

Message #19 received at 523-done <at> debbugs.gnu.org (full text, mbox):

From: Bastien Guerry <bzg <at> altern.org>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 523-done <at> debbugs.gnu.org
Subject: Re: bug#523: C mode, whitesmith style indentation weirdness
Date: Tue, 07 Jan 2014 11:33:58 +0100
Glenn Morris <rgm <at> gnu.org> writes:

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

I can't reproduce the bug with the recipe provided and
Emacs 24.3.50.1.

Closing the bug.

Glenn, I let you close 738 if needed, it seems there is more to it.









bug Marked as fixed in versions 24.4. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Tue, 07 Jan 2014 17:23:01 GMT) Full text and rfc822 format available.

bug Marked as found in versions 24.3. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Tue, 07 Jan 2014 17:23:01 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 05 Feb 2014 12:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 11 years and 195 days ago.

Previous Next


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