From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuan Fu Newsgroups: gmane.emacs.bugs Subject: bug#72814: 31.0.50; Add a variable controlling doxygen support in C/C++/Java? Date: Mon, 26 Aug 2024 20:13:52 -0700 Message-ID: <0708616B-CCE4-4AA5-81FA-FF41F2789018@gmail.com> References: Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3776.700.51\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10004"; mail-complaints-to="usenet@ciao.gmane.io" Cc: vincenzo.pupillo@unimi.it, eliz@gnu.org To: 72814@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Aug 27 05:16:33 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 1simh7-0002Sx-38 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 27 Aug 2024 05:16:33 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1simgo-0001uw-Md; Mon, 26 Aug 2024 23:16:14 -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 1simgk-0001uY-CS for bug-gnu-emacs@gnu.org; Mon, 26 Aug 2024 23:16:10 -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 1simgk-0000mK-2R for bug-gnu-emacs@gnu.org; Mon, 26 Aug 2024 23:16:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=Date:Mime-Version:From:To:In-Reply-To:References:Subject; bh=DMVygSuWII1qECM9njepd2mib/iErk9pEbBbw4H3oTA=; b=HfAU1gMH86l+0TZZVPpOqbSqZCBapK0EYuK1edHHoCYYHoHJQ44253o5OFVdb+0k3smYbSW6CiHNWg5intPDLssX9Lj/EcZYxw7ZnlgYj7SEwoxf4d4Szgvp+eGJHZI7O/RztC0xv5snBRF29CaZ7ygkDFE0FVyBMID2rekLhQ4sJ2C6uhgXSsW9Kv0ZVioBDU1TrRxsu21A1SZC5VIw6vLwDHaiVr7B5939bz35zisvyNwGm06w19S2MnqRzn9ahzxUXyDAGV5rtuUoBtv139uiVf5VPjm20g6gnru+zqvMqQOZqtXvugYONuMI6Bh7IsPSxtyUTrT7VXe01dQwwQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1simha-0003Mp-3X for bug-gnu-emacs@gnu.org; Mon, 26 Aug 2024 23:17:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: Yuan Fu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 27 Aug 2024 03:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72814 X-GNU-PR-Package: emacs Original-Received: via spool by 72814-submit@debbugs.gnu.org id=B72814.172472856312854 (code B ref 72814); Tue, 27 Aug 2024 03:17:02 +0000 Original-Received: (at 72814) by debbugs.gnu.org; 27 Aug 2024 03:16:03 +0000 Original-Received: from localhost ([127.0.0.1]:45753 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1simgd-0003LD-EJ for submit@debbugs.gnu.org; Mon, 26 Aug 2024 23:16:03 -0400 Original-Received: from mail-ot1-f51.google.com ([209.85.210.51]:54385) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1simgb-0003KR-6R for 72814@debbugs.gnu.org; Mon, 26 Aug 2024 23:16:02 -0400 Original-Received: by mail-ot1-f51.google.com with SMTP id 46e09a7af769-7095bfd6346so4508275a34.0 for <72814@debbugs.gnu.org>; Mon, 26 Aug 2024 20:15:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1724728443; x=1725333243; darn=debbugs.gnu.org; h=to:cc:date:message-id:subject:mime-version :content-transfer-encoding:from:from:to:cc:subject:date:message-id :reply-to; bh=DMVygSuWII1qECM9njepd2mib/iErk9pEbBbw4H3oTA=; b=eg3wBvOHBmTc6HjWZOTMZ73Avur+GXSpkdyQZw9E6+zqF6SzCmxK1yL/4POfi8+oi2 4SpkaJJ9lvY1BdnTjtJ5xdMmZ2UqypZAJlTqSAbwDUbBhgdGKVdEfAK21wZJHOEEhuxF o02AOMyc6IEaBI+rChjF9kYqide3pWyfUVcwecxQ/Pa4oBYr5eHfnM4IthIwF+CDaX9a UI+d9q6ssVMYuq1aFJNj97nWU4MxVzDiA9FYTS79Rmlusktc7uJ/4wLl8oG0mHyxSip/ j5jCN5sT3vcRyGakektzpJU2T3tzQCJ4qBpcfRK/8OJyFO18+3eqyVyq24KrM+YsBVlm mcyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724728443; x=1725333243; h=to:cc:date:message-id:subject:mime-version :content-transfer-encoding:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=DMVygSuWII1qECM9njepd2mib/iErk9pEbBbw4H3oTA=; b=LfCtKTvk/0sBdvumk2fWBSPpAtkXIOGp+gx0LjGUUkwW8X5iPFmUclaxJsDc/YUybB voTxNqgkLcIEDfDNk4aI7EZwmNQow03UaY0hAWEJE8jZnfykifiigcTEyIV3SvjJF6zw IXbGkhvCEkVe7YqAWFiJvaPohFp9lgWXOstSYMuTNk9kopFnfKFI+1VOr9saAXCns4HB HcPG28dySiV2SWGm+HX8l8zWYvEGh9zK6gUdSieCnzGLW51zytotgYBb1DcvLFX/XkZc s1czEZGQKodYMdE+vLqkk1DqvHoOScvrOMmHFhcpnP5CqqEtG38k+heiOsPDeqzxpfrN XYrg== X-Gm-Message-State: AOJu0YyjKWfzdOq40L6/9GI6iABPrHnAttKMwWOUgMznpxkHRsUwIJmN kh20ieDaPXvbuIrZ/oeIbXgrEAMYETN2PNpw2CMgnFvY7JiDaiYnf9CWmg== X-Google-Smtp-Source: AGHT+IHfGm36B+2WLci3mML99bg7JdEfX6A84NEQ5rPio4sg1Opvz+3AISfNSUxhaXO5h+BN+YMnbA== X-Received: by 2002:a05:6830:600e:b0:709:3d2f:7b48 with SMTP id 46e09a7af769-70e0ec03290mr13540071a34.24.1724728443076; Mon, 26 Aug 2024 20:14:03 -0700 (PDT) Original-Received: from smtpclient.apple ([2601:646:8f81:6120:fd58:c8a8:ed8f:39fa]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7cd9acabbfesm7177354a12.33.2024.08.26.20.14.02 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 26 Aug 2024 20:14:02 -0700 (PDT) X-Mailer: Apple Mail (2.3776.700.51) 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:290802 Archived-At: Yuan Fu writes: > X-Debbugs-CC: 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=E2=80=99t a problem, since the doxygen support is = only > enabled if there=E2=80=99s 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=E2=80=99t 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=E2=80=99t = want to pay > for it can turn it off by setting the option to nil. > > Yuan Eli, WDYT?