GNU bug report logs -
#61190
28.2; ispell personal dictionary location for hunspell engine
Previous Next
Reported by: O G <opngid <at> gmail.com>
Date: Tue, 31 Jan 2023 00:54:01 UTC
Severity: normal
Found in version 28.2
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #17 received at 61190 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On Tue, Jan 31, 2023 at 10:35 PM Eli Zaretskii <eliz <at> gnu.org> wrote:
> [Please use Reply All to reply, to keep the bug tracker CC'ed.]
>
> > > This is arguably a bug in Hunspell, but a workaround is to create an
> > > empty file at the location where you want the personal dictionary to
> > > be, and then restart the speller.
>
> > This time around I tested by setting the ispell-local-dictionary
> variable, and then the ispell-cmd-args variable,
> > by using in each instance the escaped backslash form of the absolute
> file path
> > (C:\\Users\xxxx\.hunspell_en_US), which I created beforehand as an empty
> file.
> ^^^^^^^^^^^^^^^^^^^^^^
If the above is the literal value you tried, it is again incorrect:
> each backslash should be doubled. If you did double them all, or used
forward slashes,
Indeed I had doubled them in my emacs init file and used backslashes ...
that was a typo above.
> then there's a different bug in your version of
> Hunspell; it worked for me once I understood the problem.
>
> Did you veryfy that Hunspell is invoked by Emacs with the correct -p
> switch?
>
I just checked process explorer and obtained the following command line
args:
c:\msys64\mingw64\bin\hunspell.exe -a "" -d en_US -i UTF-8
This did not change regardless of what string I used for ispell-cmd-args in
my emacs init file. I tried first "-p C:\\Users\\xxxx\\.hunspell_en_US,"
under the assumption that ispell would append this to the existing default
set of cmd args, after creating an empty .hunspell_en_US file in my home
directory, and then tried setting it to
"-d en_US -i UTF-8 -p C:\\Users\\xxxx\\.hunspell_en_US"
again to no avail.
[Message part 2 (text/html, inline)]
This bug report was last modified 2 years and 16 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.