unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Alan Third <alan@idiocy.org>
Cc: 19229@debbugs.gnu.org
Subject: bug#19229: ispell on Windows
Date: Wed, 20 May 2015 22:21:51 +0300	[thread overview]
Message-ID: <831tib6omo.fsf@gnu.org> (raw)
In-Reply-To: <CABGBtwnA5APE5SDqbquHzoXVqPY0aaFSQqEkgiZcRfVKD48Dsg@mail.gmail.com>

> Date: Wed, 20 May 2015 19:53:22 +0100
> From: Alan Third <alan@idiocy.org>
> 
> 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.





  reply	other threads:[~2015-05-20 19:21 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-30 18:25 bug#19229: ispell-phaf: No matching entry for Alexander Shukaev
2014-11-30 19:50 ` bug#19229: A workaround for hunspell Chris Zheng
2014-12-01 16:26   ` Eli Zaretskii
2014-11-30 21:15 ` bug#19229: ispell-phaf: No matching entry for Eli Zaretskii
2014-11-30 21:55   ` Alexander Shukaev
2014-12-01 16:24     ` Eli Zaretskii
2014-12-01 17:15       ` Alexander Shukaev
2015-05-20 18:53 ` bug#19229: ispell on Windows Alan Third
2015-05-20 19:21   ` Eli Zaretskii [this message]
2015-05-20 20:34     ` Alan Third
2015-05-21  2:41       ` Eli Zaretskii
2015-05-21  8:16         ` Alan Third
2015-05-21 16:23           ` Eli Zaretskii
2015-05-21 20:19             ` Alan Third
2015-05-22  6:53               ` Eli Zaretskii
2015-05-22 18:57                 ` Alan Third
2015-05-22 19:22                   ` Eli Zaretskii
2015-05-22 19:55                     ` Alan Third
2015-05-22 20:08                       ` Eli Zaretskii
2015-05-22 21:46                       ` Jan D.
2020-09-07 21:55                       ` Lars Ingebrigtsen
2020-09-07 22:08                         ` Alan Third
2020-09-08 10:12                           ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=831tib6omo.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=19229@debbugs.gnu.org \
    --cc=alan@idiocy.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).