I have the following environment on my machine: Windows 7, emacs and aspell built with mingw. I am trying to use aspell for spell-checking in buffer.
After i change language to russian (i have russian language files, with names such as ru.multi, ru-ye.multi etc.), i get the following error when running ispell-buffer
:
ispell-init-process: Error: The file ""c:/mingw_mine"/lib/aspell-0.60/"c:/mingw_mine"/lib/aspell-0.60/russian" can not be opened for reading
My only configuration for ispell is:
- ispell command program name set to correct full path
ispell-extra-args
set to have "--prefix=\"c:/mingw_mine\"" in it
Dictionaries are located under abovementioned prefix in "lib/aspell-0.60" subfolder. When invoked from command line with that prefix, aspell correctly finds and loads them (ex.: aspell --prefix="c:/mingw_mine" -d ru.multi check c:/text.txt
).
How can i ensure aspell, invoked from emacs, can do that as well?