From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#19229: ispell on Windows Date: Thu, 21 May 2015 05:41:50 +0300 Message-ID: <83zj4y649d.fsf@gnu.org> References: <831tib6omo.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1432176208 25644 80.91.229.3 (21 May 2015 02:43:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 21 May 2015 02:43:28 +0000 (UTC) Cc: 19229@debbugs.gnu.org To: Alan Third Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu May 21 04:43:18 2015 Return-path: Envelope-to: geb-bug-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 1YvGS1-0004oU-KR for geb-bug-gnu-emacs@m.gmane.org; Thu, 21 May 2015 04:43:13 +0200 Original-Received: from localhost ([::1]:54680 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YvGS1-0006Hw-0c for geb-bug-gnu-emacs@m.gmane.org; Wed, 20 May 2015 22:43:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49595) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YvGRw-0006Eg-Oq for bug-gnu-emacs@gnu.org; Wed, 20 May 2015 22:43:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YvGRr-0003F7-Pq for bug-gnu-emacs@gnu.org; Wed, 20 May 2015 22:43:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41637) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YvGRr-0003F3-NF for bug-gnu-emacs@gnu.org; Wed, 20 May 2015 22:43:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YvGRr-0005wi-7l for bug-gnu-emacs@gnu.org; Wed, 20 May 2015 22:43:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 21 May 2015 02:43:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19229 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 19229-submit@debbugs.gnu.org id=B19229.143217612522779 (code B ref 19229); Thu, 21 May 2015 02:43:03 +0000 Original-Received: (at 19229) by debbugs.gnu.org; 21 May 2015 02:42:05 +0000 Original-Received: from localhost ([127.0.0.1]:51612 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YvGQu-0005vK-N8 for submit@debbugs.gnu.org; Wed, 20 May 2015 22:42:05 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:55023) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YvGQr-0005up-Qi for 19229@debbugs.gnu.org; Wed, 20 May 2015 22:42:03 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0NOO00F00HABMR00@a-mtaout20.012.net.il> for 19229@debbugs.gnu.org; Thu, 21 May 2015 05:41:55 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NOO00FLVI5UN420@a-mtaout20.012.net.il>; Thu, 21 May 2015 05:41:55 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:102992 Archived-At: > Date: Wed, 20 May 2015 21:34:51 +0100 > From: Alan Third > Cc: 19229@debbugs.gnu.org > > > Instead, I suggest to copy en_GB.* dictionary files that Hunspell uses > > to corresponding ENG.* files. > > Doesn't work in OS X, but I'll give it a go in Windows tomorrow. OS X should support the original names, like en_GB, and it should have its locale set to that already. > > Alternatively, say something like this in your ~/.emacs: > > > > (ispell-change-dictionary "en_GB" t) > > > > which re-invokes Hunspell with the en_GB dictionary without messing > > with your LANG variable. > > Unfortunately this doesn't work, I get our old friend: > > ispell-phaf: No matching entry for nil. Where did you get your Hunspell binary for Windows? The above works for me, so I suspect your Hunspell is subtly broken. > And if I run it a second time I get: > > (error "Undefined dictionary: en_GB") Does that happen in "emacs -Q" as well? If not, have another look at your Hunspell- and ispell-related customizations. > I've given up on spell checking in emacs several times in the past and > this is the closest I've ever got to getting it working across all the > platforms I'm using. On Posix platforms (including OS X), the locale setting should do that. On Windows, use one of the 2 methods I suggested, they do work provided that Hunspell has its known bugs fixed.