all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alexander Shukaev <haroogan@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Re: Speck (Spell checker for Emacs)
Date: Sat, 18 Apr 2015 18:16:29 +0200	[thread overview]
Message-ID: <CAKu-7Wzn786k5RwAqX7XS3T50mYXmY_DycWBrDQZdq3k2Vj_rQ@mail.gmail.com> (raw)
In-Reply-To: <83mw2579ce.fsf@gnu.org>

>
> 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	other threads:[~2015-04-18 16:16 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-17 22:55 Speck (Spell checker for Emacs) Alexander Shukaev
2015-04-18 11:10 ` tomas
2015-04-18 12:24   ` Alexander Shukaev
2015-04-18 13:15     ` tomas
2015-04-18 13:56       ` Alexander Shukaev
2015-04-18 14:13         ` tomas
2015-04-18 14:46           ` Eli Zaretskii
2015-04-18 15:19 ` Eli Zaretskii
2015-04-18 16:16   ` Alexander Shukaev [this message]
2015-04-18 16:33     ` Eli Zaretskii
2015-04-18 16:36       ` Alexander Shukaev
2015-04-18 16:41         ` Eli Zaretskii
2015-04-18 16:56           ` Eli Zaretskii
2015-04-18 17:20             ` Alexander Shukaev
2015-04-18 17:34               ` Eli Zaretskii
2015-04-18 19:44                 ` Alexander Shukaev
2015-04-18 20:22                   ` Alexander Shukaev
  -- strict thread matches above, loose matches on Subject: below --
2015-04-21 10:34 martin rudalics
2015-04-21 12:18 ` Alexander Shukaev
2015-04-21 15:19   ` Eli Zaretskii
2015-04-21 15:26     ` Alexander Shukaev
2015-04-22  9:33   ` martin rudalics
2015-04-22 10:50     ` Alexander Shukaev
     [not found] ` <mailman.1265.1429618691.904.help-gnu-emacs@gnu.org>
2015-04-21 12:57   ` Sebastien Vauban
2015-04-21 15:10 ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAKu-7Wzn786k5RwAqX7XS3T50mYXmY_DycWBrDQZdq3k2Vj_rQ@mail.gmail.com \
    --to=haroogan@gmail.com \
    --cc=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.