Subject: Re: bug#12768: 24.1; flyspell highlights words which ispell accepts

From: Agustin Martin <[email-masked]>
Date: Wed, 31 Oct 2012 15:53:18 +0100

On Wed, Oct 31, 2012 at 12:35:20PM +0000, Reuben Thomas wrote:
> In that case, it seems my customizations are relevant:
> 
>  '(ispell-local-dictionary "british+accs")
>  '(ispell-program-name "/usr/bin/aspell")
> 
> and
> 
> (setq ispell-local-dictionary-alist
>       (append ispell-local-dictionary-alist
>               '(("british+accs"         ; British version
>                  "[[:alpha:]]"
>                  "[^[:alpha:]]"
>                  "[-'??]"
>                  nil
>                  ("-B" "-d" "en_GB")
>                  nil
>                  utf-8))))
> 
> Note that the only point of these customizations is to allow the use of
> accented letters and curly quotes in English words.

You no longer need to make this kind of things to use accented letters for
standard entries under aspell or hunspell, [:alpha:] will be used as
default for them (but not for stuff in `ispell-local-dictionary-alist' where
user choice is honoured).

On the other hand, aspell en.dat only contains ['] as allowed wordchars, 
adding other separators here (in .emacs) may trigger some errors about
different character maps when invoking ispell-word.

aspell seems to internally deal with the explicit acute accent similarly to
', so adding it seems to be OK here.

Apart from that, seems I still get similar results for ispell-buffer and
flyspell with your entry. Please find attached the file I used for tests,

-- 
Agustin