> Date: Thu, 10 Jan 2013 17:35:16 +0100
> From: Oliver Jones <[email protected]>
> 
> I have trouble getting spellchecking to work with Emacs 24.2.1 and Hunspell 
> 1.3.2 on Windows XP.
> 
> I have read the help about spelling in the built in manual and searched the 
> internet where I 
> found advice to include these lines to my ~/.emacs.d/init.el file.
> 
> (setq ispell-dictionary-alist
>     '((nil ; default
>        "[a-zäöüßA-ZÄÖÜ]" "[^a-zäöüßA-ZÄÖÜ]" "[']" t
>        ("-d" "C:\\Dokumente und Einstellungen\\ojones\\Eigene 
> Dateien\\dictionaries\\de_DE_frami" "-i" "utf-8") nil utf-8)
>       ("english"
>        "[A-Za-z]" "[^A-Za-z]" "[']" nil
>        ("-d" "en_GB") nil utf-8)
>       ("german"
>        "[a-zäöüßA-ZÄÖÜ]" "[^a-zäöüßA-ZÄÖÜ]" "[']" t
>        ("-d" "'C:\\Dokumente und Einstellungen\\ojones\\Eigene 
> Dateien\\dictionaries\\de_DE_frami'" "-i" "utf-8") nil utf-8)
                ^                                                               
                   ^
Those single quotes inside double quotes look suspicious.  They don't
belong to the file name.

Also, you don't need "-i" "utf-8" in the list of arguments, since that
is the default.

Finally, I'd suggest to use dictionary names that are identical to the
file names, i.e. "de_DE_frami" instead of "german" etc.  Then you
could simply use nil for all the switches (assuming you install the
dictionaries in the directory where hunspell expects to find them).


Reply via email to