bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#19229: A workaround for hunspell


From: Eli Zaretskii
Subject: bug#19229: A workaround for hunspell
Date: Mon, 01 Dec 2014 18:26:04 +0200

> Date: Mon, 01 Dec 2014 03:50:50 +0800
> From: Chris Zheng <chriszheng99@gmail.com>
> Cc: haroogan@gmail.com
> 
> I think I have wasted more time than you. :(  I have a way to
> workaround this problem.  See the below diff.  I don't know whether
> this affect *nix users, so it just stays in my init files.
> 
> *** a Mon Dec  1 03:40:31 2014
> --- b Mon Dec  1 03:40:31 2014
> ***************
> *** 27,33 ****
>               (error "ispell-fhd: Default dict already defined as %s. Not 
> using %s.\n"
>                      hunspell-default-dict dict)
>             (setq affix-file dict)
> !           (setq hunspell-default-dict (list basename affix-file)))
>         (if (and (not (assoc basename ispell-hunspell-dict-paths-alist))
>                  (file-exists-p affix-file))
>             ;; Entry has an associated .aff file and no previous value.
> --- 27,35 ----
>               (error "ispell-fhd: Default dict already defined as %s. Not 
> using %s.\n"
>                      hunspell-default-dict dict)
>             (setq affix-file dict)
> !           (setq hunspell-default-dict (list basename affix-file))
> !           (add-to-list 'ispell-hunspell-dict-paths-alist
> !                        (list basename affix-file)))
>         (if (and (not (assoc basename ispell-hunspell-dict-paths-alist))
>                  (file-exists-p affix-file))
>             ;; Entry has an associated .aff file and no previous value.

Please see my comments.  If what I wrote there still doesn't work for
you, please describe the details of the failure.  (Are you also using
the MSYS2 port of Hunspell 1.3.3? if so, please try the ezwinports
port instead.)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]