GNU bug report logs - #50241
flyspell doesn't work with multiple dictionaries

Previous Next

Package: emacs;

Reported by: Konstantin Kharlamov <hi-angel <at> yandex.ru>

Date: Sat, 28 Aug 2021 18:35:02 UTC

Severity: normal

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 50241 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Konstantin Kharlamov <hi-angel <at> yandex.ru>
Cc: 50241 <at> debbugs.gnu.org
Subject: Re: bug#50241: flyspell doesn't work with multiple dictionaries
Date: Sat, 28 Aug 2021 21:56:43 +0300
> From: Konstantin Kharlamov <hi-angel <at> yandex.ru>
> Date: Sat, 28 Aug 2021 21:33:50 +0300
> 
> # Steps to reproduce
> 
> Note: for 2nd step here not to throw exception you need to make sure you have both hunspell dictionaries used in (ispell-hunspell-add-multi-dic …) call installed in the system.
> 
> 1. Start `emacs -Q`
> 2. Evaluate:
>     (progn
>       (require 'ispell)
>       (setq ispell-program-name "hunspell")
>       (ispell-hunspell-add-multi-dic "ru_RU,en_US")
>       (flyspell-mode 1)
>       )

You miss this step at the end:

  (ispell-change-dictionary "ru_RU,en_US")

It tells Emacs to restart Hunspell with these two dictionaries.




This bug report was last modified 3 years and 316 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.