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

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

bug#71225: 30.0.50; [PATCH] c-ts-common-comment-indent-new-line does not


From: Theodor Thornhill
Subject: bug#71225: 30.0.50; [PATCH] c-ts-common-comment-indent-new-line does not behave like c/c++-mode in comments
Date: Sun, 02 Jun 2024 10:11:27 +0200

Theodor Thornhill <theo@thornhill.no> writes:

> On May 28, 2024 8:15:20 PM GMT+02:00, Andrea Corallo <acorallo@gnu.org> wrote:
>>Vincenzo Pupillo <v.pupillo@gmail.com> writes:
>>
>>> Hi, 
>>> the c-ts-common-comment-indent-new-line does not behave like c/c++-mode in 
>>> comments. 
>>> M-j also behaves differently in different places.
>>>
>>> // M-j wrong behavior.
>>> int test(int a)
>>> {
>>>   /** (1)
>>>   */
>>>   int a;
>>>
>>>   /* (1)
>>>   */
>>>   int b;
>>>   // test (1)
>>>
>>>   int c; // blah blah
>>>          // (3)
>>> }
>>>
>>> /* (2)
>>>  */
>>>
>>> /** (2)


Thanks, pushed to master.

Theo





reply via email to

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