Subject: bug#60649: 29.0.60; c-ts-mode: struct typedef brace end may not indent properly

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

Mohammed Sadiq <[email-masked]> writes:

> On 2023-01-21 02:58, Theodor Thornhill wrote:
>> It seems to me that both of these are fixed now, right?
>
> enum block has still broken indentation, I get:
>
> typedef enum {
> GTK_PAD_ACTION_BUTTON,
> GTK_PAD_ACTION_RING,
> GTK_PAD_ACTION_STRIP
>          } GtkPadActionType;
>
>
> But I expect (with default indentation level):
>
> typedef enum {
>    GTK_PAD_ACTION_BUTTON,
>    GTK_PAD_ACTION_RING,
>    GTK_PAD_ACTION_STRIP
> } GtkPadActionType;

Now all of this works on emacs-29 for me, do you agree? :)

```
enum {
  PROP_0,
  PROP_NAME,
  N_PROPS
};

typedef enum {
  GTK_PAD_ACTION_BUTTON,
  GTK_PAD_ACTION_RING,
  GTK_PAD_ACTION_STRIP
} GtkPadActionType;

typedef struct {
  unsigned long flags;
  unsigned long functions;
  unsigned long decorations;
  long input_mode;
  unsigned long status;
} PropMotifWmHints;

typedef enum {
  GTK_PAD_ACTION_BUTTON,
  GTK_PAD_ACTION_RING,
  GTK_PAD_ACTION_STRIP
} GtkPadActionType;
```

Theo