Subject: bug#50244: 28.0.50; Support project-wide diagnostics reports in flymake.el

From: Dmitry Gutov <[email-masked]>
Date: Mon, 13 Sep 2021 23:26:06 +0300

On 13.09.2021 09:48, João Távora wrote:
> On Mon, Sep 13, 2021 at 1:08 AM Dmitry Gutov<[email-masked]>  wrote:
> 
>> Or maybe you will have unique "show diagnostics" buffers for every
>> project, to be invoked manually?
> This.  But it doesn't seem impossible to make a global diagnostics
> buffer for every project one has open.

Anyway, I asked about this because because the use of global variable 
(flymake-list-only-diagnostics) seems like it would make supporting 
multiple projects at the same time more difficult.

If global diagnostics are only reported to a particular buffer, perhaps 
we could do without the global variable by tying refreshes to a 
callback. That would require an extra hook, however -- like 
flymake-global-diagnostic-functions.