[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#7327: 24.0.50; cc-mode: default indentation inconsistent with typede
From: |
Alex |
Subject: |
bug#7327: 24.0.50; cc-mode: default indentation inconsistent with typedefs |
Date: |
Wed, 07 Sep 2016 22:57:32 -0600 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
tags found 24.5 25.1
quit
Christoph <cschol2112@googlemail.com> 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?
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#7327: 24.0.50; cc-mode: default indentation inconsistent with typedefs,
Alex <=