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.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: bojohan+mail <at> dd.chalmers.se (Johan Bockgård)
Subject: bug#523: closed (Re: bug#523: C mode, whitesmith style
 indentation weirdness)
Date: Tue, 07 Jan 2014 12:07:13 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#523: C mode, whitesmith style indentation weirdness

which was filed against the emacs,cc-mode package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 523 <at> debbugs.gnu.org.

-- 
523: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=523
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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.






[Message part 3 (message/rfc822, inline)]
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



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

Previous Next


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