Florian Winkelbauer

Emacs and Windows Subsystem for Linux

While setting up Flyspell on Linux was a really straightforward process, I was really struggling with spell checking on Windows. After giving up and trying again several times, I have finally found a solution which is ok-ish using aspell. There’s a Windows port for aspell, but the last time I’ve checked the latest release was several years old. So instead I’m running aspell using WSL. My steps look like this:

Ubuntu1804 run sudo apt-get update
Ubuntu1804 run sudo apt-get install aspell -y
@echo off
Ubuntu1804 run %~n0 %*

We can now call aspell with whatever parameters we would like without the “Ubuntu1804 run” prefix. This is for sure not the best solution, but I’ve settled for now.