emacs on mac os x, how to get spell check to work

前端 未结 8 1552
我寻月下人不归
我寻月下人不归 2020-12-29 06:53

I\'m moving from Windows to Mac, and I\'ve spent the whole night trying to get emacs to work.

I\'ve installed GNU emacs and simply copied over my Windows .ema

相关标签:
8条回答
  • 2020-12-29 07:30

    Emacs installed with brew cask install emacs will come with a built in spell checker called m-x ispell.

    You have to do two things to get this to work.

    1. brew install aspell or maybe brew install aspell --with-lang-en

    2. go to emacs and evaluate this function or better yet put it in your init file (setq ispell-program-name "/usr/local/bin/aspell")

    Note: the location of aspell can be found using which aspell in macOS terminal which should be equal tot step 2. above.

    0 讨论(0)
  • 2020-12-29 07:31

    Here's a working solution:

    • Install Homebrew
    • brew install emacs --with-cocoa --with-gnutls
    • brew install aspell
    • open -a Emacs
    • M-x ispell

    Enjoy!

    0 讨论(0)
提交回复
热议问题