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


Message #11 received at 69562 <at> debbugs.gnu.org (full text, mbox):

From: Dmitry Gutov <dmitry <at> gutov.dev>
To: Ankit Gadiya <ankit <at> argp.in>, 69562 <at> debbugs.gnu.org
Subject: Re: bug#69562: 29.2.50; go-ts-mode does not handle comments with
 fill-paragraph
Date: Tue, 5 Mar 2024 15:03:20 +0200
On 05/03/2024 10:41, Ankit Gadiya via Bug reports for GNU Emacs, the 
Swiss army knife of text editors wrote:
> 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() {
> 
>      }

Does you example originally have one long commented line? Because when I 
try it that way, filling seems to work fine, comments are added on the 
new lines.




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

Previous Next


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