GNU bug report logs - #12768
24.1; flyspell highlights words which ispell accepts

Previous Next

Package: emacs;

Reported by: Reuben Thomas <rrt <at> sc3d.org>

Date: Tue, 30 Oct 2012 13:27:04 UTC

Severity: normal

Found in version 24.1

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

Bug is archived. No further changes may be made.

Full log


Message #17 received at 12768 <at> debbugs.gnu.org (full text, mbox):

From: Agustin Martin <agustin.martin <at> hispalinux.es>
To: 12768 <at> debbugs.gnu.org, Reuben Thomas <rrt <at> sc3d.org>
Subject: Re: bug#12768: 24.1; flyspell highlights words which ispell accepts
Date: Wed, 31 Oct 2012 15:53:18 +0100
[Message part 1 (text/plain, inline)]
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
[test-12768.txt (text/plain, attachment)]

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

Previous Next


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