Subject: bug#78459: flymake related locations (ancillary diagnostics)

From: Mattias Engdegård <[email-masked]>
Date: Sat, 14 Jun 2025 21:19:15 +0200

20 maj 2025 kl. 21.24 skrev João Távora <[email-masked]>:

> Similarly, you succinctly describe two cases, but what does "selecting a
> diagnostic" even mean?  I don't understand.

I didn't really have a specific method in mind. The user could do this actively, perhaps by clicking or pressing a key in the table of diagnostics or the code buffer. It could also be automatic, selecting the diagnostic when the user is lingering nearby.

One thing we can use that information for without user selection is keeping related locations and messages together in the table of diagnostics, so that sorting them by position doesn't result in a scrambled eggs list. This alone would be an improvement. Right now, there isn't even a way to convey the information to flymake.