From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Speck (Spell checker for Emacs) Date: Sat, 18 Apr 2015 18:19:13 +0300 Message-ID: <83mw2579ce.fsf@gnu.org> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: ger.gmane.org 1429370399 20278 80.91.229.3 (18 Apr 2015 15:19:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 18 Apr 2015 15:19:59 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Apr 18 17:19:44 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YjUX1-0002jh-I7 for geh-help-gnu-emacs@m.gmane.org; Sat, 18 Apr 2015 17:19:43 +0200 Original-Received: from localhost ([::1]:45949 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YjUX0-0003EJ-Vh for geh-help-gnu-emacs@m.gmane.org; Sat, 18 Apr 2015 11:19:42 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:32890) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YjUWp-0003DY-WF for help-gnu-emacs@gnu.org; Sat, 18 Apr 2015 11:19:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YjUWk-0008Aq-U5 for help-gnu-emacs@gnu.org; Sat, 18 Apr 2015 11:19:31 -0400 Original-Received: from mtaout28.012.net.il ([80.179.55.184]:37133) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YjUWk-0008Ag-M2 for help-gnu-emacs@gnu.org; Sat, 18 Apr 2015 11:19:26 -0400 Original-Received: from conversion-daemon.mtaout28.012.net.il by mtaout28.012.net.il (HyperSendmail v2007.08) id <0NN000500D32IE00@mtaout28.012.net.il> for help-gnu-emacs@gnu.org; Sat, 18 Apr 2015 18:18:11 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout28.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NN000KV4D6BXW70@mtaout28.012.net.il> for help-gnu-emacs@gnu.org; Sat, 18 Apr 2015 18:18:11 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.179.55.184 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:103824 Archived-At: > Date: Sat, 18 Apr 2015 00:55:41 +0200 > From: Alexander Shukaev >=20 > I've installed Speck recently, but could not get it to work unfortu= nately. > 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: >=20 > (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") >=20 > (add-hook 'text-mode-hook 'speck-mode) > (add-hook 'prog-mode-hook 'speck-mode) > :config) >=20 >=20 > In any buffer where Speck is enabled then, I see the following erro= r: >=20 > Error running timer `speck-windows': (error "Process speck not runn= ing) >=20 >=20 > =E2=80=8BAny ideas what could be done here? Thank you. It sounds like speck.el "needs work" to be able to work out of the bo= x 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 w= here 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 th= e directory where you installed Hunspell, and the package will start working for you.