bug#71504: 30.0.50; FR: Fix suggestions ("quick fix") for Flymake diagnostics

Eshel Yaron via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <[email protected]>
Newsgroups gmane.emacs.bugs
Message-ID <[email protected]>
Juri Linkov <[email protected]> writes:

>> Two years have flown by, with no real progress on this feature request.
>>
>> Incidentally, it seems like Flycheck is now getting nice "quick fix"
>> support (see e.g. this 001d4ca2 Flycheck commit).
>> It would be great to see something similar in (upstream) Flymake too.
>
> What would be a good UI?

There are plenty of UI opportunities; the key is establishing the API,
allowing backends to provide fixes.

> Maybe displaying a light-bulb in the margins with a context menu like
> in Eglot?

I'd start with basic actionability first.  Namely, a command that fixes
the diagnostic at point would be a good start.  Otherwise, sure, context
menu integration is great, and some indicator might also help.


Best,

Eshel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.