From unknown Sun Jun 22 11:29:43 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#72461 <72461@debbugs.gnu.org> To: bug#72461 <72461@debbugs.gnu.org> Subject: Status: [PATCH] js-ts-mode: Make jsdoc's "description" block a comment Reply-To: bug#72461 <72461@debbugs.gnu.org> Date: Sun, 22 Jun 2025 18:29:43 +0000 retitle 72461 [PATCH] js-ts-mode: Make jsdoc's "description" block a comment reassign 72461 emacs submitter 72461 Damien Cassou severity 72461 normal tag 72461 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 04 09:05:08 2024 Received: (at submit) by debbugs.gnu.org; 4 Aug 2024 13:05:09 +0000 Received: from localhost ([127.0.0.1]:55612 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1saav6-0004ez-Kk for submit@debbugs.gnu.org; Sun, 04 Aug 2024 09:05:08 -0400 Received: from lists.gnu.org ([209.51.188.17]:37390) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1saav4-0004ei-9d for submit@debbugs.gnu.org; Sun, 04 Aug 2024 09:05:06 -0400 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 1saauh-0008K1-3D for bug-gnu-emacs@gnu.org; Sun, 04 Aug 2024 09:04:44 -0400 Received: from mail.reprendre.net ([193.23.30.35]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1saaub-0007DS-Bd for bug-gnu-emacs@gnu.org; Sun, 04 Aug 2024 09:04:40 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 3D8B52C0B2B; Sun, 4 Aug 2024 15:04:30 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cassou.me; s=dkim; t=1722776672; h=from:subject:date:message-id:to:cc:mime-version:content-type; bh=21fPOlZiKHTT6PxE5e7LxD5X/A3TxrTNR3YVeLqAgEk=; b=gUPcJW/ZAK1c9KzM5EeshEQqIpEdu6oCeR6QSp/qVaF+UtD90TQxxfO6z5QU2SWQkL002W qsjigb3c5L6RbrmFHTHMcNdZQ1lVavAqj8MIfzxd4H0g5ZtimuLE+bUvRCOJ625WQV+jy5 Kmo64rJfLDeiGaa/C3y+3OfkLGqeA1QlwtKZiv4CjT5e5F+VTlxPvDbIqbwnxe73Yuzijy a1ZVub7PyJJf/MhR6x8f+NUeai/resH9px9rViflRwfnJC+TEgYZTx8mhFz+mN4wq0XNtn n6GpL0bz/liEUWoMU7yhPsJYO3paSS8l3TA5Al5R73HE0vVGNFO+HtnZkOLW5Q== From: Damien Cassou To: bug-gnu-emacs@gnu.org Subject: [PATCH] js-ts-mode: Make jsdoc's "description" block a comment Date: Sun, 04 Aug 2024 15:04:29 +0200 Message-ID: <87wmkwo2w2.fsf@cassou.me> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Last-TLS-Session-Version: TLSv1.3 Received-SPF: pass client-ip=193.23.30.35; 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-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: Dmitry Gutov , Yuan Fu X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --=-=-= Content-Type: text/plain Tags: patch Hi, the c-ts-common part of the patches in bug#71760 was merged into emacs-30 but not the js one. As a result, filling documentation in js-ts-mode still doesn't work. I attach the unmerged part again in the hope it will be merged to both emacs-30 and master. Best -- Damien Cassou "Success is the ability to go from one failure to another without losing enthusiasm." --Winston Churchill --=-=-= Content-Type: text/patch Content-Disposition: attachment; filename=0001-js-ts-mode-Make-jsdoc-s-description-block-a-comment.patch >From e444692026cae97dfaecebf5972507ae95f5e488 Mon Sep 17 00:00:00 2001 From: Damien Cassou Date: Sun, 21 Jul 2024 21:32:34 +0200 Subject: [PATCH 1/2] js-ts-mode: Make jsdoc's "description" block a comment * lisp/progmodes/js.el (js-ts-mode): Add "description" to `c-ts-common--comment-regexp'. --- lisp/progmodes/js.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lisp/progmodes/js.el b/lisp/progmodes/js.el index f8140c14a49..75c8111035c 100644 --- a/lisp/progmodes/js.el +++ b/lisp/progmodes/js.el @@ -3946,7 +3946,9 @@ js-ts-mode :embed 'jsdoc :host 'javascript :local t - `(((comment) @capture (:match ,js--treesit-jsdoc-beginning-regexp @capture)))))) + `(((comment) @capture (:match ,js--treesit-jsdoc-beginning-regexp @capture))))) + + (setq c-ts-common--comment-regexp (rx (or "comment" "line_comment" "block_comment" "description")))) ;; Imenu (setq-local treesit-simple-imenu-settings -- 2.45.2 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 04 23:19:25 2024 Received: (at 72461-done) by debbugs.gnu.org; 5 Aug 2024 03:19:25 +0000 Received: from localhost ([127.0.0.1]:57663 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1saoFp-0006Sj-39 for submit@debbugs.gnu.org; Sun, 04 Aug 2024 23:19:25 -0400 Received: from mail-oa1-f49.google.com ([209.85.160.49]:50583) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1saoFn-0006SF-4i for 72461-done@debbugs.gnu.org; Sun, 04 Aug 2024 23:19:23 -0400 Received: by mail-oa1-f49.google.com with SMTP id 586e51a60fabf-2611da054fbso6044945fac.1 for <72461-done@debbugs.gnu.org>; Sun, 04 Aug 2024 20:19:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722827875; x=1723432675; darn=debbugs.gnu.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=o1ADDBtWij8VAye3LpClW56IHDPWlrC6tLkKrbehSjI=; b=SSuAftkoZEar+bieQQK5+ETghcjEduM1fCkp6nWJApwoGM2BcACgWOlK0GMiKnAtlC OPxS/SEoT0KqqcWh4QlkLkQRGuQ1lo6sk1vie8YY44n66jZurblAEMI87DsJ6kfLK2gL yFmGzy0qmBlMXZYfn79e4VOUtED2DLjar01FiF8YoYahLHWOVKAUEgbFpt31eu18Rbd7 iiPLrozC9PsfSlBTlglMY2EtLhqZAKB6FdJM9ZCLWu8fyj3WVEVsoMOKHEr7JEhm8bxW 9CH+LbV+pjU0WiYY1OFTi9URumgd9E1/uih+4ljvWPxcDS3FOYaaToKtp5NzsCvQe9Di OeMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722827875; x=1723432675; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=o1ADDBtWij8VAye3LpClW56IHDPWlrC6tLkKrbehSjI=; b=b4mvVdGyZOQGdKRivbJ719TlxGw7zFJt+L2CDqh1sMHT60qnVqwk/vppzERrxe9QgE OQjvIFXg6v6cyxHxiOrGIeUPhWJ4EObDti11i7M0URqT0z9Z8foUvlKDD3YTj/oHZk7Y 7Iu6IXu6nx1+MaaWiYt73g3YHlb84NGT8NdowyTEV6F8twUz9ErgzTKJZgjygFGKSbDo +Qhzo2Qi7wtwB0HipFkqMQFSvDc8cJLNGRC4pottXbQcAGd2QtJby5Yeacq3FlaPbVmH q360XQbRzrkShTOJnqFfolvikoYwamba1Ufu9CXukGpFqclLi4X2rWMoFUIsK3THQ5G8 EDhA== X-Gm-Message-State: AOJu0YwTs8eA29mcRLTNSlPkLf1xakr+8QknRv2w2QXSIezOwn1phC6S PGA6c3ZTTa5BGpaDINz7DSmkthz6efC9UBLPqrIiUy4WMrxTE6KQ X-Google-Smtp-Source: AGHT+IEnBfVZaYFb7sQzpWYC+UHZYfjTr0r6RG42pY6pAWfFsRlI5Gpp7TDI/zmzRBESCuiIQtOmPA== X-Received: by 2002:a05:6870:41d2:b0:260:fdd5:4147 with SMTP id 586e51a60fabf-26891b1d24amr14025197fac.15.1722827875399; Sun, 04 Aug 2024 20:17:55 -0700 (PDT) Received: from smtpclient.apple ([2601:646:8f81:6120:90c7:b430:aa7b:7b1f]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-7106ecfc3cfsm4654189b3a.146.2024.08.04.20.17.54 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 04 Aug 2024 20:17:54 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.600.62\)) Subject: Re: bug#72461: [PATCH] js-ts-mode: Make jsdoc's "description" block a comment From: Yuan Fu In-Reply-To: <87wmkwo2w2.fsf@cassou.me> Date: Sun, 4 Aug 2024 20:17:43 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <19B6B722-2750-4FCC-994E-1A37D02E8AB8@gmail.com> References: <87wmkwo2w2.fsf@cassou.me> To: Damien Cassou X-Mailer: Apple Mail (2.3774.600.62) X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 72461-done Cc: Dmitry Gutov , 72461-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > On Aug 4, 2024, at 6:04=E2=80=AFAM, Damien Cassou = wrote: >=20 > Tags: patch >=20 > Hi, >=20 > the c-ts-common part of the patches in bug#71760 was merged into > emacs-30 but not the js one. As a result, filling documentation in > js-ts-mode still doesn't work. I attach the unmerged part again in the > hope it will be merged to both emacs-30 and master. >=20 > Best Ah sorry, I thought this patch is already merged. I just applied and = pushed to emacs-30. Thanks. Yuan= From unknown Sun Jun 22 11:29:43 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 02 Sep 2024 11:24:10 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator