emacs-devel
[Top][All Lists]
Advanced

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

Re: Fly-spelling with multiple dictionaries


From: Sascha Wilde
Subject: Re: Fly-spelling with multiple dictionaries
Date: Sun, 06 Apr 2008 22:03:03 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

Eli Zaretskii <address@hidden> wrote:

>> From: Sascha Wilde <address@hidden>
>> Date: Sun, 06 Apr 2008 16:41:20 +0200
>> Cc: address@hidden, address@hidden, address@hidden,
>>      "Stephen J. Turnbull" <address@hidden>,
>>      address@hidden, Eli Zaretskii <address@hidden>
>> 
>> Ok, I did some bold experimenting and simply made an ad hoc setup for
>> ispell like this:
>> 
>> (setq ispell-program-name "hunspell"
>>       ispell-local-dictionary "en_US"
>>       ispell-local-dictionary-alist '(("en_US" "[A-Za-z]" "[^A-Za-z]"
>>       "[']" nil nil nil iso-8859-1)))
>                           ^^^^^^^^^^
> Shouldn't you use utf-8?  I understand hunspell is Unicode based.

AFAIK it supports both.  Being quite conservative I'm running my systems
configured for latin-1.  I successfully tested hunspell with settings
similar to these and an german dictionary on an german, latin-1 Emacs
buffer including words with umlauts, so it definetly works.

To be true, I don't know how hunspell determinates which encoding to
use.  For me it works with latin-1 and I haven't seriously tried to make
it use utf-8, yet.

cheers
sascha
-- 
Sascha Wilde : The sum of intelligence on earth is a constant; 
             : population is growing




reply via email to

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