GNU bug report logs - #17316
24.3.90; Ispell doesn't support Hunspell's "multiple dictionaries" feature

Previous Next

Package: emacs;

Reported by: Eli Zaretskii <eliz <at> gnu.org>

Date: Tue, 22 Apr 2014 18:16:01 UTC

Severity: wishlist

Found in version 24.3.90

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

Bug is archived. No further changes may be made.

Full log


Message #10 received at 17316-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: 17316-done <at> debbugs.gnu.org
Subject: Re: bug#17316: 24.3.90;
 Ispell doesn't support Hunspell's "multiple dictionaries" feature
Date: Sat, 22 Aug 2015 17:31:06 +0300
> Date: Tue, 22 Apr 2014 21:15:06 +0300
> From: Eli Zaretskii <eliz <at> gnu.org>
> 
> This is more a missing feature than a bug.
> 
> According to Hunspell's man page:
> 
>        -d dict,dict2,...
>               Set dictionaries by their base  names  with  or  without  paths.
>               Example of the syntax:
> 
>        -d en_US,en_geo,en_med,de_DE,de_med
> 
>        en_US and de_DE are base dictionaries, they consist of aff and dic file
>        pairs: en_US.aff, en_US.dic and de_DE.aff, de_DE.dic.  En_geo,  en_med,
>        de_med  are special dictionaries: dictionaries without affix file.
> 
> (This seems to say that you can spell-check text that mixes English
> and German words, but that's a lie: Hunspell actually uses only the
> first .aff file and disregards the rest.)  This feature is useful for
> combining general dictionary with several specialized dictionaries.
> But ispell.el does not support this feature: it only allows specifying
> a single dictionary at the prompt of ispell-change-dictionary, and
> insists on getting one of the strings it collected from the output of
> "hunspell -D" (and it looks like dictionaries without matching affix
> files are filtered out of the list).
> 
> It would be nice to have more freedom in specifying the arguments to
> the -d switch.

Fixed as part of bug#20495.




This bug report was last modified 9 years and 335 days ago.

Previous Next


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