GNU bug report logs - #69562
29.2.50; go-ts-mode does not handle comments with fill-paragraph

Previous Next

Package: emacs;

Reported by: Ankit Gadiya <ankit <at> argp.in>

Date: Tue, 5 Mar 2024 12:24:01 UTC

Severity: normal

Found in version 29.2.50

Done: Dmitry Gutov <dmitry <at> gutov.dev>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Ankit Gadiya <ankit <at> argp.in>, Randy Taylor <dev <at> rjt.dev>, Yuan Fu <casouri <at> gmail.com>
Cc: 69562 <at> debbugs.gnu.org
Subject: bug#69562: 29.2.50; go-ts-mode does not handle comments with fill-paragraph
Date: Tue, 05 Mar 2024 14:44:25 +0200
> Date: Tue, 5 Mar 2024 14:11:14 +0530
> From:  Ankit Gadiya via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
> 
> When fill-paragraph is invoked on the comment lines in the `go-ts-mode`
> buffer, it does not add the comment delimiters on the new lines.
> 
>     // Sample is a sample function with a very long comment. Sample is
> a sample function with a very long comment. Sample is a sample
> function with a very long comment. Sample is a sample function with a
> very long comment.
>     func Sample() {
> 
>     }
> 
> Becomes this:
> 
>     // Sample is a sample function with a very long comment. Sample is a
>     sample function with a very long comment. Sample is a sample function
>     with a very long comment. Sample is a sample function with a very long
>     comment.
>     func Sample() {
> 
>     }

Thanks.

Randy and Yuan, could you please look into this issue?




This bug report was last modified 1 year and 73 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.