From: Eli Zaretskii <eliz@gnu.org>
To: Konstantin Kharlamov <hi-angel@yandex.ru>
Cc: 50241@debbugs.gnu.org
Subject: bug#50241: flyspell doesn't work with multiple dictionaries
Date: Sun, 29 Aug 2021 09:12:58 +0300 [thread overview]
Message-ID: <83h7f8n5hx.fsf@gnu.org> (raw)
In-Reply-To: <1b2e0b953b4036fe10d45451e6b1381fe8931eeb.camel@yandex.ru> (message from Konstantin Kharlamov on Sat, 28 Aug 2021 23:42:08 +0300)
> From: Konstantin Kharlamov <hi-angel@yandex.ru>
> Cc: 50241@debbugs.gnu.org
> Date: Sat, 28 Aug 2021 23:42:08 +0300
>
> Okay, I finally found the working combination, it is:
>
> (progn
> (require 'ispell)
> (setq ispell-program-name "hunspell")
> (ispell-set-spellchecker-params)
> (ispell-hunspell-add-multi-dic "ru_RU,en_US")
> (ispell-change-dictionary "ru_RU,en_US")
> (flyspell-mode 1)
> )
>
> So, the magical function is `(ispell-set-spellchecker-params)`. Judging by its description, it has to be called before any ispell usage.
>
> I can probably call it manually, but I presume the behaviour needs fixing.
I'm not sure I agree. These are commands that are supposed to be
invoked interactively, in the order I've shown, which works. If you
want to make this part of your initialization, you need to figure out
the required sequence of calls, which you did.
next prev parent reply other threads:[~2021-08-29 6:12 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-28 18:33 bug#50241: flyspell doesn't work with multiple dictionaries Konstantin Kharlamov
2021-08-28 18:56 ` Eli Zaretskii
2021-08-28 19:05 ` Konstantin Kharlamov
2021-08-28 19:35 ` Konstantin Kharlamov
2021-08-28 19:36 ` Eli Zaretskii
2021-08-28 19:45 ` Konstantin Kharlamov
2021-08-28 20:02 ` Konstantin Kharlamov
2021-08-28 20:19 ` Konstantin Kharlamov
2021-08-28 20:26 ` Konstantin Kharlamov
2021-08-28 20:42 ` Konstantin Kharlamov
2021-08-29 6:12 ` Eli Zaretskii [this message]
2021-08-29 12:43 ` Konstantin Kharlamov
2021-08-29 13:07 ` Eli Zaretskii
2021-08-29 19:50 ` Lars Ingebrigtsen
2021-08-30 2:24 ` Eli Zaretskii
2021-08-30 2:27 ` Lars Ingebrigtsen
2021-08-30 12:49 ` Eli Zaretskii
[not found] ` <handler.50241.B.163017564419363.ack@debbugs.gnu.org>
2021-08-28 18:59 ` bug#50241: Acknowledgement (flyspell doesn't work with multiple dictionaries) Konstantin Kharlamov
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83h7f8n5hx.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=50241@debbugs.gnu.org \
--cc=hi-angel@yandex.ru \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.