From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#25830: 25.2; ispell doesn't parse hunspell dictionaries properly Date: Tue, 21 Feb 2017 22:44:03 +0200 Message-ID: <83fuj7tgto.fsf@gnu.org> References: <20170221091857.GA4096@wheatley> <83k28jo3ur.fsf@gnu.org> <20170221202454.GA30086@wheatley> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1487709916 3087 195.159.176.226 (21 Feb 2017 20:45:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 21 Feb 2017 20:45:16 +0000 (UTC) Cc: 25830@debbugs.gnu.org To: Martin Kletzander Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Feb 21 21:45:10 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cgHJ5-00007v-T1 for geb-bug-gnu-emacs@m.gmane.org; Tue, 21 Feb 2017 21:45:08 +0100 Original-Received: from localhost ([::1]:48449 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cgHJB-0002av-Qf for geb-bug-gnu-emacs@m.gmane.org; Tue, 21 Feb 2017 15:45:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34326) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cgHJ3-0002Zk-CF for bug-gnu-emacs@gnu.org; Tue, 21 Feb 2017 15:45:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cgHJ0-00013a-A5 for bug-gnu-emacs@gnu.org; Tue, 21 Feb 2017 15:45:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:51090) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cgHJ0-00013W-6R for bug-gnu-emacs@gnu.org; Tue, 21 Feb 2017 15:45:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cgHJ0-0004Nc-10 for bug-gnu-emacs@gnu.org; Tue, 21 Feb 2017 15:45:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 21 Feb 2017 20:45:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25830 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 25830-submit@debbugs.gnu.org id=B25830.148770988816806 (code B ref 25830); Tue, 21 Feb 2017 20:45:01 +0000 Original-Received: (at 25830) by debbugs.gnu.org; 21 Feb 2017 20:44:48 +0000 Original-Received: from localhost ([127.0.0.1]:49289 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cgHIm-0004Mz-8h for submit@debbugs.gnu.org; Tue, 21 Feb 2017 15:44:48 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:43260) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cgHIk-0004Mm-HX for 25830@debbugs.gnu.org; Tue, 21 Feb 2017 15:44:46 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cgHIc-0000sb-6p for 25830@debbugs.gnu.org; Tue, 21 Feb 2017 15:44:41 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:40116) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cgHIc-0000sW-39; Tue, 21 Feb 2017 15:44:38 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2579 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cgHIb-0004JL-BP; Tue, 21 Feb 2017 15:44:37 -0500 In-reply-to: <20170221202454.GA30086@wheatley> (message from Martin Kletzander on Tue, 21 Feb 2017 21:24:54 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:129634 Archived-At: > Date: Tue, 21 Feb 2017 21:24:54 +0100 > From: Martin Kletzander > Cc: 25830@debbugs.gnu.org > > I have multiple dictionaries installed. Hunspell finds all of them, but > selects *two* of them. According to the man page, that is done > according to LC_ALL, LC_MESSAGES, and LANG environment variables. What are the values of those environment variables? > Becuase hunspell selects more of them (which is something I want it to > do), it lists both of them as "LOADED DICTIONARY", ispell parses those > (actually just lines ending with ".aff") and if it finds more than one, > it errors out. The way to run Hunspell with more than one dictionary is hinted upon in the doc string of the command ispell-hunspell-add-multi-dic. After you invoke that command and specify the dictionaries you want to use (e.g., in your case "en_GB,cs_CZ"), type this: M-x ispell-change-dictionary RET en_GB,cs_CZ RET Then try spell-checking. It should work with that arrangement. It is possible that you will first need to modify your environment variables to prevent Hunspell from loading more than one dictionary by default.