[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#61190: 28.2; ispell personal dictionary location for hunspell engine
From: |
Juri Linkov |
Subject: |
bug#61190: 28.2; ispell personal dictionary location for hunspell engine |
Date: |
Wed, 01 Feb 2023 19:58:17 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu) |
> I looked into the Hunspell's sources, and I think I know why this
> happens. Hunspell has a peculiar logic when looking for the personal
> dictionary. The outcome of that peculiar logic is that if Hunspell is
> invoked with "-p PDICT" command-line argument, and PDICT is an
> absolute file name, that file must already exist, or else Hunspell
> will decide it cannot use it. And Emacs always invokes Hunspell with
> an absolute file name of the personal dictionary.
>
> 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 bug exists even on GNU/Linux, so requires such customization:
(unless (file-exists-p "~/.hunspell")
(shell-command "touch ~/.hunspell"))
(setq ispell-personal-dictionary "~/.hunspell")
- bug#61190: 28.2; ispell personal dictionary location for hunspell engine, O G, 2023/02/01
- bug#61190: 28.2; ispell personal dictionary location for hunspell engine, Eli Zaretskii, 2023/02/01
- bug#61190: 28.2; ispell personal dictionary location for hunspell engine, O G, 2023/02/11
- bug#61190: 28.2; ispell personal dictionary location for hunspell engine, Eli Zaretskii, 2023/02/11
- bug#61190: 28.2; ispell personal dictionary location for hunspell engine, O G, 2023/02/11
- bug#61190: 28.2; ispell personal dictionary location for hunspell engine, Eli Zaretskii, 2023/02/11
- bug#61190: 28.2; ispell personal dictionary location for hunspell engine, O G, 2023/02/11
- bug#61190: 28.2; ispell personal dictionary location for hunspell engine, Eli Zaretskii, 2023/02/12
- bug#61190: 28.2; ispell personal dictionary location for hunspell engine, Eli Zaretskii, 2023/02/12
- bug#61190: 28.2; ispell personal dictionary location for hunspell engine,
Juri Linkov <=