In my Spacemacs, I enabled the
spell-checking layer which enables
ispell. I noticed that my Tramp connection is very slow, and after debugging, I found that one of the causes is
02:07:20.446250 tramp-do-file-attributes-with-stat (5) # file attributes with stat: /path/to/.ispell_words .... .... .... .... 02:07:23.961344 tramp-send-command (6) # test -r /path/to/.ispell_default 2>/dev/null; echo tramp_exit_status $?
So about 3 seconds are wasted on
ispell. I tried disabling the
spell-checking layer and found that Tramp is indeed faster.
However, I don't want to totally disable
spell-checking, as I in fact use it frequently when editing locally. Is it possible to disable
ispell only when I use Tramp? Thanks!