GNU bug report logs - #79025
Indention falls apart when using C23 type feature on enum

Previous Next

Package: emacs;

Reported by: Marcel Weißenbach <mweissenbach <at> ikaros.space>

Date: Tue, 15 Jul 2025 12:30:02 UTC

Severity: normal

Done: Eli Zaretskii <eliz <at> gnu.org>

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: Marcel Weißenbach <mweissenbach <at> ikaros.space>
Cc: 79025 <at> debbugs.gnu.org
Subject: bug#79025: Indention falls apart when using C23 type feature on enum
Date: Tue, 15 Jul 2025 16:56:57 +0300
> From: Marcel Weißenbach <mweissenbach <at> ikaros.space>
> Date: Tue, 15 Jul 2025 04:07:48 +0000
> 
> 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 cannot reproduce this.  In what version of Emacs did you try it, and
with what major mode?

IOW, would you mind providing a detailed recipe, starting from "emacs -Q",
and telling us which version of Emacs are you using and on what OS?




This bug report was last modified 38 days ago.

Previous Next


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