Subject: bug#57649: 27.1; Spell check on remote file fails on windows.

From: Michael Albinus <[email-masked]>
Date: Thu, 08 Sep 2022 17:09:27 +0200

Nick Longo <[email-masked]> writes:

Hi Nick,

> Sure, I will be glad to try at any rate.  Let me know if this is what you were looking for.

Thanks.

> The emacs debugger gives:
> Debugger entered--Lisp error: (file-missing "Opening process input file" "No such file or directory" "/plinkx:homeoffice:/home/nmichalo/NUL")
>   call-process("c:/NProgramFiles/bin/hunspell.exe" "NUL" t nil "-D" "-a" "NUL")
>   apply(call-process ("c:/NProgramFiles/bin/hunspell.exe" "NUL" t nil "-D" "-a" "NUL"))
>   ispell-call-process("c:/NProgramFiles/bin/hunspell.exe" "NUL" t nil "-D" "-a" "NUL")
>   ispell-find-hunspell-dictionaries()

That's it. `call-process' does not support remote files.

I've just checked in Emacs 29, ispell.el is still using
`call-process'. Somebody who knows this package shall adapt, using
either `process-file', or working on a temporary local copy of the file
to be spelled. Or perhaps the latter is already implemented, don't know.

Best regards, Michael.