From: Lars Ingebrigtsen <larsi@gnus.org>
To: Kisaragi Hiu <mail@kisaragi-hiu.com>
Cc: 49982@debbugs.gnu.org
Subject: bug#49982: 27.2; ispell.el fails to find a Hunspell dictionary to use as default despite ispell-dictionary being set
Date: Mon, 22 Aug 2022 14:57:59 +0200 [thread overview]
Message-ID: <871qt877vs.fsf@gnus.org> (raw)
In-Reply-To: <59517c95-6568-f646-7097-c601cc9657c9@kisaragi-hiu.com> (Kisaragi Hiu's message of "Wed, 11 Aug 2021 00:12:06 +0900")
Kisaragi Hiu <mail@kisaragi-hiu.com> writes:
> This configuration should be everything that's needed for ispell.el to
> work with Hunspell, regardless of system locale:
>
> (setq ispell-program-name (executable-find "hunspell")
> ispell-dictionary "en_US"))
>
> However, when system locale (the LANG environment variable) does not
> have a corresponding Hunspell dictionary,
> `ispell-find-hunspell-dictionaries` returns the error "Can't find
> Hunspell dictionary with a .aff affix file", despite ispell-dictionary
> being set.
I've now fixed this in Emacs 29 (by first using our current rules, and
then trying again with -d ispell-dictionary).
prev parent reply other threads:[~2022-08-22 12:57 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-10 15:12 bug#49982: 27.2; ispell.el fails to find a Hunspell dictionary to use as default despite ispell-dictionary being set Kisaragi Hiu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-08-10 16:03 ` Eli Zaretskii
2021-08-10 18:51 ` Kisaragi Hiu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-08-10 19:29 ` Eli Zaretskii
2021-08-11 11:17 ` Kisaragi Hiu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-08-11 12:12 ` Eli Zaretskii
2022-08-22 12:57 ` Lars Ingebrigtsen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=871qt877vs.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=49982@debbugs.gnu.org \
--cc=mail@kisaragi-hiu.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).