Subject: Re: bug#79025: Indention falls apart when using C23 type feature on enum

From: Stephen Berman <[email-masked]>
Date: Tue, 15 Jul 2025 15:35:17 +0200

On Tue, 15 Jul 2025 04:07:48 +0000 Marcel Weißenbach <[email-masked]> wrote:

> Hello there,
>  
> i assume something simple but
>  
> This here does work just fine
>  
> typedef enum _IgePlayerState {
>     IGE_PLAYER_STATE_MOVEABLE,
>     IGE_PLAYER_STATE_WHATVER,
> }
>  
> This here no longer works
>  
> typedef enum _IgePlayerState : Uint8 {
>         IGE_PLAYER_STATE_MOVEABLE,
>                 IGE_PLAYER_STATE_WHATVER,
>                 }

I see the bad indentation (and also bad fontification) in latter example
with c-mode in emacs-30, but in current master the indentation (and
fontification) are the same as in the first example.

Steve Berman