From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Vincenzo Pupillo Newsgroups: gmane.emacs.bugs Subject: bug#71874: 30.0.60; [PATCH] Fontify doxygen comments in c-ts-mode,c++-ts-mode and java-ts-mode Date: Sat, 13 Jul 2024 12:55:54 +0200 Message-ID: References: <9826503.eNJFYEL58v@3-191.divsi.unimi.it> <86ttgtk312.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=----Q1RJAYYMLDUR99XONVWO709Q6G54RJ Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8012"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 71874-done@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jul 13 12:58:38 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 1sSaSb-0001ro-O9 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 13 Jul 2024 12:58:37 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sSaSG-000537-3w; Sat, 13 Jul 2024 06:58:16 -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 1sSaS1-00052Z-Uh for bug-gnu-emacs@gnu.org; Sat, 13 Jul 2024 06:58:04 -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 1sSaS1-0000WY-La for bug-gnu-emacs@gnu.org; Sat, 13 Jul 2024 06:58:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sSaS2-0002T9-DD for bug-gnu-emacs@gnu.org; Sat, 13 Jul 2024 06:58:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Vincenzo Pupillo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 13 Jul 2024 10:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71874 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 71874-done@debbugs.gnu.org id=D71874.17208682269415 (code D ref 71874); Sat, 13 Jul 2024 10:58:02 +0000 Original-Received: (at 71874-done) by debbugs.gnu.org; 13 Jul 2024 10:57:06 +0000 Original-Received: from localhost ([127.0.0.1]:55192 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sSaR7-0002Rn-NC for submit@debbugs.gnu.org; Sat, 13 Jul 2024 06:57:06 -0400 Original-Received: from mail-ej1-f41.google.com ([209.85.218.41]:42218) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sSaR5-0002RI-CO for 71874-done@debbugs.gnu.org; Sat, 13 Jul 2024 06:57:04 -0400 Original-Received: by mail-ej1-f41.google.com with SMTP id a640c23a62f3a-a77d85f7fa3so441706666b.0 for <71874-done@debbugs.gnu.org>; Sat, 13 Jul 2024 03:57:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1720868157; x=1721472957; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:message-id:references :in-reply-to:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=DnIRQGanqYrCy+7VO/tMEZHa+u7/BGH2yn7onwDrw+w=; b=gcbZ+1WZR6y/rip96ZA55kivvsU2jWtWsfblP0VvWDWTRM5xt5oMuLHISa5xG1QPht zTlXKljypqllcEBzETaWxftA1RhZSzJDD2upkmHcnVADsvms6CzmFgN+DOyISICYN1+k nfbtD1WNFmkj0Rd0CUKXHa2lj4C3nRZzmtgPqvzlvPq/2RejPIstSjnM60CMEgZGHqWl e/9yVFfmP/oEH6ISQjgM3kTSXgbQUcAM3rri7nPS6kEGPNikHWdLwEqcLMFS09nN+hm2 44fnPx7xZyu5ebV1B7lCLOX1QthxoXwsNVA4blk6AkQDwee+6H7dtHs6nWkOIULqIfaU u4nw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720868157; x=1721472957; h=content-transfer-encoding:mime-version:message-id:references :in-reply-to:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=DnIRQGanqYrCy+7VO/tMEZHa+u7/BGH2yn7onwDrw+w=; b=t2k8848lus1O1aRXkfRqUVsLhpyFdmpjZnlCqyoMqmm3qVGAvxBMuUrLdCoEYU7jug BRx4Y5AjV9HH14e4yJUMbvCt9vfLRdo3HKPT50v0o+ip4GuvoXQK7oaWxa1rcVSoFhwu O7Ea7o/tKwYnKF2zhfMTZdQnHbbIdc4LWQ8es9iDNZnhUuAOxYr5ALSu7MabqMEKARCW 2/mHOCfwefxIYZwm1qMnBVlRNG90rMh/V5cAKVM4fhahu9NWyPIuYUXZ/8nw8D+aCUiL MhLlg4VRa9RnngN6iwweqdSczpnbUyEb/vLfQVQ3p1iPTk6WD82uS+pomwSpT6Ine5ag inBA== X-Gm-Message-State: AOJu0Yzu0hFnNW48dZMxBnCCp0e1SZZ4veYpAsTRUIVXVQOCTkdxgoDq odGw74zM3HrZdXLUvz9FMuw0DG2Qy06jpBmnkgAmMKtmP7TckhNz X-Google-Smtp-Source: AGHT+IHhXco0VY2LZRVZZ8BCDES14Dl0oiNzNwVduTLAmd61A+SDbWrs26wEhAhOQlgPPzotZJBTrQ== X-Received: by 2002:a17:907:97cf:b0:a77:e420:9e5d with SMTP id a640c23a62f3a-a799d3a44e5mr435328166b.34.1720868156502; Sat, 13 Jul 2024 03:55:56 -0700 (PDT) Original-Received: from [127.0.0.1] (93-32-172-197.ip34.fastwebnet.it. [93.32.172.197]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a79bc7ff715sm40621666b.161.2024.07.13.03.55.55 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 13 Jul 2024 03:55:56 -0700 (PDT) In-Reply-To: <86ttgtk312.fsf@gnu.org> 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:288806 Archived-At: ------Q1RJAYYMLDUR99XONVWO709Q6G54RJ Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ok, thank you Eli! Vincenzo=20 Il 13 luglio 2024 12:19:21 CEST, Eli Zaretskii ha scritto= : >> From: Vincenzo Pupillo >> Date: Mon, 01 Jul 2024 12:48:33 +0200 >>=20 >> This patch adds support for comment fontification using the doxygen par= ser: >> https://github=2Ecom/tree-sitter-grammars/tree-sitter-doxygen >>=20 >> This is the same parser used by nvim treesitter and seems to be quite s= table=2E >> The attached screenshot shows the result=2E >> This patch also works with emacs 31=2E > >Thanks, I installed this on the master branch=2E > >The code needed a minor fix to not show a warning if the Doxygen >grammar is not available=2E Also, please note the changes I made in the >style of the commit log messages (mainly showing the entries for the >same file together, not with a separate "* lisp/=2E=2E=2E" file-name entr= y), >and try to follow this style in the future=2E > >With that, I'm closing this bug=2E ------Q1RJAYYMLDUR99XONVWO709Q6G54RJ Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Ok, thank you Eli!
Vincenzo <= /div>

Il 13 luglio 2024= 12:19:21 CEST, Eli Zaretskii <eliz@gnu=2Eorg> ha scritto:
From: Vincenzo Pupillo <v=2Epupillo@gmail=2Ecom>
Da= te: Mon, 01 Jul 2024 12:48:33 +0200

This patch adds support for comm= ent fontification using the doxygen parser:
https://github=2Ecom/tree-sit= ter-grammars/tree-sitter-doxygen

This is the same parser used by= nvim treesitter and seems to be quite stable=2E
The attached screenshot= shows the result=2E
This patch also works with emacs 31=2E

Thanks, I installed this on the master bran= ch=2E

The code needed a minor fix to not show a warning if the Doxyg= en
grammar is not available=2E Also, please note the changes I made in = the
style of the commit log messages (mainly showing the entries for the=
same file together, not with a separate "* lisp/=2E=2E=2E" file-name en= try),
and try to follow this style in the future=2E

With that, I'= m closing this bug=2E
------Q1RJAYYMLDUR99XONVWO709Q6G54RJ--