Subject: Re: bug#7327: 24.0.50; cc-mode: default indentation inconsistent with typedefs

From: Alex <[email-masked]>
Date: Wed, 07 Sep 2016 22:57:32 -0600

tags found 24.5 25.1
quit

Christoph <[email-masked]> writes:

> Start with `emacs -Q'. Start new .c file.
>
> Type `typedef enum' then hit `C-j', then `{'.
>
> The code is indented like this:
>
> typedef enum
>   {
>     blabla
>
> Then try `typedef struct', `C-j', '{'.
>
> The code is indented like this:
>
> typedef struct
> {
>   blabla
>
> This happens in 24.0.50, bzr revision 102241 and also 23.2.1.
>
> I don't know which one is right, but I think the indentation should by
> default be consistent.

This behaviour is still present in Emacs 25.1; is it intentional?