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 19:20:14 +0200 Message-ID: References: <83mw2579ce.fsf@gnu.org> <83h9sd75vt.fsf@gnu.org> <83egnh75jo.fsf@gnu.org> <83bnil74tw.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 1429377645 31253 80.91.229.3 (18 Apr 2015 17:20:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 18 Apr 2015 17:20: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 19:20: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 1YjWQ7-0000Zh-OM for geh-help-gnu-emacs@m.gmane.org; Sat, 18 Apr 2015 19:20:44 +0200 Original-Received: from localhost ([::1]:46350 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YjWQ6-0006xG-NC for geh-help-gnu-emacs@m.gmane.org; Sat, 18 Apr 2015 13:20:42 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57084) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YjWPi-0006sz-H5 for help-gnu-emacs@gnu.org; Sat, 18 Apr 2015 13:20:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YjWPh-0003ZM-DG for help-gnu-emacs@gnu.org; Sat, 18 Apr 2015 13:20:18 -0400 Original-Received: from mail-la0-x22b.google.com ([2a00:1450:4010:c03::22b]:35108) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YjWPf-0003Z2-Mv; Sat, 18 Apr 2015 13:20:16 -0400 Original-Received: by labbd9 with SMTP id bd9so100652944lab.2; Sat, 18 Apr 2015 10:20:14 -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=hzXKXTSk0UWwRJDon0kirQufsz+CtrHWbx9hoRNNQnY=; b=xilj6DWyPke7nVSPL8tXPUFzQOGcE1sjqb+OjVF0DdHgAKtLpVazx9Q1DrIbqwsAkg ZnXejax9xIOFTc7VUYotnQBQU3tW/tLHoWZvAiqtVGUspkQq6iRERYecMGV3bxYVlc4B xkmB/RwEImBPP9Qm+7dD4I20dyHs0iUKD0VR2BFvi5au7YSqRa3VexiAZ58cqI587k0+ nyUxqrIVQy2LGUb1Y2vEEUQHD51GTwubCMTVAv77Kh+ikUIw+KA5sa05gurZe1bMIYxr salIH3XK3iWW43u2WfXS94epGeDNU8NpAbx7CZYhOPyjPL9VsLUBrWA9g/2U7bDnIxYQ TVuw== X-Received: by 10.112.199.133 with SMTP id jk5mr9286416lbc.32.1429377614654; Sat, 18 Apr 2015 10:20:14 -0700 (PDT) Original-Received: by 10.112.36.103 with HTTP; Sat, 18 Apr 2015 10:20:14 -0700 (PDT) In-Reply-To: <83bnil74tw.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c03::22b 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:103835 Archived-At: =E2=80=8BIt might sound weird, but here is where I've got so far. First of= all, it was important to change (expand-file-name "share/hunspell" ... to (expand-file-name "share/hunspell/" ... =E2=80=8Bbecause in `speck-hunspell-start-process' it does a naive `concat'= what results in a wrong path to dictionary of course. Secondly, even after that, it still reported the same error. However, when I `edebug-defun' the `speck-hunspell-start-process', then after exiting debugger there are no more errors. Even if I type `speck-mode', get into debugger, and immediately `q' out of it, it works (i.e. no more errors) and [en] is in green color in the mode line. It smells like there is some sort of concurrency issue here because when I enter debug, it's like I make somebody to wait for something important to happen. Accordingly, if I run `speck-mode' without `speck-hunspell-start-process' being instrumented with `edebug-defun', I get errors and [en] appears in another color. So that would be the first thing to investigate. Lastly, when I said that it works I only meant that there are no more errors and I see [en] in green color in the mode line, but nothing is actually highlighted in the buffer, while clearly there are wrongly spelled words. When it works for you, does speck automatically highlight misspelled words? That would be the second thing to investigate. Kind regards, Alexander