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

> Date: Sat, 18 Apr 2015 00:55:41 +0200
> From: Alexander Shukaev <haroogan@gmail.com>
> 
> I've installed Speck recently, but could not get it to work unfortunately.
> Would anybody who is using it be so kind to assist me with it?

I'm not using it, but I downloaded it and took a look.

> I have the following configuration:
> 
> (use-package speck
>   :ensure
>   :defer
>   :commands
>   (speck-mode)
>   :init
>   (setq speck-hunspell-program (executable-find "hunspell"))
>   (setq speck-hunspell-coding-system (quote utf-8))
>   (setq speck-hunspell-dictionary-alist
>         (quote (("en" . "en_US")
>                 ("ru" . "ru_RU"))))
>   (setq speck-hunspell-language-options
>         (quote (("en" utf-8 nil nil nil)
>                 ("ru" utf-8 nil nil nil))))
>   (setq speck-hunspell-default-dictionary-name "en")
> 
>   (add-hook 'text-mode-hook 'speck-mode)
>   (add-hook 'prog-mode-hook 'speck-mode)
>   :config)
> 
> 
> In any buffer where Speck is enabled then, I see the following error:
> 
> Error running timer `speck-windows': (error "Process speck not running)
> 
> 
> ​Any ideas what could be done here?  Thank you.

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.




  parent reply	other threads:[~2015-04-18 15:19 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 [this message]
2015-04-18 16:16   ` Alexander Shukaev
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=83mw2579ce.fsf@gnu.org \
    --to=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.