bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#61291: 29.0.60; c-ts-mode: semi-colon after conditionals/loops not i


From: Yuan Fu
Subject: bug#61291: 29.0.60; c-ts-mode: semi-colon after conditionals/loops not indented
Date: Mon, 6 Feb 2023 19:01:41 -0800


> On Feb 5, 2023, at 10:02 PM, Mohammed Sadiq <sadiq@sadiqpk.org> wrote:
> 
> On 2023-02-06 04:52, Yuan Fu wrote:
>> Mohammed Sadiq <sadiq@sadiqpk.org> writes:
>>> ; in the following code is not indented:
>>> while (str_a[i++] == str_b[j++])
>>> ;
>>> expected indentation:
>>> while (str_a[i++] == str_b[j++])
>>>  ;
>> Thanks! I pushed a fix.
>> Yuan
> 
> This seems to have not fixed when tested with the latest build.
> Also, this has broken auto indentation for other code, eg:
> 
> if (true)
> do_something();

Hey sorry, I somehow didn’t actually push the change, while claiming to have 
done so. The latest commit (now pushed) is working fine AFAICT.

Yuan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]