From: Vincenzo Pupillo <v.pupillo@gmail.com>
To: 72814@debbugs.gnu.org, casouri@gmail.com
Cc: eliz@gnu.org
Subject: bug#72814: 31.0.50; Add a variable controlling doxygen support in C/C++/Java?
Date: Tue, 27 Aug 2024 09:36:51 +0200 [thread overview]
Message-ID: <333F4FC6-FAB2-4146-BE40-8C1DB2BF36D1@gmail.com> (raw)
In-Reply-To: <0708616B-CCE4-4AA5-81FA-FF41F2789018@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1478 bytes --]
Sorry Yuan, the spam filter is aggressive on my work email and I didn't see your email. In early versions of php-ts-mode there were two variables to disable parser injection for html and phpdoc. When, thanks in part to your help, I was able to get indentation and font locking to work properly, I preferred to remove them because they seemed unnecessary.
c-ts-mode has font locking for comments itself, so it is fine to introduce this variable from my point of view.
Vincenzo
Il 27 agosto 2024 05:13:52 CEST, Yuan Fu <casouri@gmail.com> ha scritto:
>
>Yuan Fu <casouri@gmail.com> writes:
>
>> X-Debbugs-CC: eliz@gnu.org <mailto:eliz@gnu.org>,
>> vincenzo.pupillo@unimi.it
>>
>> Should we add a custom option that controls whether to enable doxygen
>> support in c-ts-mode/c++-ts-mode/java-ts-mode?
>>
>> Technically this isn’t a problem, since the doxygen support is only
>> enabled if there’s doxygen grammar on the system. But many people
>> (me) might install a grammar bundle that includes dozens of
>> grammars for convenience. Then the doxygen support would turn on when
>> the user doesn’t really intend to use it.
>>
>> I propose we add custom options like c-ts-mode-enable-doxygen and set it
>> to t by default, so the default behavior is still to enable doxygen
>> support when the grammar for it exists, but people who don’t want to pay
>> for it can turn it off by setting the option to nil.
>>
>> Yuan
>
>Eli, WDYT?
>
>
>
[-- Attachment #2: Type: text/html, Size: 2027 bytes --]
next prev parent reply other threads:[~2024-08-27 7:36 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <D6CB8DB6-0D4A-496D-8EFF-4C03BFCC6858@gmail.com>
2024-08-27 3:13 ` bug#72814: 31.0.50; Add a variable controlling doxygen support in C/C++/Java? Yuan Fu
2024-08-27 7:36 ` Vincenzo Pupillo [this message]
2024-08-27 12:22 ` Eli Zaretskii
2024-09-09 9:50 ` Vincenzo Pupillo
2024-09-11 4:53 ` Yuan Fu
2024-09-11 9:40 ` Vincenzo Pupillo
2024-09-11 12:05 ` Eli Zaretskii
2024-09-12 7:51 ` Yuan Fu
2024-09-12 8:31 ` Eli Zaretskii
2024-09-14 17:26 ` Vincenzo Pupillo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=333F4FC6-FAB2-4146-BE40-8C1DB2BF36D1@gmail.com \
--to=v.pupillo@gmail.com \
--cc=72814@debbugs.gnu.org \
--cc=casouri@gmail.com \
--cc=eliz@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).