GNU bug report logs - #25830
25.2; ispell doesn't parse hunspell dictionaries properly

Previous Next

Package: emacs;

Reported by: Martin Kletzander <mk <at> linux.com>

Date: Tue, 21 Feb 2017 16:05:02 UTC

Severity: normal

Found in version 25.2

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Martin Kletzander <mk <at> linux.com>
Cc: 25830 <at> debbugs.gnu.org
Subject: bug#25830: 25.2; ispell doesn't parse hunspell dictionaries properly
Date: Tue, 21 Feb 2017 22:44:03 +0200
> Date: Tue, 21 Feb 2017 21:24:54 +0100
> From: Martin Kletzander <mk <at> linux.com>
> Cc: 25830 <at> 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.




This bug report was last modified 8 years and 61 days ago.

Previous Next


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