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

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

bug#60270: 29.0.60; c-ts-mode: Comments are not indented right on auto i


From: Yuan Fu
Subject: bug#60270: 29.0.60; c-ts-mode: Comments are not indented right on auto indentation
Date: Wed, 11 Jan 2023 01:30:34 -0800


> On Jan 10, 2023, at 2:13 AM, Mohammed Sadiq <sadiq@sadiqpk.org> wrote:
> 
> On 2023-01-10 10:58, Yuan Fu wrote:
>> Ah, right. Now it’s fixed. Thanks!
>> Yuan
> 
> This broke the following comment styles:
> 
> /* some comment
> */
> 
> indentation of above code gives:
> 
> /* some comment
>   */
> 
> 
> Also:
> 
> /*
>   * some comment
> */
> 
> where I expect:
> 
> /*
> * some comment
> */

This is easy to fix, I’ll push a fix soon.

> 
> If there are ways to add automated tests, it would be nice so that
> these won't be broken when fixing something else.

I agree. I have been busy fixing all sorts of bugs and haven’t go around to it 
:-(

Yuan




reply via email to

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