tlikonen / wcheck-mode

General-purpose text-checker interface for Emacs text editor
51 stars 6 forks source link

Possible to support aspell directly? #15

Closed ideasman42 closed 9 months ago

ideasman42 commented 5 years ago

This is an attempt to use aspell instead of enchant, it doesn't work and no errors are reported, could docs show an example for aspell since this is a popular spell checker?

    (setq wcheck-language-data
      '
      (
        ("American English"
          (program . "/usr/bin/aspell")
          (args "-d" "en_US" "list")
          (action-program . "/usr/bin/aspell")
          (action-args "-a" "-d" "en_US" "list")
          (action-parser . wcheck-parser-ispell-suggestions)
          )
        )
      )
vsemyonoff commented 5 years ago

You need to add (connection . pty) to use it. The same with Hunspell. And in action-args replace last list with pipe.

https://github.com/tlikonen/wcheck-mode/issues/11#issuecomment-520255553