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

Previous Next

Package: emacs;

Reported by: Mohammed Sadiq <sadiq <at> sadiqpk.org>

Date: Sun, 8 Jan 2023 10:15:02 UTC

Severity: normal

Found in version 29.0.60

Fixed in version 29.1

Done: Theodor Thornhill <theo <at> thornhill.no>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Theodor Thornhill <theo <at> thornhill.no>
To: Mohammed Sadiq <sadiq <at> sadiqpk.org>
Cc: 60649 <at> debbugs.gnu.org
Subject: bug#60649: 29.0.60; c-ts-mode: struct typedef brace end may not indent properly
Date: Fri, 20 Jan 2023 22:28:05 +0100
Mohammed Sadiq <sadiq <at> sadiqpk.org> writes:

> The following code is not indented properly with c-ts-mode:
>
> typedef struct {
>   unsigned long flags;
>   unsigned long functions;
>   unsigned long decorations;
>   long input_mode;
>   unsigned long status;
>         } PropMotifWmHints;
>
>
> the expected indentation:
>
> typedef struct {
>   unsigned long flags;
>   unsigned long functions;
>   unsigned long decorations;
>   long input_mode;
>   unsigned long status;
> } PropMotifWmHints;
>

It seems to me that both of these are fixed now, right?

Theo




This bug report was last modified 2 years and 165 days ago.

Previous Next


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