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: Wed, 20 May 2015 22:21:51 +0300 Message-ID: <831tib6omo.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1432149805 11745 80.91.229.3 (20 May 2015 19:23:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 20 May 2015 19:23:25 +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 Wed May 20 21:23:15 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 1Yv9aE-0002Ok-Eb for geb-bug-gnu-emacs@m.gmane.org; Wed, 20 May 2015 21:23:14 +0200 Original-Received: from localhost ([::1]:53824 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yv9aD-0006oZ-AH for geb-bug-gnu-emacs@m.gmane.org; Wed, 20 May 2015 15:23:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47275) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yv9a5-0006oC-SI for bug-gnu-emacs@gnu.org; Wed, 20 May 2015 15:23:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yv9a2-0004uc-Lq for bug-gnu-emacs@gnu.org; Wed, 20 May 2015 15:23:05 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41548) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yv9a2-0004uV-Ia for bug-gnu-emacs@gnu.org; Wed, 20 May 2015 15:23:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Yv9a2-0003ho-Ad for bug-gnu-emacs@gnu.org; Wed, 20 May 2015 15:23:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 20 May 2015 19:23:02 +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.143214973314182 (code B ref 19229); Wed, 20 May 2015 19:23:02 +0000 Original-Received: (at 19229) by debbugs.gnu.org; 20 May 2015 19:22:13 +0000 Original-Received: from localhost ([127.0.0.1]:51523 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yv9ZE-0003gf-S0 for submit@debbugs.gnu.org; Wed, 20 May 2015 15:22:13 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:46494) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yv9ZB-0003gL-7a for 19229@debbugs.gnu.org; Wed, 20 May 2015 15:22:10 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0NON00L00XSDE900@a-mtaout22.012.net.il> for 19229@debbugs.gnu.org; Wed, 20 May 2015 22:22:02 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NON00LSAXSLAP20@a-mtaout22.012.net.il>; Wed, 20 May 2015 22:22:02 +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:102988 Archived-At: > Date: Wed, 20 May 2015 19:53:22 +0100 > From: Alan Third > > Ultimately it's the LANG environment variable, or in the case of > Windows the lack of it. I found that with LANG set to "en_GB" I didn't > need any other configuration to get hunspell working. I didn't even > need to tell emacs to use hunspell. I advise against that "solution", because this value of LANG might confuse other Windows programs if they are invoked by Emacs, and even Emacs itself, where its features depend on the locale. Windows short names of locales are different from Posix names; in particular they have 3 letters instead of 2. Most native Windows programs will not understand the value such as "en_GB". Instead, I suggest to copy en_GB.* dictionary files that Hunspell uses to corresponding ENG.* files. 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. > It appears the new version of ispell in 24.4+ is very heavily > dependent on LANG to the extent that explicitly setting > ispell-dictionary won't over-ride it. The value of LANG specifies the default dictionary to load, but that's all.