Subject: bug#60932: 29.0.60; c-ts-mode: Fails to indent enum block emitting a warning

From: Theodor Thornhill <[email-masked]>
Date: Sat, 21 Jan 2023 08:48:14 +0100

Mohammed Sadiq <[email-masked]> writes:

> On 2023-01-21 02:54, Theodor Thornhill wrote:
>> Should be fixed in latest master, closing this :)
>
> Well, this should be fixed in emacs-29 branch too, right?
> The warning has gone there, but enum indentation is still broken,
>
> I get:
>
> enum {
> GTK_PAD_ACTION_BUTTON,
> GTK_PAD_ACTION_RING,
> GTK_PAD_ACTION_STRIP
> } GtkPadActionType;
>
> but I expect to get:
>
> enum {
>    GTK_PAD_ACTION_BUTTON,
>    GTK_PAD_ACTION_RING,
>    GTK_PAD_ACTION_STRIP
> } GtkPadActionType;

Sorry, my bad.  Applied to emacs-29 now.  Does it work for you now?

Theo