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

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

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


From: Yuan Fu
Subject: bug#70520: 30.0.50; [PATCH] c-ts-common-comment-indent-new-line does nothing when the comment line in a block starts with whitespace.
Date: Mon, 22 Apr 2024 21:57:10 -0700


> On Apr 22, 2024, at 1:16 PM, Vincenzo Pupillo <v.pupillo@gmail.com> wrote:
> 
> Hello, 
> the new function c-ts-common-comment-indent-new-line has a different behavior 
> from comment-indent-new-line in c-mode.
> In a comment block like this:
> /*
>   Lorem ipsum dolor sit amet, consectetur adipiscing elit, 
>   sed do eiusmod tempor incididunt ut labore et dolore magna aliqua
> */
> M-j does not break the line or indent. The cursor simply stands still.
> The attached patch handles this case.
> 
> Thank you.
> V.

Attachment: 0001-Cover-more-c-ts-common-comment-indent-new-line.patch
Description: Text Data

Merged, thank you!

Yuan

reply via email to

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