bug-gnu-emacs
[Top][All Lists]
Advanced

[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: Lars Ingebrigtsen
Subject: bug#7327: 24.0.50; cc-mode: default indentation inconsistent with typedefs
Date: Wed, 02 Jun 2021 10:48:11 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

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 behaviour is still present in Emacs 28.

Alan, is this behaving as designed, or is it a bug?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

[Prev in Thread] Current Thread [Next in Thread]