From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ankit Gadiya via "Bug reports for GNU Emacs, the Swiss army knife of text editors" 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 14:11:14 +0530 Message-ID: Reply-To: Ankit Gadiya Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1008"; mail-complaints-to="usenet@ciao.gmane.io" To: 69562@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Mar 05 13:23:49 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 1rhTpj-000AWS-WC for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 05 Mar 2024 13:23:48 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rhTpW-0003up-Gk; Tue, 05 Mar 2024 07:23:34 -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 1rhTpU-0003lS-4e for bug-gnu-emacs@gnu.org; Tue, 05 Mar 2024 07:23: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 1rhTpT-0004xQ-NH for bug-gnu-emacs@gnu.org; Tue, 05 Mar 2024 07:23:31 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rhTpx-0007nZ-Rl for bug-gnu-emacs@gnu.org; Tue, 05 Mar 2024 07:24:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ankit Gadiya Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 05 Mar 2024 12:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 69562 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.170964140829911 (code B ref -1); Tue, 05 Mar 2024 12:24:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 5 Mar 2024 12:23:28 +0000 Original-Received: from localhost ([127.0.0.1]:46782 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rhTpP-0007mM-84 for submit@debbugs.gnu.org; Tue, 05 Mar 2024 07:23:28 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:38182) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rhQN7-0007Oi-9M for submit@debbugs.gnu.org; Tue, 05 Mar 2024 03:42:03 -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 1rhQMb-0007Iz-5y for bug-gnu-emacs@gnu.org; Tue, 05 Mar 2024 03:41:29 -0500 Original-Received: from mail-vs1-xe35.google.com ([2607:f8b0:4864:20::e35]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rhQMZ-0000LQ-3d for bug-gnu-emacs@gnu.org; Tue, 05 Mar 2024 03:41:28 -0500 Original-Received: by mail-vs1-xe35.google.com with SMTP id ada2fe7eead31-472807a1d59so921438137.2 for ; Tue, 05 Mar 2024 00:41:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=argp.in; s=google; t=1709628085; x=1710232885; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=5mcdJtcEsH0QApek0cIec0mV1HTAsUbfZcT0vait4Rk=; b=falEJMFv1T3Ay8pNZx+Rm4WFY4SNTxUgxfin8S+1i5vITxV5cQPbHXkqQBToXF3lUh STwH+v9tAJ03m4Ok/SW+dBVPZ/n6nNDL3aEG0VRqvr7XpgVEGZcUo7ONP1syXCoQZ0m5 +71SBEbXnXGlOW1jQaAMHZ8Xx4eNSlf/+Bv+P/4j9Sugs9sKW+SUSTXnKPHw+L0llTIW Pq2Oz+StSIV6PhROOT2JeIJ/JsCjSq4HoBzwHegoIkKqRtmseOkk9DUBGazBt496lskt qugCa33gmVlYgHFzCmNGTRle75z93gV02Dz13s9mhuKLVvuWXprYEDHnSGt/TAYDCvdI FOPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709628085; x=1710232885; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=5mcdJtcEsH0QApek0cIec0mV1HTAsUbfZcT0vait4Rk=; b=E6ZbiMlwIOkhK0Fe1Fg+SrydA+QrqgsglCNnixXUopwZ8gBDEygLXvkip4zvK+rL4p RccSGp6RMljBWtM07S8pAM/vbfdhZ8yaE7LwBI4iwpGfYhrJ7j7OTtRQ9zo71fQeWY/W LSyyP71R1moDJgRCtuoit0VtsyzhuTuYkrfHqKp9bN9b9rVAtbpo9/7u0qj1RWNerl28 IUrtnlmA3UirdoTSCPUQwlat++B+tw1nuRIP+s5dUkHc02pCnJHlwGSK5JkKgSf8gtzN Rn3d0WOHaGMHLbtfJ/dJSFO4Qz/isUs1693S01X/KEWwCXmz2mJ3rw6sXIHu698no3sh w4Xw== X-Gm-Message-State: AOJu0YzGlYScX2tI5co44ukOWlrM/JnC3p+kfJrPV6XZiw97uB0Zls1U zKR7wFmUegOu0JkmJuMQ07mNqYJ/NwHgcbD1z+meNvhnWqC4BiFgVPt/St37wuKVDuagOE9Iu2T jLo74kvempdyDozRhTyjv1DVwqHTW25uDmgaNp/3zUgxMlLj928MobQ== X-Google-Smtp-Source: AGHT+IEOhXkQjNnXloyW/wy2yHS1MbqUwA0YyBnHU7x4D3htvA/Y66WWxlsLPH6PPKBePCi3ROPOp9icwAo8F+6XucE= X-Received: by 2002:a67:ce93:0:b0:472:7a7d:2b64 with SMTP id c19-20020a67ce93000000b004727a7d2b64mr972034vse.4.1709628084916; Tue, 05 Mar 2024 00:41:24 -0800 (PST) Received-SPF: pass client-ip=2607:f8b0:4864:20::e35; envelope-from=ankit@argp.in; helo=mail-vs1-xe35.google.com 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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Tue, 05 Mar 2024 07:23:26 -0500 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:281044 Archived-At: 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() { } In GNU Emacs 29.2.50 (build 6, x86_64-pc-linux-gnu, GTK+ Version 3.24.38, cairo version 1.16.0) of 2024-03-04 built on t14 Repository revision: ae80192d97b8d0e54a9429091cd84190bdbeb49e Repository branch: emacs-29 System Description: Debian GNU/Linux 12 (bookworm) Configured using: 'configure --prefix=/usr/local/ --localstatedir=/var/local/ --libdir=/usr/local/lib/ --sysconfdir=/usr/local/etc/ --mandir=/usr/local/share/man/ --with-gameuser=:games --with-modules --without-libotf --without-m17n-flt --without-gconf --without-gsettings --with-native-compilation=aot --with-pgtk --without-xaw3d --without-cairo --without-xinput2 --with-sound=no --with-json --with-mailutils --with-tree-sitter --with-rsvg 'CFLAGS=-O2 -pipe -march=native -fomit-frame-pointer'' Configured features: CAIRO DBUS FREETYPE GLIB GMP GNUTLS HARFBUZZ JPEG JSON LIBSELINUX LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PGTK PNG RSVG SECCOMP SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XIM GTK3 ZLIB Important settings: value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: Fundamental Minor modes in effect: corfu-popupinfo-mode: t windmove-mode: t hyperbole-mode: t global-git-commit-mode: t magit-auto-revert-mode: t evil-commentary-mode: t global-evil-collection-unimpaired-mode: t evil-collection-unimpaired-mode: t evil-mode: t evil-local-mode: t winner-mode: t global-corfu-mode: t corfu-mode: t override-global-mode: t marginalia-mode: t vertico-mode: t shell-dirtrack-mode: t which-key-mode: t savehist-mode: t global-auto-revert-mode: t pixel-scroll-precision-mode: t tooltip-mode: t global-eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t column-number-mode: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: /home/ankit/.config/emacs/elpa/transient-20240226.2332/transient hides /usr/local/share/emacs/29.2.50/lisp/transient /home/ankit/.config/emacs/elpa/jsonrpc-1.0.24/jsonrpc hides /usr/local/share/emacs/29.2.50/lisp/jsonrpc /home/ankit/.config/emacs/elpa/eglot-1.17/eglot hides /usr/local/share/emacs/29.2.50/lisp/progmodes/eglot /home/ankit/.config/emacs/elpa/eldoc-1.15.0/eldoc hides /usr/local/share/emacs/29.2.50/lisp/emacs-lisp/eldoc Features: (shadow hl-line mail-extr emacsbug mule-util corfu-popupinfo mastodon mastodon-search mastodon-toot facemenu mastodon-iso persist mastodon-http request org-alert org-agenda alert log4e notifications gntp org-modern evil-collection-org-present org-present evil-collection-custom cus-edit cus-load hyperbole hinit hui hui-mouse hmouse-key hui-menu hyrolo-menu hui-jmenu hibtypes hib-doc-id hyrolo sort klink hmouse-tag hib-kbd hui-mini hib-debbugs hsys-www evil-collection-eww eww url-queue mm-url hib-social hypb-ert hactypes hsys-org org-element org-persist xdg org-id org-refile avl-tree evil-collection-org org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-src ob-comint org-pcomplete org-list org-footnote org-faces org-entities ob-emacs-lisp ob-core ob-eval org-cycle org-table ol org-fold org-fold-core org-keys oc org-loaddefs org-version org-compat org-macs evil-collection-man man hargs hpath evil-collection-outline noutline outline hmouse-sh hsettings hui-em-but hbut hmouse-drv hui-window hycontrol windmove hui-select hbdata hgnus gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime gnutls dig gnus-sum shr pixel-fill kinsoku url-file svg dom gnus-group gnus-undo gnus-start gnus-dbus dbus xml gnus-cloud nnimap nnmail mail-source utf7 nnoo gnus-spec gnus-int gnus-range gnus-win evil-collection-gnus gnus nnheader range hsmail hmail htz cal-julian evil-collection-calendar cal-menu calendar cal-loaddefs hbmap hmoccur hvar hypb locate hversion hload-path magit-bookmark evil-collection-magit magit-submodule magit-blame magit-stash magit-reflog magit-bisect magit-push magit-pull magit-fetch magit-clone magit-remote magit-commit magit-sequence magit-notes magit-worktree magit-tag magit-merge magit-branch magit-reset magit-files magit-refs magit-status magit magit-repos magit-apply magit-wip magit-log which-func magit-diff smerge-mode git-commit evil-collection-log-edit log-edit message sendmail yank-media puny evil-collection-dired dired dired-loaddefs rfc822 mml mml-sec evil-collection-epa epa derived epg rfc6068 epg-config gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr mailabbrev mail-utils gmm-utils mailheader pcvs-util add-log magit-core magit-autorevert magit-margin magit-transient magit-process with-editor server magit-mode magit-git magit-base evil-collection-magit-section magit-section cursor-sensor crm dash geiser-guile info-look transient geiser-debug geiser-repl geiser-image geiser-capf geiser-doc geiser-menu geiser-autodoc geiser-edit etags fileloop generator geiser-completion geiser-eval geiser-connection tq geiser-syntax evil-collection-scheme scheme geiser-impl help-fns radix-tree geiser-log geiser-popup evil-collection-view view geiser-custom geiser-base evil-collection-geiser geiser dape evil-collection-eglot eglot external-completion evil-collection-xref xref evil-collection-flymake flymake-proc flymake diff evil-collection-diff-mode diff-mode evil-collection-ert ert ewoc evil-collection-debug debug backtrace find-func evil-collection-imenu imenu jsonrpc gdb-mi bindat gud project evil-collection-compile compile repeat pulse color just-mode jq-mode smie c++-ts-mode c-ts-mode c-ts-common treesit evil-commentary evil-commentary-integration evil-collection-unimpaired evil-collection-which-key evil-collection-vertico evil-collection-tabulated-list evil-collection-tab-bar evil-collection-simple evil-collection-replace evil-collection-process-menu evil-collection-package-menu evil-collection-info evil-collection-indent evil-collection-help evil-collection-elisp-mode evil-collection-eldoc evil-collection-corfu evil-collection-consult evil-collection-comint evil-collection-buff-menu evil-collection-bookmark evil-collection annalist evil evil-integration evil-maps evil-commands reveal evil-jumps evil-command-window evil-types evil-search evil-ex evil-macros evil-repeat evil-states evil-core comp comp-cstr warnings icons advice evil-common thingatpt rect evil-vars winner orderless corfu edmacro kmacro use-package-bind-key bind-key easy-mmode marginalia vertico consult bookmark text-property-search pp tramp tramp-loaddefs trampver tramp-integration files-x tramp-compat rx shell pcomplete comint ansi-osc parse-time iso8601 time-date format-spec ansi-color which-key exec-path-from-shell recentf tree-widget wid-edit no-littering compat use-package-ensure savehist autorevert filenotify modus-vivendi-theme modus-themes cl-extra help-mode use-package-core pixel-scroll cua-base ring consult-autoloads corfu-terminal-autoloads corfu-autoloads dape-autoloads eglot-autoloads eldoc-autoloads evil-collection-autoloads annalist-autoloads evil-commentary-autoloads evil-autoloads exec-path-from-shell-autoloads fish-mode-autoloads geiser-guile-autoloads geiser-autoloads general-autoloads goto-chg-autoloads hyperbole-autoloads kotl-autoloads hact set hhist jq-mode-autoloads jsonrpc-autoloads just-mode-autoloads magit-autoloads pcase git-commit-autoloads magit-section-autoloads dash-autoloads marginalia-autoloads markdown-mode-autoloads mastodon-autoloads no-littering-autoloads orderless-autoloads org-alert-autoloads alert-autoloads log4e-autoloads gntp-autoloads org-modern-autoloads org-present-autoloads persist-autoloads popon-autoloads request-autoloads restclient-autoloads transient-autoloads vertico-autoloads which-key-autoloads with-editor-autoloads info compat-autoloads yasnippet-autoloads zig-mode-autoloads reformatter-autoloads package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie generate-lisp-file url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs password-cache json subr-x map byte-opt gv bytecomp byte-compile url-vars cl-loaddefs cl-lib rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/pgtk-win pgtk-win term/common-win pgtk-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify dynamic-setting font-render-setting cairo gtk pgtk multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 642718 92991) (symbols 48 45307 7) (strings 32 153518 11805) (string-bytes 1 5519927) (vectors 16 88306) (vector-slots 8 1533184 95107) (floats 8 667 421) (intervals 56 794 0) (buffers 984 13))