-
-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
flyspell-correct a region #103
Comments
Hi, That's because And it doesn't mean that your use case is wrong or out of the scope of this library. I'd say, |
Hi, Thanks. That was a great answer to read because it also goes into the philosophy of your implementation (active spellchecking vs. writing). As you might have seen from the code I included, I am rather bad at elisp since I use it only very occasionally and I probably know about 0.5% of what elisp has to offer. I will try to implement something like Cheers |
FWIW, you may use (defun +xx/spellcheck-region-and-launch (beg end)
(interactive "r")
(flyspell-region beg end)
(save-restriction
(narrow-to-region beg end)
(flyspell-correct-move (point-min) t t)) Not quite ideal because you cannot see other parts of the buffer while correcting words. So IMO a dedicated command without narrowing is still useful. |
Hi,
I was wondering if there is a built-in way to run
flyspell-correct
on a selected region. So far, I have got this:While it does indeed run
flyspell
on the selected region, but after doing that, it proceeds to spellcheck the entire buffer withflyspell-correct
! Any help/tips/links would be very welcome. And apologies if this is not the right forum for this question. I'm happy to immediately delete this issue if this is the case.The text was updated successfully, but these errors were encountered: