From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#69562: 29.2.50; go-ts-mode does not handle comments with fill-paragraph Date: Thu, 07 Mar 2024 12:55:49 +0200 Message-ID: <864jdi2tvu.fsf@gnu.org> References: <7676dd25-a1f2-440f-abd2-90b2ba69b20d@gutov.dev> <9078f92b-f567-42ce-8539-30eb7d097828@gutov.dev> <3eeffc6b-edd7-462b-a7da-d3463c08ca5f@gutov.dev> <86a5na2xh3.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21163"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Dmitry Gutov , 69562@debbugs.gnu.org To: Ankit Gadiya Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Mar 07 11:56:52 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 1riBQh-0005KB-Cx for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 07 Mar 2024 11:56:51 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1riBQX-0003DQ-4u; Thu, 07 Mar 2024 05:56:41 -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 1riBQP-0003Ac-UF for bug-gnu-emacs@gnu.org; Thu, 07 Mar 2024 05:56:36 -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 1riBQN-0000Lz-QN for bug-gnu-emacs@gnu.org; Thu, 07 Mar 2024 05:56:33 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1riBQs-00040Q-4q for bug-gnu-emacs@gnu.org; Thu, 07 Mar 2024 05:57:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 07 Mar 2024 10:57: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.170980899115358 (code B ref 69562); Thu, 07 Mar 2024 10:57:02 +0000 Original-Received: (at 69562) by debbugs.gnu.org; 7 Mar 2024 10:56:31 +0000 Original-Received: from localhost ([127.0.0.1]:52652 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1riBQM-0003zd-TO for submit@debbugs.gnu.org; Thu, 07 Mar 2024 05:56:31 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:52618) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1riBQL-0003zQ-IJ for 69562@debbugs.gnu.org; Thu, 07 Mar 2024 05:56:30 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1riBPj-0008Gd-Vv; Thu, 07 Mar 2024 05:55:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=QkBtVEweITVo3EpAmUniwqqsyyUg7u4frYu+rIjVVY4=; b=QaLURQ/tQgMP AqXbyv/e1gaUcWA4m360+80gRUSarGjuTYd1RaIjgXEcsGqyqi7h/A7eSwgv8TJA4p1gWc/BQjXgK 5aOljGwUWBhQYeB+/o+OrFOjzZuOtUkQ9nuyEnlTiI//uZuGe5LYq6Q9L0ethaWTMF4SbhqIf128j K4oYXL3CmMW3ERpY69XQMeCyUUn7Js5v5ckPYDvNYIAXQy3Kf03fG3u2AZ/Ak+r5hiW6QbRkuQluC sSb0Pet3BjlWxdemwZmhO9v0SZORz00rRnUxBCUVTVFYPnV7st4UwQL58zENg8b1PooAD/otNqmHz bjPdBAn2aKvUYPRjchTP8w==; In-Reply-To: (message from Ankit Gadiya on Thu, 7 Mar 2024 15:45:02 +0530) 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:281159 Archived-At: > From: Ankit Gadiya > Date: Thu, 7 Mar 2024 15:45:02 +0530 > > * emacs -Q main.go > * M-x go-ts-mode > * Highlight the full docstring line with Mouse. > * M-x fill-paragraph Thanks. Now it's clear. > I think the difference between Dmitry and me was that I was highlighting the > docstring and Dmitry was not. I tried the same steps but without highlighting > just with the cursor somewhere in the docstring line and it worked as expected. > I believe this is what Dmitry observed as well. This is the content of my buffer > without highlighting the step. Well, fill-paragraph is documented to behave differently when the region is active. Did you have any special reason to highlight the comment, instead of just typing M-q inside the comment?