GNU bug report logs - #71874
30.0.60; [PATCH] Fontify doxygen comments in c-ts-mode,c++-ts-mode and java-ts-mode

Previous Next

Package: emacs;

Reported by: Vincenzo Pupillo <v.pupillo <at> gmail.com>

Date: Mon, 1 Jul 2024 10:49:02 UTC

Severity: normal

Tags: patch

Found in version 30.0.60

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 71874 in the body.
You can then email your comments to 71874 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#71874; Package emacs. (Mon, 01 Jul 2024 10:49:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Vincenzo Pupillo <v.pupillo <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 01 Jul 2024 10:49:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Vincenzo Pupillo <v.pupillo <at> gmail.com>
To: Bug Emacs <bug-gnu-emacs <at> gnu.org>
Subject: 30.0.60;
 [PATCH] Fontify doxygen comments in c-ts-mode,c++-ts-mode and java-ts-mode
Date: Mon, 01 Jul 2024 12:48:33 +0200
[Message part 1 (text/plain, inline)]
Ciao,
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.

Vincenzo
[0001-Fontify-doxygen-support-to-c-ts-mode-c-ts-mode-and-j.patch (text/x-patch, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#71874; Package emacs. (Mon, 01 Jul 2024 10:53:02 GMT) Full text and rfc822 format available.

Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Vincenzo Pupillo <v.pupillo <at> gmail.com>
To: 71874 <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
Cc: Vincenzo Pupillo <v.pupillo <at> gmail.com>
Subject: Re: bug#71874: 30.0.60;
 [PATCH] Fontify doxygen comments in c-ts-mode,c++-ts-mode and java-ts-mode
Date: Mon, 01 Jul 2024 12:52:36 +0200
[Message part 1 (text/plain, inline)]
Whoops, I forgot the screenshots.
Vincenzo

In data lunedì 1 luglio 2024 12:48:33 CEST, Vincenzo Pupillo ha scritto:
> Ciao,
> 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.
> 
> Vincenzo
[c++-ts-mode-doxygen.png (image/png, attachment)]
[java-ts-mode-with-doxygen.png (image/png, attachment)]
[c-ts-mode.png (image/png, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#71874; Package emacs. (Mon, 01 Jul 2024 10:54:01 GMT) Full text and rfc822 format available.

Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Sat, 13 Jul 2024 10:20:02 GMT) Full text and rfc822 format available.

Notification sent to Vincenzo Pupillo <v.pupillo <at> gmail.com>:
bug acknowledged by developer. (Sat, 13 Jul 2024 10:20:02 GMT) Full text and rfc822 format available.

Message #16 received at 71874-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Vincenzo Pupillo <v.pupillo <at> gmail.com>
Cc: 71874-done <at> debbugs.gnu.org
Subject: Re: 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
> From: Vincenzo Pupillo <v.pupillo <at> gmail.com>
> 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.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#71874; Package emacs. (Sat, 13 Jul 2024 10:58:02 GMT) Full text and rfc822 format available.

Message #19 received at 71874-done <at> debbugs.gnu.org (full text, mbox):

From: Vincenzo Pupillo <v.pupillo <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 71874-done <at> debbugs.gnu.org
Subject: Re: 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 part 1 (text/plain, inline)]
Ok, thank you Eli!
Vincenzo 

Il 13 luglio 2024 12:19:21 CEST, Eli Zaretskii <eliz <at> gnu.org> ha scritto:
>> From: Vincenzo Pupillo <v.pupillo <at> gmail.com>
>> 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.
[Message part 2 (text/html, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 10 Aug 2024 11:24:13 GMT) Full text and rfc822 format available.

This bug report was last modified 28 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.