From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#50241: flyspell doesn't work with multiple dictionaries Date: Sat, 28 Aug 2021 21:56:43 +0300 Message-ID: <83lf4lmm8k.fsf@gnu.org> References: <581ffd00b0c4a0762689a423aff0ee13b5c85e52.camel@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10704"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 50241@debbugs.gnu.org To: Konstantin Kharlamov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Aug 28 20:58:10 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mK3Ws-0002ZV-3H for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 28 Aug 2021 20:58:10 +0200 Original-Received: from localhost ([::1]:33448 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mK3Wq-0004NB-1g for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 28 Aug 2021 14:58:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34952) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mK3Wk-0004Mn-F3 for bug-gnu-emacs@gnu.org; Sat, 28 Aug 2021 14:58:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43459) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mK3Wk-0000ZI-7V for bug-gnu-emacs@gnu.org; Sat, 28 Aug 2021 14:58:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mK3Wk-0005bp-2g for bug-gnu-emacs@gnu.org; Sat, 28 Aug 2021 14:58:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 28 Aug 2021 18:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50241 X-GNU-PR-Package: emacs Original-Received: via spool by 50241-submit@debbugs.gnu.org id=B50241.163017703321506 (code B ref 50241); Sat, 28 Aug 2021 18:58:02 +0000 Original-Received: (at 50241) by debbugs.gnu.org; 28 Aug 2021 18:57:13 +0000 Original-Received: from localhost ([127.0.0.1]:55005 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mK3Vt-0005ak-Kv for submit@debbugs.gnu.org; Sat, 28 Aug 2021 14:57:13 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:46962) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mK3Vo-0005aA-Kg for 50241@debbugs.gnu.org; Sat, 28 Aug 2021 14:57:08 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:44598) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mK3Vj-0008MS-5W; Sat, 28 Aug 2021 14:56:59 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:4494 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mK3Vi-0000fA-Nz; Sat, 28 Aug 2021 14:56:59 -0400 In-Reply-To: <581ffd00b0c4a0762689a423aff0ee13b5c85e52.camel@yandex.ru> (message from Konstantin Kharlamov on Sat, 28 Aug 2021 21:33:50 +0300) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:212890 Archived-At: > From: Konstantin Kharlamov > 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.