GNU bug report logs - #5209
23.1.90; CC Mode version 5.31.8 does not indent properly when writing new C files

Previous Next

Packages: cc-mode, emacs;

Reported by: Steve Revilak <steve <at> srevilak.net>

Date: Sun, 13 Dec 2009 16:30:03 UTC

Severity: normal

Done: Steve Revilak <steve <at> srevilak.net>

Bug is archived. No further changes may be made.

Full log


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

From: Steve Revilak <steve <at> srevilak.net>
To: 5209-done <at> debbugs.gnu.org
Subject: Re: CC Mode version 5.31.8 does not indent properly when writing
	new C files
Date: Thu, 31 Dec 2009 14:39:02 -0500
[Message part 1 (text/plain, inline)]
I've tried this test case with 

  GNU Emacs 23.1.91.1 (powerpc-apple-darwin8.11.0, NS apple-appkit-824.48) of 2009-12-31 on spud
  GNU Emacs 23.1.91.1 (x86_64-apple-darwin10.2.0, NS apple-appkit-1038.25) of 2009-12-31 on oatmeal
  GNU Emacs 23.1.91.1 (i686-pc-linux-gnu, GTK+ Version 2.18.1) of 2009-12-31 on srevilak

The indentation problem no longer occurs with Emacs 23.1.91.1.

Relative to the original "Steps to Reproduce", 

 * In step (5), typing the final semicolon causes the line "*x += 1;"
   to be indented properly

 * If I delete leading whitespace from "*x += 1;" and perform step (7),
   then pressing TAB correctly indents the line.

 * If I delete leading whitespace from "*x += 1;" and perform step
   (8), then I find C-x h ESC C-\ correctly re-indents the entire
   buffer.

Nice work!

Steve
[Message part 2 (application/pgp-signature, inline)]

This bug report was last modified 15 years and 201 days ago.

Previous Next


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