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

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

Re: Speck (Spell checker for Emacs)


From: Alexander Shukaev
Subject: Re: Speck (Spell checker for Emacs)
Date: Sat, 18 Apr 2015 18:16:29 +0200

>
> It sounds like speck.el "needs work" to be able to work out of the box
> with Hunspell.  The problem is this default:
>
>   (defcustom speck-hunspell-library-directory
> (speck-hunspell-binary-directory)
>     "Name of Hunspell library directory.
>   This should specify the absolute name of the directory where the
>   Hunspell dictionaries reside.  The default value is the directory where
>   the Hunspell executable resides."
>
> What it means is that speck.el will instruct Hunspell to look for
> dictionaries in the same directory where the Hunspell executable
> resides, which is never going to work with a "normal" installation of
> Hunspell.
>
> Customize that variable to point to share/hunspell subdirectory of the
> directory where you installed Hunspell, and the package will start
> working for you.
>

Thank you for looking into it.​

I've modified configuration in the following way:​

​  (setq speck-engine 'Hunspell)
  (setq speck-hunspell-program (executable-find "hunspell"))
  (setq speck-hunspell-coding-system 'utf-8)
  (setq speck-hunspell-language-options
        '(("en" utf-8 nil nil nil)))
  (setq speck-hunspell-library-directory
        (expand-file-name "share/hunspell"
                          (file-name-directory
                           (directory-file-name
                            (file-name-directory speck-hunspell-program)))))
  (setq speck-hunspell-default-dictionary-name "en")​

​and the error still remains...​

Regards,
Alexander


reply via email to

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