GNU bug report logs - #64133
CC Mode 5.35.2 (C/*l); incorrect indentation for an arrays of structs.

Previous Next

Package: emacs;

Reported by: Jeff Norden <norden.jeff <at> gmail.com>

Date: Sat, 17 Jun 2023 15:05:01 UTC

Severity: normal

Done: Alan Mackenzie <acm <at> muc.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Jeff Norden <norden.jeff <at> gmail.com>, Alan Mackenzie <acm <at> muc.de>
Cc: 64133 <at> debbugs.gnu.org
Subject: bug#64133: CC Mode 5.35.2 (C/*l); incorrect indentation for an arrays of structs.
Date: Sat, 17 Jun 2023 19:27:16 +0300
> From: Jeff Norden <norden.jeff <at> gmail.com>
> Date: Sat, 17 Jun 2023 10:43:40 -0500
> 
> > This source code uses the 'linux' indentation style, so you should do
> >
> >   M-x c-set-style RET linux RET
> >
> > after which the problem goes away, AFAICT.
> Eli: Thanks for the quick response.  Changing the style works for me,
> so this can be closed.
> I didn't realize that the style effects parsing, not just the way
> space, etc gets inserted by default.

Thanks, I will let Alan chime in and decide whether this should be
closed.




This bug report was last modified 1 year and 327 days ago.

Previous Next


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