company-ispell
can complete a word at point, but what if you want
to use Company to list the possible corrections for spelling?
As an added bonus, is there any way to integrate this into Flyspell?
Emacs Stack Exchange is a question and answer site for those using, extending or developing Emacs. It only takes a minute to sign up.
Sign up to join this communitycompany-ispell
can complete a word at point, but what if you want
to use Company to list the possible corrections for spelling?
As an added bonus, is there any way to integrate this into Flyspell?
There are already some different ways to show ispell correction candidates, I guess you just meant correcting misspelled word in a popup menu, not company-mode itself.
To correct misspelled word at point, both built-in M-$ (ispell-word
) and C-c $ (flyspell-correct-word-before-point
) works great, the former uses a buffer to show correction choices, while the later uses a GUI popup menu:
ispell-command-loop
to usecompany-mode
. There doesn't seem to be an easy way to replace its prompting logic. – Dmitry Mar 6 '15 at 14:15popup.el
to display corrections: emacswiki.org/emacs/FlySpell#toc11 Maybe someone familiar with company can hack it togther. – nanny Mar 6 '15 at 14:39