[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
From: |
Yuan Fu |
Subject: |
bug#60270: 29.0.60; c-ts-mode: Comments are not indented right on auto indentation |
Date: |
Sun, 25 Dec 2022 00:36:46 -0800 |
> On buffer select-all TAB, for the following comment:
>
> /*
> hello
> */
>
> I get the following in c-mode (no space before */):
>
> /*
> hello
> */
>
> and the following in c-ts-mode (a space before */):
>
> /*
> hello
> */
I have to say I’m not a C veteran, but I feel like the c-ts-mode result
makes more sense. Why do we want
/*
* hello
*/
but not
/*
hello
*/
?
Is it like a convention?
CC’ed Alan because he must know this.
Yuan