From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Damien Cassou Newsgroups: gmane.emacs.bugs Subject: bug#72116: 30.0.60; Filling c-ts-mode documentation is broken Date: Sun, 14 Jul 2024 20:23:09 +0200 Message-ID: <87cynf4yuq.fsf@cassou.me> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15089"; mail-complaints-to="usenet@ciao.gmane.io" To: 72116@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jul 14 20:24:14 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 1sT3tN-0003j0-Qu for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 14 Jul 2024 20:24:13 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sT3tC-0000yY-R9; Sun, 14 Jul 2024 14:24:02 -0400 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 1sT3tB-0000yB-A2 for bug-gnu-emacs@gnu.org; Sun, 14 Jul 2024 14:24:01 -0400 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 1sT3tB-0005V3-1B for bug-gnu-emacs@gnu.org; Sun, 14 Jul 2024 14:24:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sT3tC-0005ql-CO for bug-gnu-emacs@gnu.org; Sun, 14 Jul 2024 14:24:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Damien Cassou Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 14 Jul 2024 18:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 72116 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.172098140322429 (code B ref -1); Sun, 14 Jul 2024 18:24:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 14 Jul 2024 18:23:23 +0000 Original-Received: from localhost ([127.0.0.1]:58547 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sT3sY-0005pg-W2 for submit@debbugs.gnu.org; Sun, 14 Jul 2024 14:23:23 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:42352) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sT3sX-0005pZ-DT for submit@debbugs.gnu.org; Sun, 14 Jul 2024 14:23:21 -0400 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 1sT3sV-0000wi-K7 for bug-gnu-emacs@gnu.org; Sun, 14 Jul 2024 14:23:19 -0400 Original-Received: from mail.reprendre.net ([2001:910:1410:501::1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sT3sT-00056u-0k for bug-gnu-emacs@gnu.org; Sun, 14 Jul 2024 14:23:19 -0400 Original-Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 72E842C93D9 for ; Sun, 14 Jul 2024 20:23:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cassou.me; s=dkim; t=1720981390; h=from:subject:date:message-id:to:mime-version:content-type; bh=RBnlpisTTNitL/n4Qi8oDOBmS0mXffhnx8qrgazJT2w=; b=WAUNe62jH73duOWVr2/IbKKq68WWK5lrjihnJI6JBPUxqUfaT2LoGCq/mRBhcr1d0fKs4u 68qTV8IJjZECbpPeSbewl6RLPA0kGJbas6MP/YwiPYGZu85YmVEj8sMUddB8pIZnpnHydJ QJA+bKfhzgG2p1kl5xkI9p8uDNOVmvDucTe3joWAui1CBbw6I+vDjxnYOlT8M55OENpBNX DRso4EhEO2nbAv8546zf6Yhl3o6V10T1uxBOK6zF9zLoNTE6is4WxgjjOk7NHTyP7++hg3 G5Ffudo3+CSCFzlZPIi9ZOwUl/8sAbrcDYS+P+JUg4ZyZndJuW165vELWs4MbQ== X-Last-TLS-Session-Version: TLSv1.3 Received-SPF: pass client-ip=2001:910:1410:501::1; envelope-from=damien@cassou.me; helo=mail.reprendre.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:288844 Archived-At: --=-=-= Content-Type: text/plain Filling documentation in a c-ts-mode buffer doesn't insert the " * " prefix. It works fine in c-mode. How to reproduce: 1. Install the C treesitter grammar 2. Start emacs with "emacs -Q" 3. Open the attached file in a new buffer 4. Run M-x c-ts-mode 5. Move point to the middle of line 2 6. Press M-q Expected: 2 lines of documentation, each one starting with " * " Actual: 2 lines of documentation, only the first one starting with " * " If you remove step 4 from the above instructions, c-mode will do the work just fine. The solution to this bug could help solve bug#71760. -- Damien Cassou "Success is the ability to go from one failure to another without losing enthusiasm." --Winston Churchill --=-=-= Content-Type: text/plain Content-Disposition: attachment; filename=foo.c /** * rsite nrsoti ernsto ierntires ntoritsen roitsenrsoit enrstoi ensrotie nrsit ensroit enrsoi ensrien */ int f() { } --=-=-=--