On Wed, Feb 1, 2023 at 7:30 AM Eli Zaretskii wrote: > > From: O G > > Date: Wed, 1 Feb 2023 00:58:56 -0500 > > Cc: 61190@debbugs.gnu.org > > > >Please be sure you are testing this correctly. Here's a step by step > >procedure starting from "emacs -Q": > > > emacs -Q > > M-: (setq ispell-program-name "hunspell") RET > > M-: (setq ispell-personal-dictionary "C:/Users/xxxx/.hunspell_en_US") > RET > > > Now go to some word in *scratch* and type M-$. > > > Then look with Process Explorer how Emacs invoked Hunspell. > > >When I do the above, I clearly see the "-p PDICT" command-line > >arguments with which Emacs invokes Hunspell. I made a point of > >testing this on Windows with Emacs 28.2, which is what you have, and > >it worked for me. > Thanks for the detailed suggestions -- it now works. From what I can tell, the issue was the double backslashes not being accepted in the file path for the hunspell personal dictionary. > If the above procedure works for you, please see what you are doing > differently in your "normal" Emacs sessions. In any case, using > ispell-cmd-args is not the recommended method; you should instead > customize the variable ispell-personal-dictionary, which is provided > for this purpose, and customize it before starting the spell-checker, > or restart the spell-checker with "M-x ispell-change-dictionary" after > customizing. >