From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Spencer Baugh Newsgroups: gmane.emacs.bugs Subject: bug#70752: 30.0.50; flymake: add a command for resetting state Date: Sat, 18 May 2024 10:37:21 -0400 Message-ID: References: <87zft6hkli.fsf@telefonica.net> Mime-Version: 1.0 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="30104"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 70752@debbugs.gnu.org To: =?UTF-8?Q?=C3=93scar?= Fuentes Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat May 18 16:38:27 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 1s8LCc-0007c0-WE for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 18 May 2024 16:38:27 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s8LCG-0008MG-Hc; Sat, 18 May 2024 10:38:04 -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 1s8LCB-0008Ld-0Z for bug-gnu-emacs@gnu.org; Sat, 18 May 2024 10:38:00 -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 1s8LCA-0004p9-Oc for bug-gnu-emacs@gnu.org; Sat, 18 May 2024 10:37:58 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s8LCD-0004xH-W0 for bug-gnu-emacs@gnu.org; Sat, 18 May 2024 10:38:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Spencer Baugh Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 18 May 2024 14:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70752 X-GNU-PR-Package: emacs Original-Received: via spool by 70752-submit@debbugs.gnu.org id=B70752.171604305418959 (code B ref 70752); Sat, 18 May 2024 14:38:01 +0000 Original-Received: (at 70752) by debbugs.gnu.org; 18 May 2024 14:37:34 +0000 Original-Received: from localhost ([127.0.0.1]:33819 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s8LBm-0004vj-3v for submit@debbugs.gnu.org; Sat, 18 May 2024 10:37:34 -0400 Original-Received: from mxout5.mail.janestreet.com ([64.215.233.18]:50191) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s8LBj-0004vd-5H for 70752@debbugs.gnu.org; Sat, 18 May 2024 10:37:32 -0400 In-Reply-To: <87zft6hkli.fsf@telefonica.net> ("=?UTF-8?Q?=C3=93scar?= Fuentes"'s message of "Fri, 03 May 2024 19:27:21 +0200") DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=janestreet.com; s=waixah; t=1716043041; bh=UjoBRF+hvKNRz3NjiST4pHhfHoMJuND0iZQ6HPnBiyc=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=SPZSQrvSUTAcFViMYK1v7BHdCFM6v9ON+jeYSkTmaxO6VxLAeARzO/aKBNfewJR2E VUjiOppm6nyr7H1UzOTNjzIZ8auXfI8lANzDlvAunxatkmA5V5jK1NG8to2m3lUdKg 7mxzfZ8FCjhhJ+BaksANa7MtZnbOZqORTlEwO8ZN7j31kwc2lbxB4olGQv3Ssi3Wjp PewjgUmB43R7Wp79hKu7hvhii2f5CTPuB9QukFelW1379oWQHjua9kkZSO7UuF7Ul0 QSvGon2BOcmA9shl2YP47q7hNnop0hqYDV8NCS8J8whCu2FJU8njwKq/NndoPA9W+B iiNZySV/UWVKw== 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:285339 Archived-At: =C3=93scar Fuentes writes: > Sometimes flymake shows indicators of unexisting diagnostics. The only > method I know of clearing those indicators is killing all buffers with > the same mode. > > The real fix is to not show unexisting diagnostics, but since that can > be caused either by bugs in flymake or in third-party diagnostic > functions (including in the function's development) providing a command > or easy method to clear those diagnostics would be pragmatic and > convenient. Could you give an example of a flymake diagnostic function which reports non-existing diagnostics? Also, I expect that you would be able to clear the diagnostics by simply toggling flymake-mode in the buffer with undesirable diagnostics present.