From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 13 13:21:02 2022 Received: (at submit) by debbugs.gnu.org; 13 Dec 2022 18:21:02 +0000 Received: from localhost ([127.0.0.1]:33820 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p59tm-0003Ru-92 for submit@debbugs.gnu.org; Tue, 13 Dec 2022 13:21:02 -0500 Received: from lists.gnu.org ([209.51.188.17]:35882) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p59tk-0003RI-NN for submit@debbugs.gnu.org; Tue, 13 Dec 2022 13:21:01 -0500 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 1p59tk-0007nv-EU for bug-gnu-emacs@gnu.org; Tue, 13 Dec 2022 13:21:00 -0500 Received: from mail-oa1-x2a.google.com ([2001:4860:4864:20::2a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p59ti-0007E6-OU for bug-gnu-emacs@gnu.org; Tue, 13 Dec 2022 13:21:00 -0500 Received: by mail-oa1-x2a.google.com with SMTP id 586e51a60fabf-1445ca00781so13620291fac.1 for ; Tue, 13 Dec 2022 10:20:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:mime-version:from:from:to:cc:subject :date:message-id:reply-to; bh=VCFO5w1l5nSaDKzfRQ2L+gp0z1RUI3uiSamUVU9QpwY=; b=BwSsUWUbeKSulN++b3pllf561NF6l9D9b0wRg5Q3hFegZSsHq9l/mGWnAF1tCJgR/G GjI/87LYZgwDgBaKyDnhknOEMyBbnX7r8HOSgqUFiiL3Ek2BMd8Tywt1AuWytexMXjYB NMJq47H6CSdtXBJFpHb67LQJbckj0idDNXHcbcxfEkPlE2+g8Zbwl+YzQ6IifMmZAU3N 9KCfeEpSToNTmAhzK6wTGr25UbToM7CTVG1u3OWvhJTFFHw6fBNy0deS2xHDbl+gdxLO sG/c8FRZ112NawsYC3T5HCN0lFUHXb6p94amgyAjergtzf/YgaGOlEgy84RqAmhwYB17 6HCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:mime-version:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=VCFO5w1l5nSaDKzfRQ2L+gp0z1RUI3uiSamUVU9QpwY=; b=AV1WW4DmS4GIj4tB70SzAbwd03lOjKVnhzE4VPss7FuK9ACz9W8QscRUcuJSFoYE70 pG7DUPP+R7YsYXUeDGtrlA+xIw3yt/EnPRmu/257IMCnbMXQMEQ7iS44uEPI54T0frSk XhGfNcvH/lOG2vpRiCpVwx+vvmeuBQ6zscropwTBvsZY1o8IUhWQUDwW0LoSnY+QnF5M muvPCOpWYz+MDMasWY32PtjhyKGtJu/0l5hZFB7SAOC2/m4V79CU/Wqhz5RyNh57hyxL ZB5LzGY7HeZenbOcbkh0cOWvhJyXPsNJF1lT4ls3bF0ZrZjnQE4A8KZ5PHtsiKajzGMp HDGw== X-Gm-Message-State: ANoB5pknuSISF9g85rZVk1M0CYNnYoHwzf0kkkSVPbUaocaOrM8JsKHQ w5dNzVyemffVWk0t5suCakKjXN/n0kdXAWnXroI4uc2w X-Google-Smtp-Source: AA0mqf6sSce7koso+7VYNXzgJE/G2efbshEoPkbe3uDJaEeI+LALC+c2/k/xROllFUFuLohtAHBJcAS2bjEnNEKoTPA= X-Received: by 2002:a05:6871:4586:b0:148:28c1:3d46 with SMTP id nl6-20020a056871458600b0014828c13d46mr299245oab.199.1670955657469; Tue, 13 Dec 2022 10:20:57 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Tue, 13 Dec 2022 10:20:57 -0800 From: Stefan Kangas X-Debbugs-CC: =?UTF-8?B?Sm/Do28gVMOhdm9yYSA8am9hb3Rhdm9yYUBnbWFpbC5jb20+?= X-Hashcash: 1:20:221213:bug-gnu-emacs@gnu.org::QFq4mXqYmNryhbnp:0PSk MIME-Version: 1.0 Date: Tue, 13 Dec 2022 10:20:57 -0800 Message-ID: Subject: 29.0.50; flymake manual should document language support To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2001:4860:4864:20::2a; envelope-from=stefankangas@gmail.com; helo=mail-oa1-x2a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Severity: wishlist Please consider adding a new chapter in (info "(flymake) Top") that documents all built-in flymake support, and how to enable them automatically. I think such a chapter could also document the languages known to be supported in packages on GNU ELPA and NonGNU ELPA. It is currently hard to know which modes support flymake-mode, without testing it in each mode. For example, I don't see that `flymake-texinfo' or `perl-flymake' are currently documented anywhere outside of their docstrings. You can use `M-x apropos-function RET flymake RET', of course, but that requires users to know implementation details of flymake (how to implement a backend), as well as know that the functions must be loaded (or autoloaded) for that to work, and finally you need to filter out a lot of internal flymake implementation details and similar. Note in particular that this is useful whether or not it is already documented in the documentation for the respective packages (which it most often is not, AFAICT). See also: https://www.flycheck.org/en/29/languages.html#flycheck-languages From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 13 13:28:45 2022 Received: (at 60040) by debbugs.gnu.org; 13 Dec 2022 18:28:45 +0000 Received: from localhost ([127.0.0.1]:33872 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p5A1F-0003Wd-4E for submit@debbugs.gnu.org; Tue, 13 Dec 2022 13:28:45 -0500 Received: from mail-oa1-f50.google.com ([209.85.160.50]:42629) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p5A1C-0003WX-HS for 60040@debbugs.gnu.org; Tue, 13 Dec 2022 13:28:42 -0500 Received: by mail-oa1-f50.google.com with SMTP id 586e51a60fabf-142b72a728fso13619866fac.9 for <60040@debbugs.gnu.org>; Tue, 13 Dec 2022 10:28:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=Iyz428lepJneJSVTF4Uv1nWK1htHfn0o9XbPzkCCFnE=; b=ClhNEkhqWSM/3xzq09QAeXE6Ke9ZeAppVccRGknTxKEv31UV2sw8Z9gv8Yo5cq2Nzv r8gzQqCKre9+p35LwB1Yl5bVytQ0OcR+1oMs+vZPkLiA4As7i7WTB4EEjZKDq5fo+Skd aGz2AzjX/r9I+01yPB4hffrQFZGAKF7OYXAdRq5AZVueKDrZhEhu5qLBzGd1JGN3lgpm N4uqujgWU3YHNbK68ydeA9QqD184DGXsqFUcMeuBZBbK4wt33tkIpvg2JYbvPbctIdPi fq1x9g6y9sy0Vx0RCe3g4czhUtXR5/SpvyJ2bH33EZsxy9GFDvyxTMnhhH1IAK7Cjn6V jNcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Iyz428lepJneJSVTF4Uv1nWK1htHfn0o9XbPzkCCFnE=; b=qxElau6X+wju7X5dVgnicnAnTukLylW1CcmU7LRDO3WT9HKc3vT8/PyjRlZHY+AUOY eUNNUpxfgHfVDqmoaQH0ATuRVlRZI16pd6/bT5LTOqDWRxswhc9z6LjlA3Rb4Svwoe36 Y1r4jfm2OzMap7OWi07NHhH8zNKHwVSiXUUlPDP2tSPenyaj/NOU8zViZ2NoqzqNwOLA a2jElNO0arPHLKY1P263jeK6NEewGbCqgk3UT53AsSFXnbSww4VZmp6qpSi+u/SZb0yV JF6isacloR9qHkmhjcjf4Brjf6JfldtUUL4H6FI5YEO23wp90GwZ8QPyY1tm4/gOtRJW 3wNg== X-Gm-Message-State: ANoB5plMWnTIgk0+PJ4wPN/kJRlq8A4OXdiB6uyP5sIiFU0ND8pCjDQl kbBqCLvdTR5gJLEaI0wMnDuFUax6I5p4dI8MUFI= X-Google-Smtp-Source: AA0mqf7NzsJUpmR27rJyrhwbEIeOFSTX60Nk82xwEOCTLnWMSgG/5+6oNh9Zf3/yMEZWbuzHewoPKOsT11WH3lTJNuU= X-Received: by 2002:a05:6870:1b06:b0:143:7889:c525 with SMTP id hl6-20020a0568701b0600b001437889c525mr258040oab.171.1670956116885; Tue, 13 Dec 2022 10:28:36 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= Date: Tue, 13 Dec 2022 18:28:26 +0000 Message-ID: Subject: Re: bug#60040: 29.0.50; flymake manual should document language support To: Stefan Kangas Content-Type: multipart/alternative; boundary="000000000000c8476205efb9c98c" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 60040 Cc: 60040@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --000000000000c8476205efb9c98c Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I don't think it's very useful to maintain this list by hand. It's a duplication of information, and such things always invariably end up outdated and useless. I think it's more useful to write a program that collects this information automatically. The fact that you're finding this task boring and repetitive is enough of a hint that such a program can be written. I'd say start with a dolist of known major modes and a temp buffer, set the buffer in the major mode and check if there's a buffer-local value of flymake-diagnostic-backends. Also, given the advent of LSP, I think the trend is for Flymake to be chiefly useful when connected with something like Eglot. Not exclusively so, but rather predominantly so. Jo=C3=A3o --000000000000c8476205efb9c98c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I don't think it's very useful to= maintain this list by hand.

It's a duplication of i= nformation, and such things always
invariably end up outdated and= useless.

I think it's more useful to write a = program that collects
this information automatically.=C2=A0 The f= act that you're
finding this task boring and repetitive is en= ough of a hint=C2=A0
that such a program can be written. I'd = say start with
a dolist of known major modes and a temp buffer,
set the buffer in the major mode and check if there's=C2=A0
a buffer-local value of flymake-diagnostic-backends.

=
Also, given the advent of LSP, I think the trend is
fo= r Flymake to be chiefly useful when connected
with something like= Eglot.=C2=A0 Not exclusively so, but
rather predominantly so.

Jo=C3=A3o
--000000000000c8476205efb9c98c-- From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 10 15:12:14 2023 Received: (at 60040-done) by debbugs.gnu.org; 10 Sep 2023 19:12:14 +0000 Received: from localhost ([127.0.0.1]:51315 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qfPqt-0003xN-P6 for submit@debbugs.gnu.org; Sun, 10 Sep 2023 15:12:14 -0400 Received: from mail-lj1-x22e.google.com ([2a00:1450:4864:20::22e]:54459) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qfPqn-0003wm-La for 60040-done@debbugs.gnu.org; Sun, 10 Sep 2023 15:12:10 -0400 Received: by mail-lj1-x22e.google.com with SMTP id 38308e7fff4ca-2bf6b37859eso36410141fa.0 for <60040-done@debbugs.gnu.org>; Sun, 10 Sep 2023 12:12:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694373116; x=1694977916; darn=debbugs.gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date :mime-version:references:in-reply-to:from:from:to:cc:subject:date :message-id:reply-to; bh=GuvoK8V4hZv5tlj0XRWizu0T1jlAAxmJ5c4h7/uMEFs=; b=kt6ObhaJiwDhLtT1N3TwU4Rl41Xfy3VmULbe4DxPbDjFg6u+zBlOaV9SP8MrHEDLJ2 uvQftqVigVTuvqGsEdE8pNnqpn30KpE5lIM2HUGMS1xjJT4PpYvvot/JQm2cnQi16Dzp 2pzlAow8fbJ5soa9p1MSoxqDHBawUC/J/RlB8YZZIWpjn4a/hzLHI1jxGOQ8YC8yq+XS sOl/3nh5raKSdWN0TXgVSzUqbqNzuRo7vKzamEiLS+969Kc7rOew1+jUChaAODDzX9/I aRhJdZgcGxCtWeGoxPEHDGOpNJysESFNvmK+t/LGtocAw9IzeeMWfIZ47aVJQrKvVDFH Sd0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694373116; x=1694977916; h=content-transfer-encoding:cc:to:subject:message-id:date :mime-version:references:in-reply-to:from:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=GuvoK8V4hZv5tlj0XRWizu0T1jlAAxmJ5c4h7/uMEFs=; b=tZgJ3HOCb1fsmZowVTTKwkQ4VPRO5RB2cXA/fbIn9MJaM0MNVUz8489gT9dvzAhOvU IIBYFjv3ncVBdIdlBUDM1phtHZMAQfthvyPYGnxM7sY6r/RLRNTgszlO+lHm68NxxduU y/RYWcEJ9DA3ZJaKYM5vs+CI1HBlTFLoKKWCz8iG1ITixhKmZO1KyaK41nXThSkW8NG3 wZuBi7X+0BIfzsCVaoYaaPCWLTI8fku7DZESy04sU0i4w1msipKZU98Wy4obguyykrks nY6usU9dGNdVqybAbPrijrdsidMbQFgaF+XTVlMa6dSZBn2LTP/OQ10MintEhU0jgLFY nt4w== X-Gm-Message-State: AOJu0Yz5pr/XPPR+HXm/x8HC6Wm4J4GcfgZ5Unq+B47m+HGDSTentjaw cIP+x/KEqauOXD+wzhUp7IPTEGLjjAgG96aBJ4c= X-Google-Smtp-Source: AGHT+IEbRQwmTa93VB0e06vxNS1nFjmt2k0xymh+2eLD1AGJVZb7bBX/oot5YdXPsaG/zQBOlG6kq+xsg7dHmOP7xZs= X-Received: by 2002:a2e:8785:0:b0:2bc:c3ad:f418 with SMTP id n5-20020a2e8785000000b002bcc3adf418mr6274329lji.20.1694373115923; Sun, 10 Sep 2023 12:11:55 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sun, 10 Sep 2023 12:11:55 -0700 From: Stefan Kangas In-Reply-To: =?UTF-8?Q?=3CCALDnm50WuyMxuNddx0Qc=2Dch4yecyRZk=5F7jNRBYtT8eGJyY?= =?UTF-8?Q?p5yw=40mail=2Egmail=2Ecom=3E_=28=22Jo=C3=A3o_T=C3=A1vora=22=27s_message_of_=22Tue=2C_13_?= =?UTF-8?Q?Dec_2022_18=3A28=3A26_=2B0000=22=29?= References: MIME-Version: 1.0 Date: Sun, 10 Sep 2023 12:11:55 -0700 Message-ID: Subject: Re: bug#60040: 29.0.50; flymake manual should document language support To: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 60040-done Cc: 60040-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Jo=C3=A3o T=C3=A1vora writes: > Also, given the advent of LSP, I think the trend is > for Flymake to be chiefly useful when connected > with something like Eglot. Not exclusively so, but > rather predominantly so. I think you're completely right here, but this should be documented prominently. So I've installed commit 9549612c53d on emacs-29. Feel free to tweak, extend, rewrite, or improve it. It's very brief as is, but I didn't know what more to say. Unfortunately, there's not much need for a lot of documentation when things just work. ;-) On a separate note, perhaps this note doesn't need to be on the first page in Emacs 30.1: Historically, Flymake used to accept diagnostics from a single backend. Although obsolete, it is still functional. To learn how to use and customize it, *note The legacy Proc backend::. From unknown Sat Sep 20 07:50:31 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 09 Oct 2023 11:24:08 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator