GNU bug report logs - #13460
Issue to change dictionary when using hunspell on emacs

Previous Next

Package: emacs;

Reported by: Jochen Schmitt <Jochen <at> herr-schmitt.de>

Date: Wed, 16 Jan 2013 16:37:02 UTC

Severity: normal

Done: Agustin Martin <agustin.martin <at> hispalinux.es>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 13460 <at> debbugs.gnu.org, Jochen <at> herr-schmitt.de
Subject: bug#13460: Issue to change dictionary when using hunspell on emacs
Date: Thu, 17 Jan 2013 05:51:13 +0200
> From: Glenn Morris <rgm <at> gnu.org>
> Cc: Jochen Schmitt <Jochen <at> herr-schmitt.de>,  13460 <at> debbugs.gnu.org
> Date: Wed, 16 Jan 2013 18:23:23 -0500
> 
> Eli Zaretskii wrote:
> 
> > You need to install the English dictionary for Hunspell.  I suspect
> > that its name will be en_US (or maybe en_GB), not "english".
> 
> M-x ispell-change-dictionary doesn't accept "en_US" as input.
> It wants something like "english" (coming from
> ispell-dictionary-base-alist), which as you say is wrong.

Then one needs to customize ispell-local-dictionary-alist to include
the setting for en_US.  Here's what I have there:

     '("en_US"
	"[[:alpha:]]"
	"[^[:alpha:]]"
	"[']" nil ("-r") nil utf-8)

The OP may wish to omit the -r switch, it's not a necessity.

Also, be sure to look at en_US.aff and match the character set it
mentions there with the "utf-8" part above.




This bug report was last modified 12 years and 165 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.