Mac OSX has autocorrect for spelling that:

  • Doesn't require pressing any buttons to make a retroactive change.
  • Doesn't require manually inputting these corrections/abbrevs.

wnat to want, tihs to this, plaese to please

I want to get this same autocorrection in Emacs. I know there is already another thread on autocorrection, but here's the twist that makes this question different. TextEdit does not actually do autocorrection itself: that part is done at the Mac OSX system level. How can I get Emacs to use the OSX spell correction facility?

  • Hi Dan, I haven't tried anything that gets me this. I have tried Flyspell (which doesn't correct automatically) and have heard of using abbrev-mode (which seems to require manually inputting abbrevs).
    – Aubrie
    Mar 6, 2017 at 21:56
  • Please edit your post to show what you have done to setup flyspell. The manual node on spellchecking says that it should spell check as you type.
    – Dan
    Mar 6, 2017 at 21:59
  • Ah, I think I misunderstood. You want not just spellchecking, but actual autocorrect (ie, Emacs replaces the word without your intervention), yes?
    – Dan
    Mar 6, 2017 at 22:02
  • Yes, autocorrect and not just checking is exactly what I'm looking for. (I've updated the title to reflect this.)
    – Aubrie
    Mar 6, 2017 at 22:04
  • Flyspell should bind C-; to correcting the previous word. If that isn't enough, use M-$.
    – user12563
    Mar 6, 2017 at 22:16


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.