Spell checking with misspell command from Emacs

https://github.com/client9/misspell

misspell command outputs like grep. So we can use it with compile interface.

(defun misspell ()
  (interactive)
  (compile (format "misspell %s"
                   (file-name-nondirectory (buffer-file-name)))))

f:id:syohex:20160215105009p:plain