Subject: Re: bug#60496: 29.0.60; c-ts-mode: Broken indentation with linux style conditionals

From: Yuan Fu <[email-masked]>
Date: Mon, 2 Jan 2023 14:29:02 -0800

Mohammed Sadiq <[email-masked]> writes:

> Indentation of the following C code with linux style is broken:
>
> int main (void)
> {
>   if (a) {
>     func_a ();
>   } else if (b) {
> 	   func_b ();
> 	 } else {
> 	   func_c ();
> 	 }
> }
>

Thanks. I’m not familiar with the linux style, is the problem with the
closing brackets? Could you give me a correct example so I know exactly
what’s wrong?

Yuan