emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A question about spellchecker


From: Eli Zaretskii
Subject: Re: A question about spellchecker
Date: Tue, 08 Apr 2014 19:39:41 +0300

> Date: Tue, 8 Apr 2014 18:21:32 +0200
> From: Agustin Martin <address@hidden>
> 
> >   (add-to-list 'ispell-dictionary-alist '(("svenska"
> >                        "[A-ZÖÄÅa-zöäå]"
> >                        "[^A-ZÖÄÅa-zöäå]"
> >                        "[']"
> >                        nil
> >                        ("-d" "sv_SE")
> >                        t
> >                        utf-8)
> >                       ("svenska8"
> >                        "[A-ZÖÄÅa-zöäå]"
> >                        "[^A-ZÖÄÅa-zöäå]"
> >                        "[']"
> >                        nil
> >                        ("-B" "-d" "sv_SE")
> >                        t
> >                        utf-8)
> >                       ("english"
> >                        "[[:alpha:]]"
> >                        "[^[:alpha:]]"
> >                        "[']"
> >                        t
> >                        ("-d" "en_US")
> >                        nil
> >                        utf-8)))
> > 
> 
> You should not need this at all. emacs24 should auto-detect available
> hunspell dictionaries and offer them as possible choices when calling
> `ispell-change-dictionary', doing proper communication in UTF-8 and using
> [:alpha:] as you do for english (change that in your .emacs and see what
> happens). 

The Windows binary from ezwinports doesn't yet comply with the
semantics of the -D switch that is required for what you describe.  I
will probably fix that some time soon.

> I'd also doucle-check encoding for above diacritics, making sure they are
> UTF-8 encoded as you declare them (but better use [:alpha:] as proposed
> above).

I don't think the encoding matters, Hunspell will convert as required.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]