From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#69562: 29.2.50; go-ts-mode does not handle comments with fill-paragraph Date: Tue, 5 Mar 2024 15:03:20 +0200 Message-ID: <7676dd25-a1f2-440f-abd2-90b2ba69b20d@gutov.dev> References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19940"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird To: Ankit Gadiya , 69562@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Mar 05 14:04:43 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rhUTK-0004ss-SB for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 05 Mar 2024 14:04:43 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rhUTC-0003ut-Vc; Tue, 05 Mar 2024 08:04:35 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rhUTA-0003u3-LT for bug-gnu-emacs@gnu.org; Tue, 05 Mar 2024 08:04:32 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rhUTA-0004LN-Bl for bug-gnu-emacs@gnu.org; Tue, 05 Mar 2024 08:04:32 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rhUTe-0000Lu-Gf for bug-gnu-emacs@gnu.org; Tue, 05 Mar 2024 08:05:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 05 Mar 2024 13:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69562 X-GNU-PR-Package: emacs Original-Received: via spool by 69562-submit@debbugs.gnu.org id=B69562.17096438441242 (code B ref 69562); Tue, 05 Mar 2024 13:05:02 +0000 Original-Received: (at 69562) by debbugs.gnu.org; 5 Mar 2024 13:04:04 +0000 Original-Received: from localhost ([127.0.0.1]:46929 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rhUSh-0000Jx-P1 for submit@debbugs.gnu.org; Tue, 05 Mar 2024 08:04:04 -0500 Original-Received: from wout3-smtp.messagingengine.com ([64.147.123.19]:57983) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rhUSf-0000JO-9F for 69562@debbugs.gnu.org; Tue, 05 Mar 2024 08:04:03 -0500 Original-Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.west.internal (Postfix) with ESMTP id 8142332002D8; Tue, 5 Mar 2024 08:03:24 -0500 (EST) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Tue, 05 Mar 2024 08:03:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1709643803; x=1709730203; bh=TFkJzshKK+nLWGzxqcMViGVLh68k4gLAfIYRzGj6TYE=; b= eDud4gllQS9KccFefOCAXRORjVJp7SXTRXgFQCl5nZuzru5KmsQtol2VotnTLSbv 7NvbPFfnR8NrSDJZPQPWgCiivpub5CaOTH1FR3SmrW/6eD0pXK/iKTJQ2YcCmkfz PW2Cl0FgM/rroJUZ4mfE7eFlAYn86Ezx6tWgDh2m40B023fkEixUBNmgkHST+RI5 39VSlyTvXYoc5fFBm3vCHKk1TkGPz2wpEB/VaS/M9g9bcLYLBOfOm+v3Yd5tGP9F nHAKn0yRxRYYZIoxOyn7Gx60Iaw9EDx0k6byUGg9Ts5ht5d3IQR5kt3VZ4+b5F7s 1Mt469OWQFl9KlucNLRxGA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1709643803; x= 1709730203; bh=TFkJzshKK+nLWGzxqcMViGVLh68k4gLAfIYRzGj6TYE=; b=J 32L+wh93cR9Ql8cmjWbTDyCKrQzBcTSOpwYMIcjsj6QMRUjMJL4ArtUZj8FOIAJN Us6ySg0x6wllssQNmcgxrgzMlxf9kHO9k/V5Ee/Jo6BIjtBiNuZe4j6NQ+OjlYVC JWiQrOAz1Ks5dD+aM+KCT4lEkxHyjDZSyn8zZnTWn+wAfDjQRjysdvBmgTNQc/WQ 1goi2lKdmi4z456sKzillFdYhdMbaezH3sGj59fbtyJ/6B+TWy/iqPcoE/n0xLMt 8CCRkQ5nwVxVgHyrCHu9yh+1posXKOtF/2MRdR6c8p3XKxHDZxZuaU+lprJqpe0Q eh5xnKpdEhoE/zO0ngCmA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrheelgdeggecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefkffggfgfuvfhfhfgjtgfgsehtjeertddtvdejnecuhfhrohhmpeffmhhithhr hicuifhuthhovhcuoegumhhithhrhiesghhuthhovhdruggvvheqnecuggftrfgrthhtvg hrnheptdfhuedvtdevleegueelvedvjeevheffveevhedvuefftdefhfdvueeggfetgfdt necuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepughmih htrhihsehguhhtohhvrdguvghv X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 5 Mar 2024 08:03:22 -0500 (EST) Content-Language: en-US In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:281049 Archived-At: 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.