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

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

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


From: GNU bug Tracking System
Subject: bug#70520: closed (30.0.50; [PATCH] c-ts-common-comment-indent-new-line does nothing when the comment line in a block starts with whitespace.)
Date: Tue, 23 Apr 2024 04:58:01 +0000

Your message dated Mon, 22 Apr 2024 21:57:10 -0700
with message-id <0D0F8221-6E3E-4D9E-9AFE-708FD46C460C@gmail.com>
and subject line Re: 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.
has caused the debbugs.gnu.org bug report #70520,
regarding 30.0.50; [PATCH] c-ts-common-comment-indent-new-line does nothing 
when the comment line in a block starts with whitespace.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
70520: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=70520
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: 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 22:16:07 +0200
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


--- End Message ---
--- Begin Message --- Subject: Re: 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

--- End Message ---

reply via email to

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