From unknown Sat Sep 13 11:13:30 2025 X-Loop: help-debbugs@gnu.org Subject: bug#55097: 29.0.50; flymake-show-buffer-diagnostics does not enable flymake-mode Resent-From: No Wayman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 24 Apr 2022 18:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 55097 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 55097@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.165082608024365 (code B ref -1); Sun, 24 Apr 2022 18:48:02 +0000 Received: (at submit) by debbugs.gnu.org; 24 Apr 2022 18:48:00 +0000 Received: from localhost ([127.0.0.1]:60173 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nihH6-0006Kv-Lz for submit@debbugs.gnu.org; Sun, 24 Apr 2022 14:48:00 -0400 Received: from lists.gnu.org ([209.51.188.17]:46936) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nihH5-0006Km-N1 for submit@debbugs.gnu.org; Sun, 24 Apr 2022 14:47:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54898) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nihH5-0005mu-Fu for bug-gnu-emacs@gnu.org; Sun, 24 Apr 2022 14:47:59 -0400 Received: from mail-vs1-xe2f.google.com ([2607:f8b0:4864:20::e2f]:37459) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nihH2-0000RG-Fv for bug-gnu-emacs@gnu.org; Sun, 24 Apr 2022 14:47:59 -0400 Received: by mail-vs1-xe2f.google.com with SMTP id t85so2758291vst.4 for ; Sun, 24 Apr 2022 11:47:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=user-agent:from:to:subject:date:message-id:mime-version; bh=swzXwoiYyCHnS2IhOTTOMD/AEFHv3BMq6dbi68iDPUI=; b=ACxuNrPShpJInNVWmrFMxxaVQq5ClHXrHQNvHixu87jNhlAQRHOV5FRKLc7sAWiecV NIc98pUoxa18G3fzMk+S7R9yve6zEhMIVwZZmkmwOM4P6Eq6a6V59+cu0jilsPXyaKNq FMSmqa8XsomPEDyLmZtWpabRc9+zCrHvLYvEQgxc53Vb8881lhf7iqpw4Ixmc/rm4IFJ OAe4ZFrDBe1mn37nXddbVIpZxw8AFUNBlP83W/4rgnmxauXkpx6by1Jg07xMSSg06yL5 fIq092B139zx9ZkKGtlMq9x8s8jqV2/4K64K1K/KsSVJ9TB4QIltjvUF3g/aC+0g6Syn KxJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:user-agent:from:to:subject:date:message-id :mime-version; bh=swzXwoiYyCHnS2IhOTTOMD/AEFHv3BMq6dbi68iDPUI=; b=R0OKg6T6neNJcOBnr3aXcMObYgpBaOz5c45OEvKRpt5ptaW5J7WU7NG8cTAPkqn6+L OCgPkH1WGrHay3R2tbq5UNEGqpGDFefSX8kH+47GnoH04aqWSFk/ty447BShbSqkcXbV AGRxf9AuTn/RsAB0iA71jIG+pG9oTj86T3wx9j+kApsPai+IWPJ5tZS+rpU7jTKr5s1G t/GG2fZwjOyyqOSnXmH7cwmi3Xgihy8KnRRe4KIsTiVSE/urDgyEB/ZpcMVQuJqZXY1I FU+5T8hkO3tisx83hAKjLEiVXQAnbKLkd7FSsXW5EIycFuTV/E16Ogswc8qBi5ChAs9G dlTw== X-Gm-Message-State: AOAM530KgG1hCo7GLgRySkJ2MaKmGfsynqS6nFVNv4l0lFJHYmip7XT/ Bwtni4St5fovofOF6U8ZrF7dgSn5fP8= X-Google-Smtp-Source: ABdhPJxXuxc43IfgXuKXYyM51TT2RC+ktVmiLQMDOVrmui4v1D3/vxLFWA6ngnFFQy4OUnXPkoEU/A== X-Received: by 2002:a05:6102:5087:b0:32c:d050:d7c with SMTP id bl7-20020a056102508700b0032cd0500d7cmr191512vsb.51.1650826074902; Sun, 24 Apr 2022 11:47:54 -0700 (PDT) Received: from arch ([2601:82:c200:166d:afae:ebe6:a0e2:409e]) by smtp.gmail.com with ESMTPSA id a8-20020a67ca88000000b0032a3ad6038csm989786vsl.12.2022.04.24.11.47.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Apr 2022 11:47:54 -0700 (PDT) User-agent: mu4e 1.7.13; emacs 29.0.50 From: No Wayman Date: Sun, 24 Apr 2022 14:45:28 -0400 Message-ID: <877d7ee2sm.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; format=flowed Received-SPF: pass client-ip=2607:f8b0:4864:20::e2f; envelope-from=iarchivedmywholelife@gmail.com; helo=mail-vs1-xe2f.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, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) 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 (--) flymake-show-buffer-diagnostics will display an empty diagnostics buffer if flymake-mode is not enabled in that buffer. This is confusing, as it makes it appear as if there are no issues, when that may not be the case. The command should either signal a user-error or (IMO better) enable flymake mode in the buffer if it is not already enabled. In GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.33, cairo version 1.17.6) of 2022-04-20 built on arch Repository revision: f98c3f4426fecf794f47f27aebe1f3b854fb1bfd Repository branch: master System Description: Arch Linux From unknown Sat Sep 13 11:13:30 2025 X-Loop: help-debbugs@gnu.org Subject: bug#55097: 29.0.50; flymake-show-buffer-diagnostics does not enable flymake-mode Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 25 Apr 2022 08:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55097 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: No Wayman Cc: 55097@debbugs.gnu.org Received: via spool by 55097-submit@debbugs.gnu.org id=B55097.16508740588683 (code B ref 55097); Mon, 25 Apr 2022 08:08:01 +0000 Received: (at 55097) by debbugs.gnu.org; 25 Apr 2022 08:07:38 +0000 Received: from localhost ([127.0.0.1]:33103 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nitkv-0002Fz-Q0 for submit@debbugs.gnu.org; Mon, 25 Apr 2022 04:07:37 -0400 Received: from quimby.gnus.org ([95.216.78.240]:47672) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nitku-0002Fe-In for 55097@debbugs.gnu.org; Mon, 25 Apr 2022 04:07:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=MLBSpSvwqeT6ZepX46sAzIb33pqcPMEeWijviLV1rRw=; b=eTZY8ZmoWDpHC/+6PvvX0s96U4 uCO/QGunM0sHOGUhjp6k+TCugXh/xtTMvjwzK2mEaUxcvBjGKjgsZttoe5cJYFRj79oD+3fJ9hxw6 meQbMYTqGWRK396cuqt8jZi9w3I5qy/nSz6Wwm++jBw2Nvt6z3WZZr7s515Ex8JawjsM=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nitkm-00086E-Df; Mon, 25 Apr 2022 10:07:30 +0200 From: Lars Ingebrigtsen References: <877d7ee2sm.fsf@gmail.com> X-Now-Playing: Prince's _Sign 'O' the Times (4): Vault Tracks I_: "Power Fantastic (Live in Studio)" Date: Mon, 25 Apr 2022 10:07:27 +0200 In-Reply-To: <877d7ee2sm.fsf@gmail.com> (No Wayman's message of "Sun, 24 Apr 2022 14:45:28 -0400") Message-ID: <87r15l60xs.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: No Wayman writes: > flymake-show-buffer-diagnostics will display an empty diagnostics > buffer if flymake-mode is not enabled in that buffer. This is > confusing, as it makes it appear as if there are no issues, when t [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) 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: -3.3 (---) No Wayman writes: > flymake-show-buffer-diagnostics will display an empty diagnostics > buffer if flymake-mode is not enabled in that buffer. This is > confusing, as it makes it appear as if there are no issues, when that > may not be the case. > The command should either signal a user-error or (IMO better) enable > flymake mode in the buffer if it is not already enabled. Commands tied to certain modes aren't supposed to be used outside of those modes, and will usually give nonsensical results if you do that. So this is one of those "well, don't do that, then" situations. But on the other hand, I can see that this is a command that people might be calling spuriously, so I've made it error out in these situations. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 25 04:07:43 2022 Received: (at control) by debbugs.gnu.org; 25 Apr 2022 08:07:43 +0000 Received: from localhost ([127.0.0.1]:33106 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nitl1-0002GF-0X for submit@debbugs.gnu.org; Mon, 25 Apr 2022 04:07:43 -0400 Received: from quimby.gnus.org ([95.216.78.240]:47690) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nitkz-0002Fp-Jf for control@debbugs.gnu.org; Mon, 25 Apr 2022 04:07:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=3sLIO1uAzaKeN1+VsmlF+wS9FCPlIj2OU9lMSrJ4gHs=; b=egYjJnTHmyrXTn+RBnLRj1RCpL qjyc4ABlqTqqTT/v1szA7diw+mAKBv+wB/zJXdADpjw0lGqwDrnYzoXaY0vQksWWXse3qQG9Gugtf n6bafY7F6H9JMoEkBreRc7fIrpn70FLFy0yYXoeQNnP/BdnFe7zXu4nasKn8x50b0iag=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nitkr-00086M-S3 for control@debbugs.gnu.org; Mon, 25 Apr 2022 10:07:35 +0200 Date: Mon, 25 Apr 2022 10:07:33 +0200 Message-Id: <87pml560xm.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #55097 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 55097 29.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control 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: -3.3 (---) close 55097 29.1 quit