unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Speck (Spell checker for Emacs)
@ 2015-04-17 22:55 Alexander Shukaev
  2015-04-18 11:10 ` tomas
  2015-04-18 15:19 ` Eli Zaretskii
  0 siblings, 2 replies; 25+ messages in thread
From: Alexander Shukaev @ 2015-04-17 22:55 UTC (permalink / raw)
  To: help-gnu-emacs

Greetings,

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 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.

Kind regards,
Alexander​


^ permalink raw reply	[flat|nested] 25+ messages in thread
* Re: Speck (Spell checker for Emacs)
@ 2015-04-21 10:34 martin rudalics
  2015-04-21 12:18 ` Alexander Shukaev
                   ` (2 more replies)
  0 siblings, 3 replies; 25+ messages in thread
From: martin rudalics @ 2015-04-21 10:34 UTC (permalink / raw)
  To: haroogan; +Cc: help-gnu-emacs

 > 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.

Initially, speck was written without Hunspell support.  I added it as
soon as the first executables for Windows appeared (that was quite some
time before any other Emacs Spell Checker was able to talk to Hunspell).
The customization variables are still from that early period, there was
no "normal" installation procedure at that time IIRC.  Moreover, I never
upgraded my spell engines since then.  So probably support is missing or
incorrect in this area.

 > As a result, the only variant is
 >
 > (setq speck-hunspell-library-directory "")

I faintly remember Xah Lee spending hours on setting up Hunspell for
Windows until he gave up.  Maybe that was the reason.

martin



^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2015-04-22 10:50 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).