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#71874: 30.0.60; [PATCH] Fontify doxygen comments in c-ts-mode,c++-ts-mode and java-ts-mode Date: Sat, 13 Jul 2024 13:19:21 +0300 Message-ID: <86ttgtk312.fsf@gnu.org> References: <9826503.eNJFYEL58v@3-191.divsi.unimi.it> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19230"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 71874-done@debbugs.gnu.org To: Vincenzo Pupillo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jul 13 12:20: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 1sSZs1-0004p0-Ba for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 13 Jul 2024 12:20:49 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sSZrL-0003Wr-0s; Sat, 13 Jul 2024 06:20:07 -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 1sSZrH-0003UV-Gc for bug-gnu-emacs@gnu.org; Sat, 13 Jul 2024 06:20:03 -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 1sSZrG-0006VN-SG for bug-gnu-emacs@gnu.org; Sat, 13 Jul 2024 06:20:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sSZrG-0001Yv-J1 for bug-gnu-emacs@gnu.org; Sat, 13 Jul 2024 06:20:02 -0400 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sat, 13 Jul 2024 10:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 71874 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Mail-Followup-To: 71874@debbugs.gnu.org, eliz@gnu.org, v.pupillo@gmail.com Original-Received: via spool by 71874-done@debbugs.gnu.org id=D71874.17208659735938 (code D ref 71874); Sat, 13 Jul 2024 10:20:02 +0000 Original-Received: (at 71874-done) by debbugs.gnu.org; 13 Jul 2024 10:19:33 +0000 Original-Received: from localhost ([127.0.0.1]:55154 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sSZqm-0001Xi-VQ for submit@debbugs.gnu.org; Sat, 13 Jul 2024 06:19:33 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:47032) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sSZqk-0001XO-4h for 71874-done@debbugs.gnu.org; Sat, 13 Jul 2024 06:19:31 -0400 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 1sSZqd-0006De-Om; Sat, 13 Jul 2024 06:19:23 -0400 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=KgEct91skbvD+JHOE+cC7Vz5xGfUKYLbB+kosFbRBOk=; b=a604AkelrYpC hJrNFgnhFDTYkL64BZ3oeDMUgiO1aqUdO/G7IP92QyjwfZyocj67QIIZNGfyYd/ZzU9wFliKrYcUf 500TBE7pUUj5FO3dFaEZoyLNtaBwR8liXBkxfokKIJYuOW5CsFULvRDZWVUrg5xevZVEjcBmUkbCL AFmy6wu4Mw+zluhrHQ8wi6B9XXPXip3GZPlQTC2dTLfOEelLcU9kEW0lNHO1XUtgOFrtMyAmx8v+y 4dtaEZ80PK7YchWyGr9OYKVlXLM0ATY3paTE9ItO2nU/SrrztIMw/dnTdKT0QGB3Y4HiG9GMGw1wG lCzHnKvYyd3RCUipvld96w==; In-Reply-To: <9826503.eNJFYEL58v@3-191.divsi.unimi.it> (message from Vincenzo Pupillo on Mon, 01 Jul 2024 12:48:33 +0200) 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:288801 Archived-At: > From: Vincenzo Pupillo > Date: Mon, 01 Jul 2024 12:48:33 +0200 > > This patch adds support for comment fontification using the doxygen parser: > https://github.com/tree-sitter-grammars/tree-sitter-doxygen > > This is the same parser used by nvim treesitter and seems to be quite stable. > The attached screenshot shows the result. > This patch also works with emacs 31. Thanks, I installed this on the master branch. The code needed a minor fix to not show a warning if the Doxygen grammar is not available. 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/..." file-name entry), and try to follow this style in the future. With that, I'm closing this bug.