GNU bug report logs - #81954
32.0.50; flymake-show-buffer-diagnostics no longer works from keyboard shortcut

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Andrey Listopadov <andreyorst@HIDDEN>; Done: Juri Linkov <juri@HIDDEN>; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 81954 <at> debbugs.gnu.org:


Received: (at 81954) by debbugs.gnu.org; 9 Oct 2026 15:03:48 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Oct 09 11:03:47 2026
Received: from localhost ([127.0.0.1]:37771 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1xFC8O-0002ot-Pt
	for submit <at> debbugs.gnu.org; Fri, 09 Oct 2026 11:03:47 -0400
Received: from mout-p-103.mailbox.org ([2001:67c:2050:0:465::103]:38744)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <juri@HIDDEN>) id 1xFC8L-0002nk-1N
 for 81954 <at> debbugs.gnu.org; Fri, 09 Oct 2026 11:03:42 -0400
Received: from smtp102.mailbox.org (smtp102.mailbox.org
 [IPv6:2001:67c:2050:b231:465::102])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519MLKEM768 server-signature RSA-PSS (4096 bits) server-digest
 SHA256) (No client certificate requested)
 by mout-p-103.mailbox.org (Postfix) with ESMTPS id 4j1VVZ1XBDzKnWl;
 Fri, 09 Oct 2026 17:03:34 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linkov.net; s=MBO0001; 
 t=1791558214;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=aDOkM2KhYJ0zVd4sRY0C5HoLMmqU4R2iA7VdKqib7No=;
 b=Omn1d0E0zWn4RDGKMb2WTwpL8R/AonShfu8IrnipUe/CIYSupB+L0JVmmiSKeBbLS1lCRC
 aU7Ma4oFtasVG7/SX4+iAWK5DXu39pUhanROyz1rHhScJC/tjGyEgnuEniD/TGZEHYU0O8
 M0SdPX5jN22yunD9H+2y0vNd0UPT9nvzDzVkpHzQZv5HoaDRFehBnszcsA9ivMyLamT/r4
 XF9tjqpkECOsbnE3nJC3NxSfwWk3DO9KpdS71cjn9O4JiqnDwUYWLYT8OoflABeLu/aSKZ
 npsSyQk/V/pRG3S0w18CZ2A/wxUcuCgGXzXhUNr2IOIjQMX7QNbJAtdDkmeVJg==
Authentication-Results: outgoing_mbo_mout; dkim=none;
 spf=pass (outgoing_mbo_mout: domain of juri@HIDDEN designates
 2001:67c:2050:b231:465::102 as permitted sender)
 smtp.mailfrom=juri@HIDDEN
From: Juri Linkov <juri@HIDDEN>
To: Sean Whitton <spwhitton@HIDDEN>
Subject: Re: bug#81954: 32.0.50; flymake-show-buffer-diagnostics no longer
 works from keyboard shortcut
In-Reply-To: <87fqyfqh4l.fsf@HIDDEN>
Organization: LINKOV.NET
References: <CAAKhXoYC3FJ2z4qqSbfiHLxsTBBw94Vab+=Mq_UtYb-OLgwfgg@HIDDEN>
 <86qzibz2re.fsf@HIDDEN> <87se2pp9cb.fsf@HIDDEN>
 <871pa8zc0x.fsf@HIDDEN>
 <87zewwyw0h.fsf@HIDDEN> <87jyntifyb.fsf@HIDDEN>
 <87ik3cse1t.fsf@HIDDEN> <86a4ooo4f3.fsf@HIDDEN>
 <87jynsw20k.fsf@HIDDEN> <874ieww0us.fsf@HIDDEN>
 <86jynrmnrg.fsf@HIDDEN> <87fqyfqh4l.fsf@HIDDEN>
Date: Fri, 09 Oct 2026 18:02:33 +0300
Message-ID: <87mrsmx6gm.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/32.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain
X-Rspamd-Queue-Id: 4j1VVZ1XBDzKnWl
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 81954
Cc: sbaugh@HIDDEN, Eli Zaretskii <eliz@HIDDEN>, 81954 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

>>> BTW, currently 'flymake-show-buffer-diagnostics' signals an error
>>> when the diagnostic indicator is clicked in another window.
>>> Here is a patch (probably for master?)
>>> that first selects the clicked window:
>>
>> IMO, this can be installed on the release branch, since the current
>> code signals an error.  But please be sure to test it with mouse
>> clicks on various frame decorations, where posn-window could return an
>> object that is not a window.  AFAICT, mouse-select-window doesn't
>> handle these cases.
>
> LGTM too.

So now pushed with checking for a window with 'windowp'.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#81954; Package emacs. Full text available.

Message received at 81954 <at> debbugs.gnu.org:


Received: (at 81954) by debbugs.gnu.org; 9 Oct 2026 10:54:12 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Oct 09 06:54:11 2026
Received: from localhost ([127.0.0.1]:57456 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1xF8Et-0002dM-ER
	for submit <at> debbugs.gnu.org; Fri, 09 Oct 2026 06:54:11 -0400
Received: from fout-b5-smtp.messagingengine.com ([202.12.124.148]:51755)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <spwhitton@HIDDEN>)
 id 1xF8Er-0002cv-4D
 for 81954 <at> debbugs.gnu.org; Fri, 09 Oct 2026 06:54:09 -0400
Received: from phl-compute-05.internal (phl-compute-05.internal [10.202.2.45])
 by mailfout.stl.internal (Postfix) with ESMTP id B723E1D0007D
 for <81954 <at> debbugs.gnu.org>; Fri,  9 Oct 2026 06:54:03 -0400 (EDT)
Received: from phl-frontend-03 ([10.202.2.162])
 by phl-compute-05.internal (MEProxy); Fri, 09 Oct 2026 06:54:03 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=spwhitton.name;
 h=cc:cc:content-type:content-type:date:date:from:from
 :in-reply-to:in-reply-to:message-id:mime-version:references
 :reply-to:subject:subject:to:to; s=fm1; t=1791543243; x=
 1791629643; bh=VkCu33lLlLfBak1khQ+6h0zNOLftHGUR8MNap78g/aU=; b=U
 7QTF6XC5WrlqwBvLK+FV1leK2jbOaVa+AGhpR6ThuJMiAL/MQtssh2rI3XAZcpSj
 t7t2kiljJvK+wl5ZVgH8tuFu7t8cdg2NFbGx5CtR3fcORgY45y0MQK2P1dz/gZpG
 9KqZRVezLVCVNoX6SPYkVn9sdkrCwyD1hE7gg0kQwGulzU7n/Jfah3UBT/tF2UN+
 vH5ZLhczr8LYZXBoB8X5SMEYGW3KoYOhdgJYGBS7m6Vy0u2vjCDQ/ZeqJnjsi8hL
 iC8ujsAWN8xQH5P/Xv0Y5f4n8QMOZ5Djsxwyu3ZSbou6epd0StOf4wCSN20R3IhY
 GEf22aVdvJqUB6IYVbQ2A==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:cc:content-type:content-type:date:date
 :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to
 :message-id:mime-version:references:reply-to:subject:subject:to
 :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=
 1791543243; x=1791629643; bh=VkCu33lLlLfBak1khQ+6h0zNOLftHGUR8MN
 ap78g/aU=; b=cnnkdIIg7ACTuIuOb/7mk15h9NzFtSkUkxbUYbHUm+3yjMWOve9
 vDywfa/W8kId3azu5ifUFXexPrw15Kcw+GiFPXwOold6vo6GMEXnzGPMZiFbOypC
 biY6kmoMuSAAIYOc/gsQSlhJO6Dy/8St9j1UV2TxLZHbslzq7Onl8LdOW3U+X70/
 hVYv259Muk9NORq4e836bgj3ifUZHRDtbbpmZX1FDjfXjma0JURkAOUbcGZfEDbn
 ecZK6oEyls1fJ0gnzUqaCl0hBzxzAiH+meQkHet0jiCWULRCf27DyQquODJ9aMx0
 71RZRE/5dfkNCFjE3ZdAfAE+GgncJanr/ng==
X-DKIM2-Info: draft=ietf-dkim-dkim2-spec-06;
 repo=github.com/dkim2wg/interop; date=2026-10-04; sw=lmtpprox;
 action=sign d=spwhitton.name a=rsa-sha256;
DKIM2-Signature: i=1; m=1; t=1791543243; d=spwhitton.name;
 mf=PHNwd2hpdHRvbkBzcHdoaXR0b24ubmFtZT4=;
 rt=PDgxOTU0QGRlYmJ1Z3MuZ251Lm9yZz4=;
 s=fm1:rsa-sha256:fMvIfEfVddmD9BQL/lZRO+qiWzT6oIyz98XKKm10mZkoQdh
 t8Tv2Op09fdOyX7fBPiS5x4eVYZ03z58+ZkuEQ936tiuewhVtBNt+X4modxYnog3
 EnZyJQ3RGqYnCXArEq7ByUuWfYINywaZ3jDDoBWwNqDlTlaPk2xCDDPsbfKZ+bOw
 Tj/X/enjWQvd+vYkjupJCZ0FvezaZc855mUmCLPEwAup3UWDm72qv/qQKpu8Pkpf
 YiRU4hU4pOGhyJKtGsHjAD1o/BkxiF2tIi3l9Ez/+H3/0My7YggMGZ/4n7S6CkRT
 11rJLl4r8LSNF0vLiEAkWyR7+JmnM/Tvm5LNm4g==;
X-DKIM2-Info: draft=ietf-dkim-dkim2-spec-06;
 repo=github.com/dkim2wg/interop; date=2026-10-04; sw=lmtpprox;
 action=mi-m=1; hc=11;
 hn=cc,content-type,date,feedback-id,from,in-reply-to,message-id,
 mime-version,references,subject,to;
Message-Instance: m=1;
 h=sha256:j3fjhem6q3AnkGPWeXt/HGmJwKdAnryDjSogvijASyY=:r2A7b4VgvN29k9QlCYDQ1o0vea8R11pABRTxW4kQ1BM=;
X-ME-Sender: <xms:y8fIavubK8BR_yBjGxKC_6MkUsu_Wc3DQAOCXu6OapKjqpPD2Ax5mQ>
 <xme:y8fIanesR9l0wSIJdQeoyrxQNV8cpAG3vFSPp1FQgX9D6q-D3AC4TQRfvSnm5Fng-
 _VvTPZ4HM3rwQZLEaTzpt13ReojcTDs_Ev75T5hxDKlvTmtn4eg3jk>
X-ME-Received: <xmr:y8fIanxmFYY4iKm1XVsoEItYwXgF54QI8bSfcScx7haiRaXVG-HhN8UnXNta5oKdAPzmwQwinpRoJ0vTrcV0MPZZde-G6NqEBQ>
X-ME-Proxy-Cause: dmFkZTGBIKB5K3XzUcSwdczmhtX7Ouyq7RcQYMzUNkSRjdHsuuN7Eqv8FbkJYcktZivz2r
 buTRydmTFwmCij+sSP9L4Q8lyoT70lieQp58+EYnbHh/lfcsjmw09Kv+34xoJo2iGoEE/5
 IdhvUFjCz9TCnrAOkwS5qjLM1AEOLX5VKkhW8wSTKUrdF9vE2cAH4Ag7dT+FDWSfJfnVmj
 mNjLZ/WGfibZ9rHb5nbVpweTxYCwbRKct3dLr6iuE1SouShJHa3einDgfjl49N2Q18MRog
 knWVzLnEbZcrKpmXUU49IZWPAaglAKu1ioOc5ZTy/E2SoRN7Un1cHTQlXXv1O6rvPV2UKw
 6OLYrzouFxT65OoYdtyRV92dTYe7GhYr+lmmJV7yqRf/GwFQvrCL20X1614LKZTJZ4xpKA
 tqhk5gPo972j6yfCbYpUfu8rxbozwGAQFq0tRv3Sx7E/YrwDOWGgXERh2hpuh8flxEmFOQ
 KCkMfBQ/F3j2T/iYeVRpjVxG3YUfhfj1kpoplhcukD6aRDv0CA8ywcRXZi+zOye7Iski/w
 WncLFi0GgMeOAGfh9VHcE0L+Q6QwHO2Gy58MeXSjjvVY8Ony3BEFbufm2IiZEo9S5BkblI
 njFfMUPhRO369gQr+4ZSYQFTN2kTWsn/wX+SrYnKmnv1Qto7GCtHgxVyGhZg
X-ME-Proxy: <xmx:y8fIatEYoCx0XUht5DQ7w7PLq_7CdHb8frtdtOyeakyC7DXFXm6Msg>
 <xmx:y8fIaryMY6KEFfsdyhsdukgiTNsk8yBpAV2mWRoTIcNrgw8GOfCrGw>
 <xmx:y8fIaushuqij4kNq6ZrXl6dk2b7aXpoDHFDT6IUAxXOHe_Ku2u2-9Q>
 <xmx:y8fIao2mSKgQ63_QlVkTDbxUjEXv2TwS0cPHBHa-EA2otx5ff2LEBw>
 <xmx:y8fIarT_Dl8Tzs10XyoH4DjjHIg154sviH8OfuUD_LUkOuU2fEqZlhHs>
Feedback-ID: i62564b17:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri,
 9 Oct 2026 06:54:03 -0400 (EDT)
Received: by athena.silentflame.com (Postfix, from userid 1000)
 id 4B9C42810B5; Fri, 09 Oct 2026 11:54:02 +0100 (BST)
From: Sean Whitton <spwhitton@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>, Juri Linkov <juri@HIDDEN>
Subject: Re: bug#81954: 32.0.50; flymake-show-buffer-diagnostics no longer
 works from keyboard shortcut
In-Reply-To: <86jynrmnrg.fsf@HIDDEN>
References: <CAAKhXoYC3FJ2z4qqSbfiHLxsTBBw94Vab+=Mq_UtYb-OLgwfgg@HIDDEN>
 <86qzibz2re.fsf@HIDDEN> <87se2pp9cb.fsf@HIDDEN>
 <871pa8zc0x.fsf@HIDDEN> <87zewwyw0h.fsf@HIDDEN>
 <87jyntifyb.fsf@HIDDEN> <87ik3cse1t.fsf@HIDDEN>
 <86a4ooo4f3.fsf@HIDDEN> <87jynsw20k.fsf@HIDDEN>
 <874ieww0us.fsf@HIDDEN> <86jynrmnrg.fsf@HIDDEN>
Date: Fri, 09 Oct 2026 11:54:02 +0100
Message-ID: <87fqyfqh4l.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 81954
Cc: sbaugh@HIDDEN, 81954 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Eli Zaretskii [09/Oct  8:44am +03] wrote:
>> From: Juri Linkov <juri@HIDDEN>
>> Cc: Sean Whitton <spwhitton@HIDDEN>,  sbaugh@HIDDEN,
>>   81954 <at> debbugs.gnu.org
>> Date: Thu, 08 Oct 2026 20:36:43 +0300
>>
>> BTW, currently 'flymake-show-buffer-diagnostics' signals an error
>> when the diagnostic indicator is clicked in another window.
>> Here is a patch (probably for master?)
>> that first selects the clicked window:
>
> IMO, this can be installed on the release branch, since the current
> code signals an error.  But please be sure to test it with mouse
> clicks on various frame decorations, where posn-window could return an
> object that is not a window.  AFAICT, mouse-select-window doesn't
> handle these cases.

LGTM too.

-- 
Sean Whitton




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#81954; Package emacs. Full text available.

Message received at 81954 <at> debbugs.gnu.org:


Received: (at 81954) by debbugs.gnu.org; 9 Oct 2026 05:44:35 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Oct 09 01:44:35 2026
Received: from localhost ([127.0.0.1]:56463 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1xF3PH-0006Tw-2T
	for submit <at> debbugs.gnu.org; Fri, 09 Oct 2026 01:44:35 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:57336)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1xF3PC-0006TW-Bl
 for 81954 <at> debbugs.gnu.org; Fri, 09 Oct 2026 01:44:33 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1xF3P5-0006MN-CJ; Fri, 09 Oct 2026 01:44:23 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=O077iSeRwPGDHduCTvPT98zcRo361YM7UJq4sVVAxY0=; b=Bpbrr/8xKrf8
 RRcg9okG5fWmQZjpakyC36dhG3g0vYb6FwHDS8QbG8Aq1wHEpuRwp2FxYoDeutEbtXnKIPLR9yE6b
 ZvrFAsBgvGYKQYeHojnD2mhOXm0V2uMOAFjo7dQbDkUt11HbgcA9KTANfyof66WKPU0//iFE/1siT
 PzLrkpXgcoe72h/mmzfcwECJm0CRfJ73ufCZk91Y0egYAJYgLkW5QqOQFoweY8oRf1ts54II+0Gro
 E5lnO1hC5zq8eGMBWXHXnB2peTBfRd48vTrX/g2oYcfuS2PpqCYPP2SrhI7hByDx1ON4URWljrO4M
 HPaG8Govqfoi8mYxKF2r4Q==;
Date: Fri, 09 Oct 2026 08:44:19 +0300
Message-Id: <86jynrmnrg.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Juri Linkov <juri@HIDDEN>
In-Reply-To: <874ieww0us.fsf@HIDDEN> (message from Juri Linkov on
 Thu, 08 Oct 2026 20:36:43 +0300)
Subject: Re: bug#81954: 32.0.50; flymake-show-buffer-diagnostics no longer
 works from keyboard shortcut
References: <CAAKhXoYC3FJ2z4qqSbfiHLxsTBBw94Vab+=Mq_UtYb-OLgwfgg@HIDDEN>
 <86qzibz2re.fsf@HIDDEN> <87se2pp9cb.fsf@HIDDEN>
 <871pa8zc0x.fsf@HIDDEN>
 <87zewwyw0h.fsf@HIDDEN> <87jyntifyb.fsf@HIDDEN>
 <87ik3cse1t.fsf@HIDDEN> <86a4ooo4f3.fsf@HIDDEN>
 <87jynsw20k.fsf@HIDDEN> <874ieww0us.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 81954
Cc: sbaugh@HIDDEN, 81954 <at> debbugs.gnu.org, spwhitton@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Juri Linkov <juri@HIDDEN>
> Cc: Sean Whitton <spwhitton@HIDDEN>,  sbaugh@HIDDEN,
>   81954 <at> debbugs.gnu.org
> Date: Thu, 08 Oct 2026 20:36:43 +0300
> 
> BTW, currently 'flymake-show-buffer-diagnostics' signals an error
> when the diagnostic indicator is clicked in another window.
> Here is a patch (probably for master?)
> that first selects the clicked window:

IMO, this can be installed on the release branch, since the current
code signals an error.  But please be sure to test it with mouse
clicks on various frame decorations, where posn-window could return an
object that is not a window.  AFAICT, mouse-select-window doesn't
handle these cases.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#81954; Package emacs. Full text available.

Message received at 81954 <at> debbugs.gnu.org:


Received: (at 81954) by debbugs.gnu.org; 8 Oct 2026 17:38:36 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 08 13:38:36 2026
Received: from localhost ([127.0.0.1]:49501 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1xEs4h-0005Mf-C2
	for submit <at> debbugs.gnu.org; Thu, 08 Oct 2026 13:38:35 -0400
Received: from mout-p-101.mailbox.org ([80.241.56.151]:50940)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <juri@HIDDEN>) id 1xEs4f-0005MC-6n
 for 81954 <at> debbugs.gnu.org; Thu, 08 Oct 2026 13:38:34 -0400
Received: from smtp102.mailbox.org (smtp102.mailbox.org
 [IPv6:2001:67c:2050:b231:465::102])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519MLKEM768 server-signature RSA-PSS (4096 bits) server-digest
 SHA256) (No client certificate requested)
 by mout-p-101.mailbox.org (Postfix) with ESMTPS id 4j0xzk165pz8v08;
 Thu, 08 Oct 2026 19:38:26 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linkov.net; s=MBO0001; 
 t=1791481106;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=gUQB8k7uqMw3LpZgwdglq8Blac5IKCY4b6qpRJ0xcpc=;
 b=u2e6oMQCFZsP96RGK9NchqnxYQ3k5emQKRdn8Da3QZ7rt67vt+nH4qRzmyV06++AeumWkU
 +S0mNKKMtKVaoWXGxo2v/wkpbhoJ/4IlNB1nGSiAD4WTE/HR8UCHlCz4vdZRrJtOpFZPr6
 9YubfkKmU7uzcD6qLC/JOxYEh+Ucko4xfcJ7JrWEUJQvbKlG+dbojAnp4ZK2NUmgL+5Y5I
 H3OGx5vwPayDP3N4vUNrSFceoNSiU+V0HUwTsux02xRSVxa39saEFWlNhldR6IfuiUofA7
 ArcJLcNNZwQJ3OPIU9iT8WQKenjmQu8WMMbY3mQd7Nd4uBDNeay4DOdOlVq8Pw==
Authentication-Results: outgoing_mbo_mout; dkim=none;
 spf=pass (outgoing_mbo_mout: domain of juri@HIDDEN designates
 2001:67c:2050:b231:465::102 as permitted sender)
 smtp.mailfrom=juri@HIDDEN
From: Juri Linkov <juri@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#81954: 32.0.50; flymake-show-buffer-diagnostics no longer
 works from keyboard shortcut
In-Reply-To: <87jynsw20k.fsf@HIDDEN>
Organization: LINKOV.NET
References: <CAAKhXoYC3FJ2z4qqSbfiHLxsTBBw94Vab+=Mq_UtYb-OLgwfgg@HIDDEN>
 <86qzibz2re.fsf@HIDDEN> <87se2pp9cb.fsf@HIDDEN>
 <871pa8zc0x.fsf@HIDDEN>
 <87zewwyw0h.fsf@HIDDEN> <87jyntifyb.fsf@HIDDEN>
 <87ik3cse1t.fsf@HIDDEN> <86a4ooo4f3.fsf@HIDDEN>
 <87jynsw20k.fsf@HIDDEN>
Date: Thu, 08 Oct 2026 20:36:43 +0300
Message-ID: <874ieww0us.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/32.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-Rspamd-Queue-Id: 4j0xzk165pz8v08
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 81954
Cc: sbaugh@HIDDEN, 81954 <at> debbugs.gnu.org,
 Sean Whitton <spwhitton@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

--=-=-=
Content-Type: text/plain

BTW, currently 'flymake-show-buffer-diagnostics' signals an error
when the diagnostic indicator is clicked in another window.
Here is a patch (probably for master?)
that first selects the clicked window:


--=-=-=
Content-Type: text/x-diff
Content-Disposition: inline;
 filename=flymake-show-buffer-diagnostics-event.patch

diff --git a/lisp/progmodes/flymake.el b/lisp/progmodes/flymake.el
index e34b2570245..9b0e459219e 100644
--- a/lisp/progmodes/flymake.el
+++ b/lisp/progmodes/flymake.el
@@ -2097,7 +2097,7 @@ 'flymake-show-diagnostics-buffer
 (defun flymake--fit-diagnostics-window (window)
   (fit-window-to-buffer window 15 8))
 
-(defun flymake-show-buffer-diagnostics (&optional diagnostic)
+(defun flymake-show-buffer-diagnostics (&optional diagnostic event)
   "Show listing of Flymake diagnostics for current buffer.
 With optional DIAGNOSTIC, find and highlight this diagnostic in the
 listing.
@@ -2131,11 +2131,15 @@ flymake-show-buffer-diagnostics
                            event-diags)))))
              (flymake-diagnostics (point))))
           (diag (car diags)))
-     (unless (flymake-diagnostics)
-       (user-error "No diagnostics in the current buffer"))
-     (list diag)))
+     (list diag last-input-event)))
+  (when (and (mouse-event-p event)
+             (not (eq (posn-window (event-start event))
+                      (selected-window))))
+    (mouse-select-window event))
   (unless flymake-mode
     (user-error "Flymake mode is not enabled in the current buffer"))
+  (unless (flymake-diagnostics)
+    (user-error "No diagnostics in the current buffer"))
   (let* ((name (flymake--diagnostics-buffer-name))
          (source (current-buffer))
          (target (or (get-buffer name)

--=-=-=--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#81954; Package emacs. Full text available.
bug marked as fixed in version 31.1.50, send any further explanations to 81954 <at> debbugs.gnu.org and Andrey Listopadov <andreyorst@HIDDEN> Request was from Juri Linkov <juri@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 81954 <at> debbugs.gnu.org:


Received: (at 81954) by debbugs.gnu.org; 8 Oct 2026 17:12:14 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 08 13:12:14 2026
Received: from localhost ([127.0.0.1]:47052 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1xErfC-0000UJ-3q
	for submit <at> debbugs.gnu.org; Thu, 08 Oct 2026 13:12:14 -0400
Received: from mout-p-201.mailbox.org ([80.241.56.171]:38786)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <juri@HIDDEN>)
 id 1xErfA-0000Tj-2a; Thu, 08 Oct 2026 13:12:12 -0400
Received: from smtp102.mailbox.org (smtp102.mailbox.org
 [IPv6:2001:67c:2050:b231:465::102])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519MLKEM768 server-signature RSA-PSS (4096 bits) server-digest
 SHA256) (No client certificate requested)
 by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4j0xPJ05cJzMlHg;
 Thu, 08 Oct 2026 19:12:04 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linkov.net; s=MBO0001; 
 t=1791479524;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=eP+ll7t4PHEyBEvVkUKfCv7qhNfV7W3Yz+r6Rkwio7A=;
 b=BIIopVYze6lZ5E+t6NSjoiR7HY3IYJDjbo/sEDD4kDkGOIicUQO4LBQP6rQmfg681Ttvuu
 YsL5phYVpjfHzJckQfBW3+YEAWktSYiz6askM5pPpigI/h5MHv6S6p53CloNgsWV3g+6aP
 zUdF/e4h+2a8jEN+qzn487L24wIH0usW4vLA3i4W3rTOylNmFNTimB/2yOSvYZG2uYrb1V
 YH87Ovmjhciav2Uk7YvpBa4cEXmpZR9YGYkHpEtyR+5jtvHf6WocaGvX11blps4jk9QE4w
 extzxYbArcjAkh85ynukp/oRl3ESz0HqgI7YVEZz9SCxrFeTv6WZsNKSsW5KXA==
Authentication-Results: outgoing_mbo_mout; dkim=none;
 spf=pass (outgoing_mbo_mout: domain of juri@HIDDEN designates
 2001:67c:2050:b231:465::102 as permitted sender)
 smtp.mailfrom=juri@HIDDEN
From: Juri Linkov <juri@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#81954: 32.0.50; flymake-show-buffer-diagnostics no longer
 works from keyboard shortcut
In-Reply-To: <86a4ooo4f3.fsf@HIDDEN>
Organization: LINKOV.NET
References: <CAAKhXoYC3FJ2z4qqSbfiHLxsTBBw94Vab+=Mq_UtYb-OLgwfgg@HIDDEN>
 <86qzibz2re.fsf@HIDDEN> <87se2pp9cb.fsf@HIDDEN>
 <871pa8zc0x.fsf@HIDDEN>
 <87zewwyw0h.fsf@HIDDEN> <87jyntifyb.fsf@HIDDEN>
 <87ik3cse1t.fsf@HIDDEN> <86a4ooo4f3.fsf@HIDDEN>
Date: Thu, 08 Oct 2026 20:11:39 +0300
Message-ID: <87jynsw20k.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/32.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain
X-Rspamd-Queue-Id: 4j0xPJ05cJzMlHg
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 81954
Cc: andreyorst@HIDDEN, sbaugh@HIDDEN, 81954 <at> debbugs.gnu.org,
 Sean Whitton <spwhitton@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

close 81954 31.1.50
thanks

>> >> But the real patch to enable this command to be used on a key is here:
>> >
>> > Should both patches be pushed to the release branch?
>> > One of them is for a regression, but another is not.
>> 
>> I think they are both okay for the release branch, but it would be good
>> to hear from Eli too.
>
> Fine by me to install both patches on the release branch.

So now pushed and closed.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#81954; Package emacs. Full text available.

Message received at 81954 <at> debbugs.gnu.org:


Received: (at 81954) by debbugs.gnu.org; 8 Oct 2026 10:47:09 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 08 06:47:09 2026
Received: from localhost ([127.0.0.1]:44423 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1xEleW-0001by-Nx
	for submit <at> debbugs.gnu.org; Thu, 08 Oct 2026 06:47:09 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:33014)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1xEleU-0001an-Ql
 for 81954 <at> debbugs.gnu.org; Thu, 08 Oct 2026 06:47:07 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1xEleP-0003Ov-Cg; Thu, 08 Oct 2026 06:47:01 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=88NLpFsNTc+a+YtrC4U7KPSCAveIq/UW5hz83A9e3uM=; b=LUD+sCsrNEuJ
 CVFhiLqfXSpKThqLYrOiHhUDtpiX5pzyhnA3jmmYszspYvfpTBjv97X3NheEIo0kvfpkJG2WZpbLE
 P+clDOGt4UssYqXIsQOKRfc8cVik1WjrqTjH1wq8wBzBdszF23tCrVuhWc69LCXH9x6O71yipEosl
 kr8hVVevkQM30qGlQBtUX1plj0hA8iNMH8OJyAIdMK2EN3VRL87+iYGYdXnOVfE9m1IWrw6nF4HRc
 4QnSLG3yOBmNOD5houfbfOxenOM+Jl3ueECBQMqSMcZlRKynZFDGzNJpMFqThXFElg92U5jvHSTzr
 8M7Oe+SrHAGQltpcBc5ffg==;
Date: Thu, 08 Oct 2026 13:46:56 +0300
Message-Id: <86a4ooo4f3.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Sean Whitton <spwhitton@HIDDEN>
In-Reply-To: <87ik3cse1t.fsf@HIDDEN> (message from Sean
 Whitton on Thu, 08 Oct 2026 11:05:18 +0100)
Subject: Re: bug#81954: 32.0.50; flymake-show-buffer-diagnostics no longer
 works from keyboard shortcut
References: <CAAKhXoYC3FJ2z4qqSbfiHLxsTBBw94Vab+=Mq_UtYb-OLgwfgg@HIDDEN>
 <86qzibz2re.fsf@HIDDEN> <87se2pp9cb.fsf@HIDDEN>
 <871pa8zc0x.fsf@HIDDEN> <87zewwyw0h.fsf@HIDDEN>
 <87jyntifyb.fsf@HIDDEN> <87ik3cse1t.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 81954
Cc: andreyorst@HIDDEN, sbaugh@HIDDEN, 81954 <at> debbugs.gnu.org,
 juri@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Sean Whitton <spwhitton@HIDDEN>
> Cc: Andrey Listopadov <andreyorst@HIDDEN>, Spencer Baugh
>  <sbaugh@HIDDEN>, Eli Zaretskii <eliz@HIDDEN>,
>  81954 <at> debbugs.gnu.org
> Date: Thu, 08 Oct 2026 11:05:18 +0100
> 
> Juri Linkov [07/Oct  8:22pm +03] wrote:
> >> But the real patch to enable this command to be used on a key is here:
> >
> > Should both patches be pushed to the release branch?
> > One of them is for a regression, but another is not.
> 
> I think they are both okay for the release branch, but it would be good
> to hear from Eli too.

Fine by me to install both patches on the release branch.

Thanks.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#81954; Package emacs. Full text available.

Message received at 81954 <at> debbugs.gnu.org:


Received: (at 81954) by debbugs.gnu.org; 8 Oct 2026 10:05:28 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 08 06:05:28 2026
Received: from localhost ([127.0.0.1]:37914 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1xEl0C-0005e0-9q
	for submit <at> debbugs.gnu.org; Thu, 08 Oct 2026 06:05:28 -0400
Received: from fhigh-a3-smtp.messagingengine.com ([103.168.172.154]:54157)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <spwhitton@HIDDEN>)
 id 1xEl0A-0005bA-7n
 for 81954 <at> debbugs.gnu.org; Thu, 08 Oct 2026 06:05:26 -0400
Received: from phl-compute-11.internal (phl-compute-11.internal [10.202.2.51])
 by mailfhigh.phl.internal (Postfix) with ESMTP id 83C1214000FD
 for <81954 <at> debbugs.gnu.org>; Thu,  8 Oct 2026 06:05:20 -0400 (EDT)
Received: from phl-frontend-03 ([10.202.2.162])
 by phl-compute-11.internal (MEProxy); Thu, 08 Oct 2026 06:05:20 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=spwhitton.name;
 h=cc:cc:content-type:content-type:date:date:from:from
 :in-reply-to:in-reply-to:message-id:mime-version:references
 :reply-to:subject:subject:to:to; s=fm1; t=1791453920; x=
 1791540320; bh=dhieZ+o4O+NkSEKVt6m7al8fQlkcE761qrQP2WmHGwA=; b=H
 vL1gjWoI0TS+Cz01TDwJNinRpNJsz870TVR7mZl35qWvzfTJaCJZ+Yhgm1S4+fi6
 ykUNjDAbh+Rmn7kyn/GKjAcaUrlkMqIs/fP532pmPz1cM+VE81K74mgxx+fENGC6
 JyzWBPYXShTwyqvsWvSUu4nCaJtrfgBdrZw4QV6FSD1kLUPPfOYIzKRd1Sg0rftH
 5RtMct0P88tC5gYtiPrI2567VZFObzHjb8d05DWD9GmI9QNYAPssGMBC/UulPl/1
 MnUi7Pd/H1p1qehnzvIq+Q/MeMAPZh3cYEDvCimNU11HgFe1184mmPBTxlJjJ43X
 Q5Gyyi/ct8no7OTKyv6RA==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:cc:content-type:content-type:date:date
 :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to
 :message-id:mime-version:references:reply-to:subject:subject:to
 :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=
 1791453920; x=1791540320; bh=dhieZ+o4O+NkSEKVt6m7al8fQlkcE761qrQ
 P2WmHGwA=; b=XldaP0wxBe2VS62QUMmxTIKxYEAP1NuOrkHNWBuGOhIMpuuAWL1
 f9i1MHkexIfuZZFVFFAfLNfCQzAm8Db/Mm2v3Qmpnw8TaDMbB2mS0yeE8ccXseNj
 TDvfx/8cOxfe0KFXhWg5Z5fxdONJgeiUhhAYPJqMI4bLD0n6oXIz1jK/oeopvgCd
 TqE2xMqtVDilMyCUHu8mDBOIj6ZqK6MP5G1yFkfFXYUjaU+K7ob2U7Si69a5wr0A
 mzD8ymQIEk24C/qBDjNwn4SClXQvL5ctVxHc4v0ed6AzLwqXydJBuaRHXZvlR+rw
 rBU31LQCfiZ/C2kweOk6gH1Xl38CSzeo+LA==
X-DKIM2-Info: draft=ietf-dkim-dkim2-spec-06;
 repo=github.com/dkim2wg/interop; date=2026-10-04; sw=lmtpprox;
 action=sign d=spwhitton.name a=rsa-sha256;
DKIM2-Signature: i=1; m=1; t=1791453920; d=spwhitton.name;
 mf=PHNwd2hpdHRvbkBzcHdoaXR0b24ubmFtZT4=;
 rt=PDgxOTU0QGRlYmJ1Z3MuZ251Lm9yZz4=;
 s=fm1:rsa-sha256:nuxtoWY0mh208ENaoIw1d91AHX11DetTgJMtgPFpyG9oQD8
 lrG6EMe1DYasSL5o5h8c3lT8An2306gKuGFF88hC5qkuBdP05TL83EDF0EeTxHvn
 Emu4FMdKON6DZyGCyTRUHTbCxF3VbKB+WKX7TQP2vgl5+PUNvRZao62jRO+8nBAh
 IBppCWh8hKP4BtdTmIY87/M/mEoAEQWSqo2fCfnB8pgygmPnZw+puIjaXu1l0XJo
 OlEiT5hjnljOqPnL0LtKuo99uh4ghUTI9jaxaengqhP2CBxFhbS4twB9KkwYcdE2
 fHwIvaUw4b6D/5MbPXHogQnYIliOTVujfSKnZnA==;
X-DKIM2-Info: draft=ietf-dkim-dkim2-spec-06;
 repo=github.com/dkim2wg/interop; date=2026-10-04; sw=lmtpprox;
 action=mi-m=1; hc=11;
 hn=cc,content-type,date,feedback-id,from,in-reply-to,message-id,
 mime-version,references,subject,to;
Message-Instance: m=1;
 h=sha256:3gag8hWsdO1rF9UxmoXGaM+yPTjwhrd9VB/LgYkbLmk=:6FgViEIAra8CQws9ep5Mt/VCG3zScAl9jfEygXpqMCk=;
X-ME-Sender: <xms:4GrHaha3q4GqAkvoZxahUxCaGEWDr0WU9ZSuGB42V-crrSOCKX6voQ>
 <xme:4GrHavSeD3T5rwP94hJqu7sGX1f_8HsTkaQMY951STEawDXB4qHWuzQ-kaFViHVk3
 fmNT84Z1dELcPf6YNeetW6-mQe426WzXVBp3jLkXUH0SsJ5w1gNqIUu>
X-ME-Received: <xmr:4GrHasR4eDeGEtJupnw2fKWQBWBkoC2KF_1rwAAa0gvDqzHW5i2A0thGEkJn85dQhOST-xtH8GukCqJEFZnrof9ECTTAbbEWtg>
X-ME-Proxy-Cause: dmFkZTEhn3X3myKiBGzXmBzo3W7MvXcJe9MAZxl6RBgxXovb0I37HcNlX/DXcK9vKImhJH
 FIWCQJOZRS1ldHL4wRyq1onGy6p3o6ReqUFABLTP0arFSmzsFukvCNw90fxIdoS4FCyjFY
 Mi2jahyf3iE3FDYx4p5pP6BPTKkzE0KXgg49XI9MCeNoNbcpMG08lrQkNbAY6HDom7eRm3
 c2JZpSM8d22x2QBNTnHQGxY8Y6Nfl/5a6+3hhtLUmEx+OXn04JPA+lHCt6RZM9I1YBV0Zl
 Pwje1t/uTtbLUcGt+0zsTYHBhQlhK+XDSCl5Rf2BhqiMhjIae4N/YnaPm34L7XoE4KlAV2
 BSR+b06+2S25MqAnoQoSBuGUuPqfz1YSvxbHbbKgHFdaP1Mcs6pbXhtZyHVAIpmtxzsY5x
 skU+cnyes4REWNyUpIuFpjcbHiTA4eEskx+kHDV/HB2Ppp/u76eShfSzbHwPJd9SV4aSaM
 aScgPtrXD4qML4Y3vKmCRxn+Qm9OVfYerX/HG/2tIgjIjx3oU/uLMTNZesG9yIyuFjFHix
 WzcYYxF98pU8bj5Fe+bBWOvJ1zu+IIlGHo1IaLZ2PsCOcm42eCCag2jJNzmTiIohjN73N5
 KlKc1mcfV5jvSkMIUXgMsrbQlSDrwKP2661eQxkAVHUnX+CWBsHIQfmNxuPQ
X-ME-Proxy: <xmx:4GrHarStHK3AxEvwUeVTHYbi7PRhahrFgOAEEsvXi69dahZiMpRZ6A>
 <xmx:4GrHap5qS-jCWIJtaEp9WQCNqBWnlFhYAv-jretbHjOZSl4DMk76bw>
 <xmx:4GrHav2yivtyXEPYhfbfp04dC-OTYNm085co3GcSbx8qDTzpjbDq0w>
 <xmx:4GrHasDLUnQ8NPoYhYakA6S7y6MHrNmSyxJHIPT7CFWngQkVwen3hg>
 <xmx:4GrHanyr1psTeI3I9DYEUFTb8_1EKt4qhDl-3NV3Cq3xbSJaL9xJqf2A>
Feedback-ID: i62564b17:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu,
 8 Oct 2026 06:05:19 -0400 (EDT)
Received: by athena.silentflame.com (Postfix, from userid 1000)
 id A3FB927D96F; Thu, 08 Oct 2026 11:05:18 +0100 (BST)
From: Sean Whitton <spwhitton@HIDDEN>
To: Juri Linkov <juri@HIDDEN>
Subject: Re: bug#81954: 32.0.50; flymake-show-buffer-diagnostics no longer
 works from keyboard shortcut
In-Reply-To: <87jyntifyb.fsf@HIDDEN>
References: <CAAKhXoYC3FJ2z4qqSbfiHLxsTBBw94Vab+=Mq_UtYb-OLgwfgg@HIDDEN>
 <86qzibz2re.fsf@HIDDEN> <87se2pp9cb.fsf@HIDDEN>
 <871pa8zc0x.fsf@HIDDEN> <87zewwyw0h.fsf@HIDDEN>
 <87jyntifyb.fsf@HIDDEN>
Date: Thu, 08 Oct 2026 11:05:18 +0100
Message-ID: <87ik3cse1t.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 81954
Cc: Andrey Listopadov <andreyorst@HIDDEN>,
 Spencer Baugh <sbaugh@HIDDEN>, Eli Zaretskii <eliz@HIDDEN>,
 81954 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Juri Linkov [07/Oct  8:22pm +03] wrote:
>> But the real patch to enable this command to be used on a key is here:
>
> Should both patches be pushed to the release branch?
> One of them is for a regression, but another is not.

I think they are both okay for the release branch, but it would be good
to hear from Eli too.

-- 
Sean Whitton




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#81954; Package emacs. Full text available.

Message received at 81954 <at> debbugs.gnu.org:


Received: (at 81954) by debbugs.gnu.org; 7 Oct 2026 17:23:36 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Oct 07 13:23:35 2026
Received: from localhost ([127.0.0.1]:47885 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1xEVMa-0006aF-53
	for submit <at> debbugs.gnu.org; Wed, 07 Oct 2026 13:23:35 -0400
Received: from mout-p-202.mailbox.org ([80.241.56.172]:37546)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <juri@HIDDEN>) id 1xEVMS-0006ZT-GS
 for 81954 <at> debbugs.gnu.org; Wed, 07 Oct 2026 13:23:27 -0400
Received: from smtp202.mailbox.org (smtp202.mailbox.org
 [IPv6:2001:67c:2050:b231:465::202])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519MLKEM768 server-signature RSA-PSS (4096 bits) server-digest
 SHA256) (No client certificate requested)
 by mout-p-202.mailbox.org (Postfix) with ESMTPS id 4j0Khh6QmFzMlQ4;
 Wed, 07 Oct 2026 19:23:16 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linkov.net; s=MBO0001; 
 t=1791393796;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=mOnCZamu0+z0Hx9GJ9fVTRQ4MVfszBW7K/Eep9/3tnA=;
 b=LblOX7HUcwqwqYTfPhAkKYKg2L8DqFbTz+9C4pE0H/ItcvvdfQzhZvzJCZKCLn0KTsfxC7
 JpLH8qF+yewyY8PuvN7/pAe5yXoSDPU/olreIcHfWL/1L6F4Izo3s8ffhN9TgWDHRy+/UB
 MJDmAl/yoISwFm7GRMinEGxQAbxsHEZ2rm+V7NIOLNJfqYc6ct5bRVTa0OyTaLK2VogGhP
 P5g9CFUxZVnWzd22JCD25DQwntf9eAVe02A2s+HvIfXlJTToAucj6LS67G5q7F+ZBtRm6D
 gqCLjYwc27NrHrD6s3rPOYNy3wgaZqWMNm087VOT+NVdYGWkvOA6n4wQW55Zyw==
Authentication-Results: outgoing_mbo_mout; dkim=none;
 spf=pass (outgoing_mbo_mout: domain of juri@HIDDEN designates
 2001:67c:2050:b231:465::202 as permitted sender)
 smtp.mailfrom=juri@HIDDEN
From: Juri Linkov <juri@HIDDEN>
To: Sean Whitton <spwhitton@HIDDEN>
Subject: Re: bug#81954: 32.0.50; flymake-show-buffer-diagnostics no longer
 works from keyboard shortcut
In-Reply-To: <87zewwyw0h.fsf@HIDDEN>
Organization: LINKOV.NET
References: <CAAKhXoYC3FJ2z4qqSbfiHLxsTBBw94Vab+=Mq_UtYb-OLgwfgg@HIDDEN>
 <86qzibz2re.fsf@HIDDEN> <87se2pp9cb.fsf@HIDDEN>
 <871pa8zc0x.fsf@HIDDEN>
 <87zewwyw0h.fsf@HIDDEN>
Date: Wed, 07 Oct 2026 20:22:04 +0300
Message-ID: <87jyntifyb.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/32.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain
X-Rspamd-Queue-Id: 4j0Khh6QmFzMlQ4
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 81954
Cc: Andrey Listopadov <andreyorst@HIDDEN>,
 Spencer Baugh <sbaugh@HIDDEN>, Eli Zaretskii <eliz@HIDDEN>,
 81954 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

> But the real patch to enable this command to be used on a key is here:

Should both patches be pushed to the release branch?
One of them is for a regression, but another is not.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#81954; Package emacs. Full text available.

Message received at 81954 <at> debbugs.gnu.org:


Received: (at 81954) by debbugs.gnu.org; 2 Oct 2026 15:17:29 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Oct 02 11:17:28 2026
Received: from localhost ([127.0.0.1]:36347 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1xCf0l-0004kL-A2
	for submit <at> debbugs.gnu.org; Fri, 02 Oct 2026 11:17:27 -0400
Received: from mout-p-103.mailbox.org ([80.241.56.161]:50442)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <juri@HIDDEN>) id 1xCf0U-0004gl-Bf
 for 81954 <at> debbugs.gnu.org; Fri, 02 Oct 2026 11:17:11 -0400
Received: from smtp102.mailbox.org (smtp102.mailbox.org
 [IPv6:2001:67c:2050:b231:465::102])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
 (No client certificate requested)
 by mout-p-103.mailbox.org (Postfix) with ESMTPS id 4hxC7G6zgQzKnQk;
 Fri, 02 Oct 2026 17:16:58 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linkov.net; s=MBO0001; 
 t=1790954219;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=EjfTkk570Mk1AUjmaRn27YlquNWUvPB4BNphDRoTSaM=;
 b=PVYFuJyszRswyaQ+eUi+CiaEIBXrJX2MeEzTA7RXIoaQjx2aI1jmhIQ3sbWkhAVP0+v91p
 lg0Qg5BkYxoXFD4U/yQC9q80VlXT0Awf7dacF9GfuajmW5a1ww7d8ZhIVHl6RTWFKbwW7k
 qN5v02DHl8m4b/TnAxRFI4FxPGhBiAtKeGshp9qnHtdTIMvyxNfFpr/j82yfeuOQD5fUYu
 fT4g/4jXJqrjKp+OkS3c5fsc+rt7P986aTc3mnyxs52uSFpOf4o/7sPNMPu/Km4t6TDhts
 OY44PPuPV9mFhCaU9ZVcRJ/uwpG38hmpjfZggIJBsioUbHKFwNxLGWbUb0KNsg==
Authentication-Results: outgoing_mbo_mout; dkim=none;
 spf=pass (outgoing_mbo_mout: domain of juri@HIDDEN designates
 2001:67c:2050:b231:465::102 as permitted sender)
 smtp.mailfrom=juri@HIDDEN
From: Juri Linkov <juri@HIDDEN>
To: Sean Whitton <spwhitton@HIDDEN>
Subject: Re: bug#81954: 32.0.50; flymake-show-buffer-diagnostics no longer
 works from keyboard shortcut
In-Reply-To: <871pa8zc0x.fsf@HIDDEN>
Organization: LINKOV.NET
References: <CAAKhXoYC3FJ2z4qqSbfiHLxsTBBw94Vab+=Mq_UtYb-OLgwfgg@HIDDEN>
 <86qzibz2re.fsf@HIDDEN> <87se2pp9cb.fsf@HIDDEN>
 <871pa8zc0x.fsf@HIDDEN>
Date: Fri, 02 Oct 2026 18:14:54 +0300
Message-ID: <87zewwyw0h.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/32.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-Rspamd-Queue-Id: 4hxC7G6zgQzKnQk
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 81954
Cc: Andrey Listopadov <andreyorst@HIDDEN>,
 Spencer Baugh <sbaugh@HIDDEN>, Eli Zaretskii <eliz@HIDDEN>,
 81954 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

--=-=-=
Content-Type: text/plain

>> And indeed there is such a bug where clicking on the
>> margin indicator raises the error "No diagnostics here"
>> when the diagnostics is at the end of the line.
>>
>> Here is the patch that fixes this bug
>> by extending the scope of the current line
>> to the end of the line:
>
> Thanks for looking, Juri.  Andrey, could you test this patch?

Sorry for the unclear message.  I meant that this signaled error
helped to find a related bug.  But the real patch to enable
this command to be used on a key is here:


--=-=-=
Content-Type: text/x-diff
Content-Disposition: inline; filename=flymake-show-buffer-diagnostics.patch

diff --git a/lisp/progmodes/flymake.el b/lisp/progmodes/flymake.el
index 8f446af5cf3..be91d92a1c5 100644
--- a/lisp/progmodes/flymake.el
+++ b/lisp/progmodes/flymake.el
@@ -2177,17 +2180,21 @@ flymake-show-buffer-diagnostics
                    (let ((event-point (posn-point
                                        (event-end last-command-event))))
                      (or (flymake-diagnostics event-point)
-                         (let (event-lbp event-lep)
+                         (let (event-lbp event-lep event-diags)
                            (save-excursion
                              (goto-char event-point)
                              (setq event-lbp (line-beginning-position)
                                    event-lep (line-end-position)))
-                           (flymake-diagnostics event-lbp
-                                                event-lep))))))
+                           (setq event-diags
+                                 (flymake-diagnostics event-lbp
+                                                      event-lep))
+                           (unless event-diags
+                             (error "No diagnostics here"))
+                           event-diags)))))
              (flymake-diagnostics (point))))
           (diag (car diags)))
-     (unless diag
-       (error "No diagnostics here"))
+     (unless (flymake-diagnostics)
+       (user-error "No diagnostics in the buffer"))
      (list diag)))
   (unless flymake-mode
     (user-error "Flymake mode is not enabled in the current buffer"))

--=-=-=--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#81954; Package emacs. Full text available.

Message received at 81954 <at> debbugs.gnu.org:


Received: (at 81954) by debbugs.gnu.org; 2 Oct 2026 09:29:25 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Oct 02 05:29:24 2026
Received: from localhost ([127.0.0.1]:34956 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1xCZZu-000684-Kc
	for submit <at> debbugs.gnu.org; Fri, 02 Oct 2026 05:29:23 -0400
Received: from fout-a4-smtp.messagingengine.com ([103.168.172.147]:56205)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <spwhitton@HIDDEN>)
 id 1xCZZl-00066y-Ic
 for 81954 <at> debbugs.gnu.org; Fri, 02 Oct 2026 05:29:15 -0400
Received: from phl-compute-01.internal (phl-compute-01.internal [10.202.2.41])
 by mailfout.phl.internal (Postfix) with ESMTP id 16650EC01D7
 for <81954 <at> debbugs.gnu.org>; Fri,  2 Oct 2026 05:29:04 -0400 (EDT)
Received: from phl-frontend-04 ([10.202.2.163])
 by phl-compute-01.internal (MEProxy); Fri, 02 Oct 2026 05:29:04 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=spwhitton.name;
 h=cc:cc:content-type:content-type:date:date:from:from
 :in-reply-to:in-reply-to:message-id:mime-version:references
 :reply-to:subject:subject:to:to; s=fm3; t=1790933344; x=
 1791019744; bh=Hhso7cj4XnvS3aUBKaVjPhu1TY7cNg3f0zf7iCAg6zw=; b=E
 qI8/kt9y+/FiKEJQHpwfTxoRI3J6xxsLOvZaKPx7mltLLkyVQWu4JMUp5d3vQtb6
 4GE1fCG28BFk78x0paZ2hNBqr00E5qTbW9hZ1qmR5rcUfBUA1IBaffpxRFfHftUO
 +hLBdlZYKYCcJhyG/1IKHu3Fp5Mg68QfyVBW9I1xZt4YsFREuZ/Z9n+ikU7F/x6a
 44IKv1QHLoAMVJZEWozACHE0fyOPHAoG/6WKL1tOScEuPa5YKtNj5ZgNZ6F/6MIY
 zTuWGzFtgLRClQ9pGbXwiRAitZBHW9rZN2vGEpWETpBxfatcf8ox7bh9Cc4XqCG5
 YbRQg7hpu/9o4hZ9UT3hw==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:cc:content-type:content-type:date:date
 :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to
 :message-id:mime-version:references:reply-to:subject:subject:to
 :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=
 1790933344; x=1791019744; bh=Hhso7cj4XnvS3aUBKaVjPhu1TY7cNg3f0zf
 7iCAg6zw=; b=ljbDvQGBG1D+ZX4NN6uESYuW97x1n2hC6Tf1lC1xTSSI7uF9slO
 Trd4oXFM3pfAo6l4pdTqj6zSIV7etyTazBliuXX5NXR2MnvDWuNhznP38/TBFXYA
 ReCS0POSAT1wgTBM10h7Ynx0zRrewmISUZ5l/YqYwYCYVOE9DUOcdGyMXtmc462k
 JjCFwUNKqlJUmWPtjyRP4Wc/HIYGkMHsS4JcPTN3oB0t/9JAcOErWkZRmONGOV8i
 58WCUI8zDsDQO7fYAsgM14AOtOzTmFVPdlKQUtKfiAkzQy3n0hjehjoONyA9KuJp
 SLusectF5BXuiQ6SGU8KknQAGqn1PlqpaCw==
X-DKIM2-Info: draft=ietf-dkim-dkim2-spec-06;
 repo=github.com/dkim2wg/interop; date=2026-09-30; sw=lmtpprox;
 action=sign d=spwhitton.name a=rsa-sha256;
DKIM2-Signature: i=1; m=1; t=1790933344; d=spwhitton.name;
 mf=PHNwd2hpdHRvbkBzcHdoaXR0b24ubmFtZT4=;
 rt=PDgxOTU0QGRlYmJ1Z3MuZ251Lm9yZz4=;
 s=fm3:rsa-sha256:PdubqypGSCb6CkkuU7zYpf/XGwISOjrXN9Dp8OC82NjRSZp
 hyxDB+7UMWWL2WlVxVkc7izsoXC4taFOndl1ro0zyP2jwYJ4Jz7ayB0l+RsjhyUo
 tvUpvQ7HYl8CJsz4F3/bSecm+DaJqqIV3MAwlrjZhMqEKp5NewbJFsnFZTEnoofd
 GOacTjIX6LVb2DTSn36zx/MfIV0dCpEhM/ARhQU8Rz2rc14xGc9h2HCe5sXnaPRO
 Xx0wMiANyHT/f60lcsIfynDCXtMVjDOhlQh5F5d7icHuQPPsVkC1rJdanzvywAex
 9HX4FcmzIb/4dWUKEHNeo+mwnR6ZeRwHxFWfZlw==;
X-DKIM2-Info: draft=ietf-dkim-dkim2-spec-06;
 repo=github.com/dkim2wg/interop; date=2026-09-30; sw=lmtpprox;
 action=mi-m=1; hc=11;
 hn=cc,content-type,date,feedback-id,from,in-reply-to,message-id,
 mime-version,references,subject,to;
Message-Instance: m=1;
 h=sha256:A1m2U6eUd8G959nMYL5ojuGFsRWhXBoRJU0M9EgHRaY=:v8dm7YMgzbgmyip1xLXsratvpX3vX9Goo/QZHKLEjro=;
X-ME-Sender: <xms:X3m_apzS2hbh-gard89Lw5phb8rVuDFEqOhcQxefYjAC7fgec9Kt2w>
 <xme:X3m_agK7YN9RnpE9HZUqTvoZJc1k26MCzz9IXUJa_PV-qHVhGvfA8MvW9TueLmzqS
 RVkqECXCcvn0u76Fn6cwTmS3KXQWZOlqF0yLs7608XHe4Lq3-o9sz2wcg>
X-ME-Received: <xmr:X3m_arr-HcnULogGDdwJKnWksbURG-JYfCQJ57G3F1elb-j4iXHP2toe0mEfMTuK3YtM-QcrAe1RZAfoxBoBbthBHplizh2Agg>
X-ME-Proxy-Cause: dmFkZTEu0DVYXzl9zf8+lzeocHAbelkFFhafcRhkKahJBjtR6J3se+Ht7QuszIoKU1/Nlw
 gOLhTeGJubwB/9vfRWG0VKophmq/DzPr9bIf6AxBGL7RqEfk6EBuqOW4yh6gAfDgeWHBo0
 nG1JyGPQ41Mjb04gq/6J0Fo8wdXEBLZHDhMnnzfV6awhw+F4m00ln+sTFQZHuLQhyCKtRY
 lA/fbb/d+V1DFHq1BYx6r0QWFo7t2o1b2mjLxbuSiyyhMBICJ2bhWEpc/xFaOAqiPCPIh+
 FIrKSAR8TYXOaAn0Q9aQ2ze8YCfHstJduJKJtY1b/o/mgtiYv89sRCn5H2rprYR48U7PZB
 8pdUVc787LgLqbUyJviKkbA5x7JptzM/6EDlGxlNK1exE1i+TvGUyoMnbVziqMVWY0YH7b
 JO+B2uw8J9VQ0xzVnqi7n+DIf/KSAPDuN/77vGuMzmECNCv1tk1pbnxcPIIT4/zbQNnyj0
 ai+/6+uz/q3O/XRnwPi2Iz3y6kML987NNXjiFAuf2QD0pS8zWfrJ97ptbPF3Ta4XWt7N2s
 Rj8UOHw8BoThr/NnxOKJ2SR85DarliVuD1C2QdoP6LAdj86p9IsClGgeij0NjzBSkRZSE/
 PRHd/TlIuyWlfHb0CLBJCvrBwxW+wSJVto2FrU4WhHAjpKCqNzsvWczVechw
X-ME-Proxy: <xmx:X3m_anK7uTm6l_0yJYZgBPpf-Z2dCyn_6FqDf3sgXKcK9a8Qwzndqw>
 <xmx:X3m_aoT4qlBBGtU8L2gRpNJWNcaAzU7Epjeh8UUeMuiP8LH6Xksivw>
 <xmx:X3m_auvBvok3xUNXwHf9-Ni7FuiVj45rBNJNQJVOfbNyWGkw29ApbQ>
 <xmx:X3m_ahb7Tu30BT_pOaD4g7XWIpVeVjfkUkWyc3ydqgVTH4kesXgu5g>
 <xmx:YHm_ajqVX3BVvvrOQhCudaGp1Oca2BVCzPHSlFJNws40GZDB3ic66yzU>
Feedback-ID: i62564b17:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri,
 2 Oct 2026 05:29:03 -0400 (EDT)
Received: by athena.silentflame.com (Postfix, from userid 1000)
 id 30EEA27CBEA; Fri, 02 Oct 2026 10:29:02 +0100 (BST)
From: Sean Whitton <spwhitton@HIDDEN>
To: Juri Linkov <juri@HIDDEN>, Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#81954: 32.0.50; flymake-show-buffer-diagnostics no longer
 works from keyboard shortcut
In-Reply-To: <87se2pp9cb.fsf@HIDDEN>
References: <CAAKhXoYC3FJ2z4qqSbfiHLxsTBBw94Vab+=Mq_UtYb-OLgwfgg@HIDDEN>
 <86qzibz2re.fsf@HIDDEN> <87se2pp9cb.fsf@HIDDEN>
Date: Fri, 02 Oct 2026 10:29:02 +0100
Message-ID: <871pa8zc0x.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 81954
Cc: Andrey Listopadov <andreyorst@HIDDEN>,
 Spencer Baugh <sbaugh@HIDDEN>, 81954 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Juri Linkov [01/Oct  9:25pm +03] wrote:
>> This seems to be a deliberate change to make the command's behavior
>> consistent with its doc string:
>>
>>   Interactively, grab DIAGNOSTIC from context.  For mouse events in
>>   margins and fringes, use the first diagnostic in the corresponding line,
>>   else look in the click position.  For non-mouse events, look for
>>   diagnostics at point.
>>
>> So the previous behavior, whereby the command would show a list of
>> diagnostics, was wrong, and you should invoke the command with point
>> at diagnostics to avoid the error message.
>>
>> However, I agree that if clicking the mouse where there's no
>> diagnostics shows the list of all buffer diagnostics, the same should
>> happen when point is not at any diagnostics, but if that's the intent,
>> this special behavior should be spelled out in the doc string.
>
> The docstring already says that this command should show
> all diagnostics in the buffer:
>
>   Show listing of Flymake diagnostics for current buffer.
>   With optional DIAGNOSTIC, find and highlight this diagnostic in the
>   listing.
>
> The argument DIAGNOSTIC is used optionally to highlight
> the current diagnostic according to the context.
>
> Using this command bound to a key is not different
> from using the menu item "List all problems"
> that is currently broken too.
>
> OTOH, clicking on the mode line works without raising an error,
> because this mouse event has 'event-point' set to nil
> that calls (flymake-diagnostics event-point) as
> (flymake-diagnostics nil), i.e. for the whole buffer anyway.
> This also should be not different from calling the command
> by a key anywhere in the buffer regardless of context.
>
> Also please note that (error "No diagnostics here")
> is 'error', but not 'user-error'.  This is because
> this error should be signaled only in one case:
> to detect a bug in flymake.el when clicking on
> an indicator in the margins or fringes doesn't find
> the corresponding diagnostics on the same line.
>
> And indeed there is such a bug where clicking on the
> margin indicator raises the error "No diagnostics here"
> when the diagnostics is at the end of the line.
>
> Here is the patch that fixes this bug
> by extending the scope of the current line
> to the end of the line:

Thanks for looking, Juri.  Andrey, could you test this patch?

-- 
Sean Whitton




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#81954; Package emacs. Full text available.

Message received at 81954 <at> debbugs.gnu.org:


Received: (at 81954) by debbugs.gnu.org; 1 Oct 2026 18:28:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 01 14:28:44 2026
Received: from localhost ([127.0.0.1]:60475 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1xCLWN-0000s7-Hb
	for submit <at> debbugs.gnu.org; Thu, 01 Oct 2026 14:28:43 -0400
Received: from mout-p-103.mailbox.org ([2001:67c:2050:0:465::103]:58644)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <juri@HIDDEN>) id 1xCLWL-0000re-16
 for 81954 <at> debbugs.gnu.org; Thu, 01 Oct 2026 14:28:41 -0400
Received: from smtp1.mailbox.org (smtp1.mailbox.org
 [IPv6:2001:67c:2050:b231:465::1])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
 (No client certificate requested)
 by mout-p-103.mailbox.org (Postfix) with ESMTPS id 4hwgQn0CSKzKnW6;
 Thu, 01 Oct 2026 20:28:33 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linkov.net; s=MBO0001; 
 t=1790879313;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=3WYaAYcK6Cqn3dBBboPsGLNu/j4KNvW+qkb9ktOdEaA=;
 b=nZBAWdwJbrrwxFw7J7uxlGmu0rKag/Bk4PcpY+VTcShKKk9fh2dCjsEPlUA4J0x01XZAMX
 mRPeYyor7KMtBjGJFhEgX/1erZfWDTQHJ5OgMVNmuul2SeoFQmyAXCJ34rQn7HCXPtgVse
 +VO8oaDJVmG3MSB4LIoTEdgnchNBYM2T3dErlsOkHqHEOvHxMoCL+0sXNZtpGNzj/ou+Yn
 QRn+sMmg/zvCPSlRnI6dZolFWDSHpYrSz8Uy7+jrDoH8ZWPXubVEsZpUEQwyqbKI+lU+0e
 qvfSNrZWkIzRCjDdgBCNuJtuGXSFlrjoCEjs+AGdSz0XkwW1t/DBBKaUumw4cA==
Authentication-Results: outgoing_mbo_mout; dkim=none;
 spf=pass (outgoing_mbo_mout: domain of juri@HIDDEN designates
 2001:67c:2050:b231:465::1 as permitted sender) smtp.mailfrom=juri@HIDDEN
From: Juri Linkov <juri@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#81954: 32.0.50; flymake-show-buffer-diagnostics no longer
 works from keyboard shortcut
In-Reply-To: <86qzibz2re.fsf@HIDDEN>
Organization: LINKOV.NET
References: <CAAKhXoYC3FJ2z4qqSbfiHLxsTBBw94Vab+=Mq_UtYb-OLgwfgg@HIDDEN>
 <86qzibz2re.fsf@HIDDEN>
Date: Thu, 01 Oct 2026 21:25:52 +0300
Message-ID: <87se2pp9cb.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/32.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-Rspamd-Queue-Id: 4hwgQn0CSKzKnW6
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 81954
Cc: Andrey Listopadov <andreyorst@HIDDEN>,
 Spencer Baugh <sbaugh@HIDDEN>, 81954 <at> debbugs.gnu.org,
 Sean Whitton <spwhitton@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

--=-=-=
Content-Type: text/plain

> This seems to be a deliberate change to make the command's behavior
> consistent with its doc string:
>
>   Interactively, grab DIAGNOSTIC from context.  For mouse events in
>   margins and fringes, use the first diagnostic in the corresponding line,
>   else look in the click position.  For non-mouse events, look for
>   diagnostics at point.
>
> So the previous behavior, whereby the command would show a list of
> diagnostics, was wrong, and you should invoke the command with point
> at diagnostics to avoid the error message.
>
> However, I agree that if clicking the mouse where there's no
> diagnostics shows the list of all buffer diagnostics, the same should
> happen when point is not at any diagnostics, but if that's the intent,
> this special behavior should be spelled out in the doc string.

The docstring already says that this command should show
all diagnostics in the buffer:

  Show listing of Flymake diagnostics for current buffer.
  With optional DIAGNOSTIC, find and highlight this diagnostic in the
  listing.

The argument DIAGNOSTIC is used optionally to highlight
the current diagnostic according to the context.

Using this command bound to a key is not different
from using the menu item "List all problems"
that is currently broken too.

OTOH, clicking on the mode line works without raising an error,
because this mouse event has 'event-point' set to nil
that calls (flymake-diagnostics event-point) as
(flymake-diagnostics nil), i.e. for the whole buffer anyway.
This also should be not different from calling the command
by a key anywhere in the buffer regardless of context.

Also please note that (error "No diagnostics here")
is 'error', but not 'user-error'.  This is because
this error should be signaled only in one case:
to detect a bug in flymake.el when clicking on
an indicator in the margins or fringes doesn't find
the corresponding diagnostics on the same line.

And indeed there is such a bug where clicking on the
margin indicator raises the error "No diagnostics here"
when the diagnostics is at the end of the line.

Here is the patch that fixes this bug
by extending the scope of the current line
to the end of the line:


--=-=-=
Content-Type: text/x-diff
Content-Disposition: inline; filename=flymake-show-buffer-diagnostics.patch

diff --git a/lisp/progmodes/flymake.el b/lisp/progmodes/flymake.el
index 8f446af5cf3..06515e236f3 100644
--- a/lisp/progmodes/flymake.el
+++ b/lisp/progmodes/flymake.el
@@ -2181,7 +2183,8 @@ flymake-show-buffer-diagnostics
                            (save-excursion
                              (goto-char event-point)
                              (setq event-lbp (line-beginning-position)
-                                   event-lep (line-end-position)))
+                                   event-lep (min (1+ (line-end-position))
+                                                  (point-max))))
                            (flymake-diagnostics event-lbp
                                                 event-lep))))))
              (flymake-diagnostics (point))))

--=-=-=--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#81954; Package emacs. Full text available.

Message received at 81954 <at> debbugs.gnu.org:


Received: (at 81954) by debbugs.gnu.org; 1 Oct 2026 10:02:09 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 01 06:02:09 2026
Received: from localhost ([127.0.0.1]:34994 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1xCDc8-0004qy-0L
	for submit <at> debbugs.gnu.org; Thu, 01 Oct 2026 06:02:08 -0400
Received: from fout-b4-smtp.messagingengine.com ([202.12.124.147]:44075)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <spwhitton@HIDDEN>)
 id 1xCDc6-0004px-MM
 for 81954 <at> debbugs.gnu.org; Thu, 01 Oct 2026 06:02:07 -0400
Received: from phl-compute-11.internal (phl-compute-11.internal [10.202.2.51])
 by mailfout.stl.internal (Postfix) with ESMTP id 2A61D1D000B1;
 Thu,  1 Oct 2026 06:02:01 -0400 (EDT)
Received: from phl-frontend-04 ([10.202.2.163])
 by phl-compute-11.internal (MEProxy); Thu, 01 Oct 2026 06:02:01 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=spwhitton.name;
 h=cc:cc:content-type:content-type:date:date:from:from
 :in-reply-to:in-reply-to:message-id:mime-version:references
 :reply-to:subject:subject:to:to; s=fm3; t=1790848921; x=
 1790935321; bh=M5RGU0hB3ZO/0vYhLMZgO25SNe4th+ZtG7X0FPjwcQk=; b=a
 XU/wusQyiMFTjt0bUW8uARbsV71wOc1SDAV/aLPtrxt+A7tP2RKEBcyeKNoO/gDI
 H6rYtcS+qX5nRYV6hvtdUjcWSurXITYWoTSYNuQchnNOwbVsqm8tR6w1aKaM7wI1
 6HxDde5O1asipOHRUXLEY6syNCLM6TndwaqC57rqQGCAQ9BeZqe0V6yT/Myy8ghh
 55/J0SMvPTAWzOZakA1nuBPbjYHat3csI79Bf4p353gtNSE14WBvcp8DXNAdYO20
 pvUJagcEn3UkW1bUq+r/e9W/ooNZKnkZoCIRcDcegHr7GDsR2xCcE9XH3hnCHi6L
 zzhpTXrGcbtbsYvSj/C3A==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:cc:content-type:content-type:date:date
 :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to
 :message-id:mime-version:references:reply-to:subject:subject:to
 :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=
 1790848921; x=1790935321; bh=M5RGU0hB3ZO/0vYhLMZgO25SNe4th+ZtG7X
 0FPjwcQk=; b=IjLcSkpVhVhFy1etrPcvXXNSZyGf1Ddjje2KGOE0jdzUGCeoz58
 2Isg61USVbXQcwSLcEOlyCpeU2MgI3dLRB00Ca1bcDnNBGoCYHaKh2O/i4GkqrHD
 Qvv+AN9AuCWnUz5O0Yigx5FOyqi4gUCYFeeyPsYRAlqAON+2BTxguyE1uXprown+
 6BdXJPkFI8cPf3Y3QMCdJe9SB21KibXfYSCDbEwgr6PLXIb+9PPljq5PWlW0derd
 GJzvyJ+DJVCvgQQa2Ia82vBepYZ1rFdY62dKXO5S/g+3oIEXicQVXTvNpQT/NXLP
 KKW6BStzcytclPaT/2+F+6ljrBapFIRwSPg==
X-ME-Sender: <xms:mC--ajv55GdBgidacR9rrczQcHKjtYLxS-PsqyWtePBXtUo90SlJJA>
 <xme:mC--arfg-0NvkCPk9IWFjLeHzTToOs38_RsVW6sHdysb0QnduPoHaGhBd4dk3u2W4
 IkIXp-ixEIqpp2HLTdPVQHb19lhB6CzRtwliJzLU4lkwFyOwleVVhF6Ow>
X-ME-Received: <xmr:mC--arwlwYYuFl3NrAxaVhCf3WPxX8Ho_fiW8DogV1i1rOg3rT3z8La_oZVB7dxHYOFLqwqw3Uky_SbMrKP3hwnly4X45e0d_Q>
X-ME-Proxy-Cause: dmFkZTGabmuAVEBq3YEMPT3G8QZ13xsekK4bsrZTDJF8kxNeZJbVCncuf+zpwgdurZxo27
 v52iw03t2pA1oQ6/LH5Fu2+C3KjluPdj1406QEf6/8z6Ruc2rxb4cotPpok4X7c6yQ/HKl
 gL7gI+tbM//w95b3HV/gTZOEBXE6yD4mldSXGgAopJxtCxVDSvhBkFNSze+oc+djNik9pt
 i2BdrVcIorks+pRaQgo8NNEUWZmVmzSXBQA7lToC2CEjUw43QsczeU0Cc7AzoX8Ldfm8l3
 RlVYvUpID7aI2bLywfyV5siQSfkrGY/l9CZaJxlInozLw39uqpF/rZ3ox9GjPczrBp+sNE
 690w2EnKyOhM2Lz3QHf0TcMrzLCyyMweWwVTlhiX+Zje2kDX350Lwoxyq6Ae1n2oEIWUDZ
 BGIR5etuGq1cKbvrbO/CHtqbNW63o7Z4WlyBWa3NZpgz87YuoD7fBDTqhTpfIy/EFhvoSt
 lynQMZzmzzlOcyeS7VolUC3NnWqC/X9kFulAUEhPdPoIkzeTTM+n90LTiTwvUpkpUEPueV
 Avc60F67KDMYJNJd8j49B7atRhROxJKqZu3krr3oO8kJk3XFeCPUQWsp2VqJFhA5C5rUbr
 CjBmksi6boexrACcQ6UifyjW38JgT3eySDCh1FpUbO26NZbRXf5GEk1qV7/Q
X-ME-Proxy: <xmx:mC--ahEHlJJ1cjkmy2QStdO9aaUddG2-sKaK6Nfc6ajFKw8Kz03LBg>
 <xmx:mC--avx9TVZ-ZMRi0GVq9_Kj5mQJgfbZVzbRE9sHdfz4KpVVOOxIUA>
 <xmx:mC--aitaFVn8RevsIPBKrEImmgKCsxzzeWT4RRsvXNLilfs2xot48Q>
 <xmx:mC--as0ZqQ5m1kGPH9xVVKE4RBZKs6A1Sw8rEhLepGRD-Y3iFrX0iQ>
 <xmx:mS--aqUlV0k98PxtAor_iwawZyGzF_veKYu5LD1dZ4zpS2oU1ZoXqQAb>
Feedback-ID: i62564b17:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu,
 1 Oct 2026 06:02:00 -0400 (EDT)
Received: by athena.silentflame.com (Postfix, from userid 1000)
 id B103027CBC7; Thu, 01 Oct 2026 11:01:59 +0100 (BST)
From: Sean Whitton <spwhitton@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>, Andrey Listopadov <andreyorst@HIDDEN>,
 Spencer Baugh <sbaugh@HIDDEN>
Subject: Re: bug#81954: 32.0.50; flymake-show-buffer-diagnostics no longer
 works from keyboard shortcut
In-Reply-To: <86qzibz2re.fsf@HIDDEN>
References: <CAAKhXoYC3FJ2z4qqSbfiHLxsTBBw94Vab+=Mq_UtYb-OLgwfgg@HIDDEN>
 <86qzibz2re.fsf@HIDDEN>
Date: Thu, 01 Oct 2026 11:01:59 +0100
Message-ID: <87zewx20yw.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 81954
Cc: 81954 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

Eli Zaretskii [30/Sep  9:12am +03] wrote:
>> From: Andrey Listopadov <andreyorst@HIDDEN>
>> Date: Tue, 29 Sep 2026 18:54:29 +0300
>>
>> Calling flymake-show-buffer-diagnostics via a keyboard shortcut C-x ! l
>> always shows "No diagnostics here", instead of giving a list of
>> diagnostics like it used to. Probably introduced in commit c709b66 for
>> bug#81786. This function now only works when triggered by a mouse event.
>
> This seems to be a deliberate change to make the command's behavior
> consistent with its doc string:
>
>   Interactively, grab DIAGNOSTIC from context.  For mouse events in
>   margins and fringes, use the first diagnostic in the corresponding line,
>   else look in the click position.  For non-mouse events, look for
>   diagnostics at point.
>
> So the previous behavior, whereby the command would show a list of
> diagnostics, was wrong, and you should invoke the command with point
> at diagnostics to avoid the error message.
>
> However, I agree that if clicking the mouse where there's no
> diagnostics shows the list of all buffer diagnostics, the same should
> happen when point is not at any diagnostics, but if that's the intent,
> this special behavior should be spelled out in the doc string.
>
> Adding Sean, who made that change, and Spencer, who is the maintainer
> of Flymake.

That sounds reasonable but as I'm not a user of Flymake, it would be
good to hear from Spencer before going in and making changes.

-- 
Sean Whitton




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#81954; Package emacs. Full text available.

Message received at 81954 <at> debbugs.gnu.org:


Received: (at 81954) by debbugs.gnu.org; 30 Sep 2026 06:12:37 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Sep 30 02:12:36 2026
Received: from localhost ([127.0.0.1]:43512 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1xBnYR-0006R9-AG
	for submit <at> debbugs.gnu.org; Wed, 30 Sep 2026 02:12:36 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:45230)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1xBnYN-0006QT-9s
 for 81954 <at> debbugs.gnu.org; Wed, 30 Sep 2026 02:12:32 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1xBnYH-0008My-HU; Wed, 30 Sep 2026 02:12:25 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=B8STj7rmV0PaC9HJ+9aYjY7UgDoMCgBwom42D75xzY8=; b=WFNNFcLbGphj
 TbUwyUK4VR0KDajOwweBfiLiMmdqV7H+Si9EIqm/vdTTouMAgh2U1U7EelCNI8P6YNIcj5XIRKphR
 aCp+kK9cL9PclEpp6NbESrBk+H4PFTEyp3GfB47vB9eaG+qQBAOc3zQicJbC21kqGWAv+QtWgUSC+
 XfZzh43S0pDM7o2BlpWb0PPkjuk2ErV0u5JYqP4/EBA0tJMcb7A/wXUF+8f7NHIZR61dN6Znpz91e
 urWGfe4jNL52dyOx6StOnl5KyjuUrULFPSisOByMSNKoheVqbZZ4qurtsQcIvW52sY90qFzpTUt8c
 xVmYwtn1lM0UFjVMX/NRKg==;
Date: Wed, 30 Sep 2026 09:12:21 +0300
Message-Id: <86qzibz2re.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Andrey Listopadov <andreyorst@HIDDEN>,
 Sean Whitton <spwhitton@HIDDEN>,
 Spencer Baugh <sbaugh@HIDDEN>
In-Reply-To: <CAAKhXoYC3FJ2z4qqSbfiHLxsTBBw94Vab+=Mq_UtYb-OLgwfgg@HIDDEN>
 (message from Andrey Listopadov on Tue, 29 Sep 2026 18:54:29 +0300)
Subject: Re: bug#81954: 32.0.50;
 flymake-show-buffer-diagnostics no longer works from keyboard shortcut
References: <CAAKhXoYC3FJ2z4qqSbfiHLxsTBBw94Vab+=Mq_UtYb-OLgwfgg@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 81954
Cc: 81954 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Andrey Listopadov <andreyorst@HIDDEN>
> Date: Tue, 29 Sep 2026 18:54:29 +0300
> 
> Calling flymake-show-buffer-diagnostics via a keyboard shortcut C-x ! l
> always shows "No diagnostics here", instead of giving a list of
> diagnostics like it used to. Probably introduced in commit c709b66 for
> bug#81786. This function now only works when triggered by a mouse event.

This seems to be a deliberate change to make the command's behavior
consistent with its doc string:

  Interactively, grab DIAGNOSTIC from context.  For mouse events in
  margins and fringes, use the first diagnostic in the corresponding line,
  else look in the click position.  For non-mouse events, look for
  diagnostics at point.

So the previous behavior, whereby the command would show a list of
diagnostics, was wrong, and you should invoke the command with point
at diagnostics to avoid the error message.

However, I agree that if clicking the mouse where there's no
diagnostics shows the list of all buffer diagnostics, the same should
happen when point is not at any diagnostics, but if that's the intent,
this special behavior should be spelled out in the doc string.

Adding Sean, who made that change, and Spencer, who is the maintainer
of Flymake.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#81954; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 29 Sep 2026 15:55:37 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 29 11:55:36 2026
Received: from localhost ([127.0.0.1]:43707 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1xBaB0-0005c3-5v
	for submit <at> debbugs.gnu.org; Tue, 29 Sep 2026 11:55:36 -0400
Received: from lists1p.gnu.org ([2001:470:142::17]:49704)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <andreyorst@HIDDEN>)
 id 1xBaAq-0005b0-4i
 for submit <at> debbugs.gnu.org; Tue, 29 Sep 2026 11:55:25 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <andreyorst@HIDDEN>)
 id 1xBaAg-0001vZ-Ia
 for bug-gnu-emacs@HIDDEN; Tue, 29 Sep 2026 11:55:11 -0400
Received: from mail-ej2-x10.google.com ([2a00:1450:4864:34::10])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <andreyorst@HIDDEN>)
 id 1xBaAe-00021F-Kr
 for bug-gnu-emacs@HIDDEN; Tue, 29 Sep 2026 11:55:10 -0400
Received: by mail-ej2-x10.google.com with SMTP id
 a640c23a62f3a-c2940ef15c1so630963766b.1
 for <bug-gnu-emacs@HIDDEN>; Tue, 29 Sep 2026 08:55:06 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1790697306; cv=none;
 d=google.com; s=arc-20260327;
 b=hxvh/DSY6qV9NWm50AfEt3oaKI9DLlCe6R0zg09WjuRT0/DiwY2f26tKO0dIrR3bwR
 AlSur7YusAI5G+sdLfZWan1UzQkAdHfyB86ZVu3I8nYeHjQCh1uRUKpphc96U/9+Tms8
 o43fHGWkW9ZZA9VA1vA0tjECdzSSyzkYUVmD8wzJ3o/A4KlWV3C9VnBAcl1+2LdZ3iPn
 r2GOa/fTwG3rC36/C5ERIudzLCiWBjGa3KcxvMD+l3lbkPA0g3ZUpM2VvT9T9f2/8jn6
 QU370B8g3zNecSWQdp8zIuLAAueYjILTT0Oum2HDN8gSI/q7pDQIk47aOGyCR7Q5hj8b
 19tg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;
 s=arc-20260327; 
 h=to:subject:message-id:date:from:mime-version:dkim-signature;
 bh=7iMG/sunryi+xdZVBN2t3dYEi0TzN63/I3AMky9gUXc=;
 fh=+R8aXOFVnuBbN1nRXJJI02Ia//JUQJmLW/Uk/VaA0ag=;
 b=ip2HymrKbk8jafQhuNiyb8QfBD5kpb/mZRBl1E2Zxx2Oy2H3Ix6yVGyr0ESCSDZC4M
 Gp+DzIDRf7+nWVBZIJxcXWl+7yaONTz7DD88L05jn60GSq69shr2ZCxGzpq2xW/zd2LT
 H65NXvbSnk8OvAOIgfqSkMmCLh39fWv9ycvTyg2ZBe6Vpd69jc3IvDZI5Qm6B91z7TI6
 ATgl59OVvEsn13rjXn9aV5AoPKAAR1Xtf4lEd76G5zPGEpbGDL0+pf1tqgrOyFmtCIfm
 T3ArQ8EARqr2/UjLSnV8VkiyS9+/0/MCtm2T3iauNsaiTBomL5nqA7wfEwEcUvExtf65
 gvSw==; darn=gnu.org
ARC-Authentication-Results: i=1; mx.google.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20251104; t=1790697306; x=1791302106; darn=gnu.org;
 h=content-type:to:subject:message-id:date:from:mime-version:from:to
 :cc:subject:date:message-id:reply-to:content-type;
 bh=7iMG/sunryi+xdZVBN2t3dYEi0TzN63/I3AMky9gUXc=;
 b=duxw9rCNjOLdJjDCcMOKkwu2VdGIZIRJcdOVyGVnKFK32Eo+vSOcFm252lOpxoA2Q4
 pv9cvQYvPOd6iBvMz4KQUX446NkRx1cLnibCW84D2vlNRwVC+Et6A3smfgQTzkbg+pyN
 gZSotqb5J9cqmInm2vqJwczkBpf2E7VQssiRO0tdtqzpXNtdKFkt1EGQY8Jo/ha/X26P
 phhMaUyrc57DWhWCjZvS/BzCeyoeqwIpTSQaZW10xMb1XBWy9ENHKzEcHKPpLt0osw+D
 FheWT1+VXVTgBW2Ajh63AKzHpyiyCcFGddr0QWaJnPjfUvogcnoLIvRK6ujwdtk+HbgB
 /2HQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20260707; t=1790697306; x=1791302106;
 h=content-type:to:subject:message-id:date:from:mime-version:x-gm-gg
 :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to
 :content-type;
 bh=7iMG/sunryi+xdZVBN2t3dYEi0TzN63/I3AMky9gUXc=;
 b=C/9l8RDB4oq8+mHd8xe2gGfCG90CT/UVDz5epjJOrTUDPZVGT1L4gacbkyKX54N/bJ
 gHtBbAoPtiygcBCQemx/RUds/1XTJtADDJA/MMUmWn11ErWEOsel06VQ1e6YT2AKB0vV
 9M5JtBgw8g59qlhVm80dw7dsfoJgm9u3AN+Ek0JX0/7KzcsVSMbDsJHsNyuhziY6YD4i
 E2y9ymatwSOMFmSHK2i4W2hpA+/o1Ar6mnL7IiEr91tK2wOVmGe8JtRdT6ClwqWNXXQl
 dzZiY08mTtcPb/Cajs7fx8CrGVIXmXceh7jTsOVaf99hsD06rXHxDmdaWlT6RFnM/KFy
 IEKw==
X-Gm-Message-State: AFuF++nsl1M7L0k20wzqUiLC7N/lFCVwM9g9rKtBK8XoEUwU1jvxJG9T
 nRX08fUiae+ygIfi3u71p1KWck7GMstKjz5hsoLdyz98betwEWrigcuGVTYocWu+EdmfdMcz7De
 4w1J8jH4/OraCmyBRw4pF0oEZyflC6xM7qTzb+4F8Mg==
X-Gm-Gg: AYBFou0gEuEC78+OSAX+sZUOhOINUlzfalNpKMLhZWm29ffU0QzGw2RbFQ1F8zTxp0S
 Ip1PwkkUwWQDB9W2zykoEVf4r5py83DzlKtOqMCqp2O1cBb1TGDZW5eER9t6G0dp7F5I9u4jQUX
 Hc/OWXFpBG0NbEok47nLBw30JNiLpP2WauljK2qzBi7OrmVd8Hsfs9Wr+MskuRta7W/EK6SYGkv
 gd9NLsI0/1JprdEscn/l+NP9qswN3BJkTvnG0MrNmIymKdMUjJeMtWGiA3tE0OYOUFdPkQ26UrZ
 0GyvHkdonYwK6p/b6I0PKjll1K8/Z5aYcKbmFJAsG55Ua2aAWzfAHI4SFea+IQky7w==
X-Received: by 2002:a17:907:94cc:b0:c2a:f518:1890 with SMTP id
 a640c23a62f3a-c2af51835cbmr1051731366b.41.1790697305559; Tue, 29 Sep 2026
 08:55:05 -0700 (PDT)
MIME-Version: 1.0
From: Andrey Listopadov <andreyorst@HIDDEN>
Date: Tue, 29 Sep 2026 18:54:29 +0300
X-Gm-Features: AclHuK_skfLwQqakcejrW97DzoBk5d7UdyhMtbfJ2-UmKYh24VS5fbkeNV1zD6w
Message-ID: <CAAKhXoYC3FJ2z4qqSbfiHLxsTBBw94Vab+=Mq_UtYb-OLgwfgg@HIDDEN>
Subject: 32.0.50; flymake-show-buffer-diagnostics no longer works from
 keyboard shortcut
To: bug-gnu-emacs@HIDDEN
Content-Type: text/plain; charset="UTF-8"
Received-SPF: pass client-ip=2a00:1450:4864:34::10;
 envelope-from=andreyorst@HIDDEN; helo=mail-ej2-x10.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: 2.0 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.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
 the administrator of that system for details.
 Content preview: Calling flymake-show-buffer-diagnostics via a keyboard
 shortcut C-x ! l always shows "No diagnostics here",
 instead of giving a list of diagnostics
 like it used to. Probably introduced in commit c709b [...] 
 Content analysis details:   (2.0 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
 no trust [2001:470:142:0:0:0:0:17 listed in] [list.dnswl.org]
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
 provider (andreyorst[at]gmail.com)
 -0.0 SPF_HELO_PASS          SPF: HELO matches SPF record
 1.0 SPF_SOFTFAIL           SPF: sender does not match SPF record (softfail)
 1.0 FORGED_GMAIL_RCVD      'From' gmail.com does not match 'Received'
 headers
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 1.0 (+)

Calling flymake-show-buffer-diagnostics via a keyboard shortcut C-x ! l
always shows "No diagnostics here", instead of giving a list of
diagnostics like it used to. Probably introduced in commit c709b66 for
bug#81786. This function now only works when triggered by a mouse event.


In GNU Emacs 32.0.50 (build 2, aarch64-apple-darwin25.6.0, NS
 appkit-2685.70 Version 26.6.2 (Build 25G83)) of 2026-09-27 built on
 andreysmacbookpro.hs
Windowing system distributor 'Apple', version 10.3.2685
System Description: macOS 26.6.2

Configured using:
 'configure --disable-dependency-tracking --disable-silent-rules
 --enable-locallisppath=/opt/homebrew/share/emacs/site-lisp
 --infodir=/opt/homebrew/Cellar/emacs-plus@32/32.0.50/share/info/emacs
 --prefix=/opt/homebrew/Cellar/emacs-plus@32/32.0.50
 --with-native-compilation=aot --with-xml2 --with-gnutls
 --without-compress-install 'CFLAGS=-DFD_SETSIZE=10000
 -DDARWIN_UNLIMITED_SELECT -I/opt/homebrew/opt/sqlite/include
 -I/opt/homebrew/opt/gcc/include -I/opt/homebrew/opt/libgccjit/include'
 --without-dbus --without-imagemagick --with-modules --with-rsvg
 --with-webp --with-ns --disable-ns-self-contained
 'LDFLAGS=-L/opt/homebrew/opt/sqlite/lib -L/opt/homebrew/lib/gcc/16
 -Wl,-rpath,/opt/homebrew/lib/gcc/16''

Configured features:
ACL GIF GLIB GMP GNUTLS JPEG LCMS2 LIBXML2 MODULES NATIVE_COMP NOTIFY
KQUEUE NS PDUMPER PNG RSVG SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS
TREE_SITTER WEBP XIM ZLIB

Important settings:
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Fundamental

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  blink-cursor-mode: t
  minibuffer-nonselected-mode: t
  minibuffer-regexp-mode: t
  buffer-read-only: t
  line-number-mode: t
  indent-tabs-mode: t
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug lisp-mnt message mailcap yank-media puny
dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg
rfc6068 epg-config gnus-util text-property-search mm-decode mm-bodies
mm-encode mailabbrev gmm-utils mailheader sendmail mail-parse rfc2231
rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils comp-run
bytecomp byte-compile comp-common rx time-date subr-x cl-loaddefs cl-lib
emacs-plus rmc iso-transl tooltip cconv eldoc paren electric uniquify
ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/ns-win ns-win
ucs-normalize mule-util term/common-win tool-bar dnd fontset image
regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode
prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu
timer select scroll-bar mouse jit-lock font-lock syntax font-core
term/tty-colors frame minibuffer nadvice seq simple cl-generic
indonesian philippine cham georgian utf-8-lang misc-lang vietnamese
tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek
romanian slovak czech european ethiopic indian cyrillic chinese
composite emoji-zwj charscript charprop case-table epa-hook
jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs
theme-loaddefs faces cus-face macroexp files window text-properties
overlay sha1 md5 base64 format env code-pages mule custom widget keymap
hashtable-print-readable backquote threads kqueue cocoa ns lcms2
multi-tty make-network-process tty-child-frames native-compile emacs)

Memory information:
((conses 16 57686 9659) (symbols 48 6150 0) (strings 32 15854 1909)
 (string-bytes 1 553235) (vectors 16 9922)
 (vector-slots 8 145057 4557) (floats 8 22 5) (intervals 56 258 5)
 (buffers 1064 11))

-- 
Andrey Listopadov




Acknowledgement sent to Andrey Listopadov <andreyorst@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#81954; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 9 Oct 2026 15:15:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.