From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alexander Shukaev Newsgroups: gmane.emacs.help Subject: Re: Speck (Spell checker for Emacs) Date: Sat, 18 Apr 2015 18:16:29 +0200 Message-ID: References: <83mw2579ce.fsf@gnu.org> 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 1429373805 6806 80.91.229.3 (18 Apr 2015 16:16:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 18 Apr 2015 16:16:45 +0000 (UTC) Cc: help-gnu-emacs To: Eli Zaretskii Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Apr 18 18:16: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 1YjVQB-0000Ed-QZ for geh-help-gnu-emacs@m.gmane.org; Sat, 18 Apr 2015 18:16:43 +0200 Original-Received: from localhost ([::1]:46183 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YjVQA-0005Wr-VV for geh-help-gnu-emacs@m.gmane.org; Sat, 18 Apr 2015 12:16:42 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47397) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YjVQ1-0005VD-DS for help-gnu-emacs@gnu.org; Sat, 18 Apr 2015 12:16:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YjVQ0-00023Q-EA for help-gnu-emacs@gnu.org; Sat, 18 Apr 2015 12:16:33 -0400 Original-Received: from mail-lb0-x231.google.com ([2a00:1450:4010:c04::231]:36146) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YjVPy-00022l-1I; Sat, 18 Apr 2015 12:16:30 -0400 Original-Received: by lbbqq2 with SMTP id qq2so103033429lbb.3; Sat, 18 Apr 2015 09:16:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=xZrp6XHRrUQ1ovNyiBD65K925bWE8Be0S/bQTsJkW+k=; b=qWa+zXnk3r5emhDGI5wIpFTx64zr24oOHsM/8gItJKZtE3VpakbPva2Wm4R6O9NnPF DpqQXm6IQ0HLF0BcIZ5Q8nk7JKcdFnRgf5eQis59niuZfxHsJ2C1N6+n8kMkO+FYM/CZ anqEpVlTSNbvJTqLsLGgbMcfdYDR6gjiexI5scZ0nJteZmOpRuAdqUDDgsfAwj9u//Sa s0Nhg1pA6cgkscvUOhcmaPcn6kkk0V7RHLpmOq8pIkjxLJw+FFUuxZ+Rlr4EfkslUZf9 98Ys/woT/iev24UE6ve+9YOd8vVIHhzwbJKOf3dqtkp+r+MK5hRHnCWEXqrfwqWooesi jJuQ== X-Received: by 10.152.87.13 with SMTP id t13mr8981990laz.66.1429373789164; Sat, 18 Apr 2015 09:16:29 -0700 (PDT) Original-Received: by 10.112.36.103 with HTTP; Sat, 18 Apr 2015 09:16:29 -0700 (PDT) In-Reply-To: <83mw2579ce.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c04::231 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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:103826 Archived-At: > > 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.=E2=80=8B I've modified configuration in the following way:=E2=80=8B =E2=80=8B (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")=E2=80=8B =E2=80=8Band the error still remains...=E2=80=8B Regards, Alexander