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 22:36:26 +0300 Message-ID: <83k0k5mked.fsf@gnu.org> References: <581ffd00b0c4a0762689a423aff0ee13b5c85e52.camel@yandex.ru> <83lf4lmm8k.fsf@gnu.org> 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="26602"; 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 21:37: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 1mK48b-0006jF-QH for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 28 Aug 2021 21:37:09 +0200 Original-Received: from localhost ([::1]:38952 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mK48a-0001x7-7C for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 28 Aug 2021 15:37:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41680) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mK48U-0001wy-Pp for bug-gnu-emacs@gnu.org; Sat, 28 Aug 2021 15:37:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43493) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mK48U-0001jY-IB for bug-gnu-emacs@gnu.org; Sat, 28 Aug 2021 15:37:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mK48U-0006dZ-FI for bug-gnu-emacs@gnu.org; Sat, 28 Aug 2021 15:37: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 19:37: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.163017941125495 (code B ref 50241); Sat, 28 Aug 2021 19:37:02 +0000 Original-Received: (at 50241) by debbugs.gnu.org; 28 Aug 2021 19:36:51 +0000 Original-Received: from localhost ([127.0.0.1]:55039 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mK48J-0006d8-0m for submit@debbugs.gnu.org; Sat, 28 Aug 2021 15:36:51 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:53804) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mK48F-0006cv-OI for 50241@debbugs.gnu.org; Sat, 28 Aug 2021 15:36:49 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:45512) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mK48A-0001WC-Et; Sat, 28 Aug 2021 15:36:42 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2948 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 1mK48A-00051c-0N; Sat, 28 Aug 2021 15:36:42 -0400 In-Reply-To: (message from Konstantin Kharlamov on Sat, 28 Aug 2021 22:05:55 +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:212895 Archived-At: > From: Konstantin Kharlamov > Cc: 50241@debbugs.gnu.org > Date: Sat, 28 Aug 2021 22:05:55 +0300 > > On Sat, 2021-08-28 at 21:56 +0300, Eli Zaretskii wrote: > > > > You miss this step at the end: > > > >   (ispell-change-dictionary "ru_RU,en_US") > > > > It tells Emacs to restart Hunspell with these two dictionaries. > > Thank you! Running this command results in error: > > (error "Undefined dictionary: ru_RU,en_US") Strange. Here, it doesn't error out. I did this: M-x flyspell-mode RET M-x ispell-hunspell-add-multi-dic RET ru_RU,en_US RET M-x ispell-change-dictionary RET ru_RU,en_US RET And I don't get any errors, and flyspell-mode works for both Russian and English.