Re: [GNU ELPA] New package: flymake-harper

Philip Kaludercic <[email protected]>
Newsgroups gmane.emacs.devel
Message-ID <[email protected]>
Eshel Yaron <[email protected]> writes:

> Hi Philip,
>
> Philip Kaludercic <[email protected]> writes:
>
>> I forked Manuel's flymake-proselint package and rewrote it to support
>> Harper (https://writewithharper.com/), a offline and lightweight grammar
>> analysis tool (published under Apache-2.0):
>> https://codeberg.org/pkal/flymake-harper.el.  Are there any objections
>> to adding the package to ELPA?
>
> No objections, of course, just a question:
>
> How do I act on Harper diagnostics?
> I see it can flag typos and grammar errors, and the diagnostic message
> text includes possible replacements, but how do I actually apply one of
> those suggestions?

Using a highly context sensitive combination of `delete-backward-char'
and `self-insert-command' ;)

> [ This is related to a general missing feature in Flymake, which I've
>   requested in bug#71504: allowing backends to provide fixes for
>   diagnostics, which users can then apply/accept.  Without such support,
>   I'm not sure Flymake is the best fit for spell/grammar checking. ]

If any progress were to be made on that bug, I think it would totally
make sense to support this.  But just like Flymake doesn't automatically
solve recognizable syntax errors like missing semicola, I think that
using Flymake is entirely acceptable here.  Or to phrase it differently,
what would be a better fit right now?

> 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.