From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Newsgroups: gmane.emacs.bugs Subject: bug#60040: 29.0.50; flymake manual should document language support Date: Tue, 13 Dec 2022 18:28:26 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000c8476205efb9c98c" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11300"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 60040@debbugs.gnu.org To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Dec 13 19:29:19 2022 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 1p5A1l-0002m7-Vl for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 13 Dec 2022 19:29:17 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p5A1Y-0002e9-77; Tue, 13 Dec 2022 13:29:04 -0500 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 1p5A1W-0002Yb-D5 for bug-gnu-emacs@gnu.org; Tue, 13 Dec 2022 13:29:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p5A1W-00018x-4b for bug-gnu-emacs@gnu.org; Tue, 13 Dec 2022 13:29:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p5A1W-0003XO-0L for bug-gnu-emacs@gnu.org; Tue, 13 Dec 2022 13:29:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 13 Dec 2022 18:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60040 X-GNU-PR-Package: emacs Original-Received: via spool by 60040-submit@debbugs.gnu.org id=B60040.167095612513561 (code B ref 60040); Tue, 13 Dec 2022 18:29:01 +0000 Original-Received: (at 60040) by debbugs.gnu.org; 13 Dec 2022 18:28:45 +0000 Original-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 Original-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 Original-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) In-Reply-To: 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:250877 Archived-At: --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--