Subject: bug#52179: Highlighting a word in `ispell' using `enchant'

From: Eli Zaretskii <[email-masked]>
Date: Wed, 25 May 2022 16:23:01 +0300

> From: Reuben Thomas <[email-masked]>
> Date: Wed, 25 May 2022 08:39:49 +0100
> Cc: [email-masked], [email-masked]
> 
> 
> [1:text/plain Show]
> 
> 
> [2:text/html Hide Save:noname (1kB)]
> 
> On Wed, 25 May 2022 at 03:28, Eli Zaretskii <[email-masked]> wrote:
> 
>  > From: Reuben Thomas <[email-masked]>
>  > Date: Tue, 24 May 2022 22:34:14 +0100
>  > Cc: Tor Kringeland <[email-masked]>, [email-masked]
>  > 
>  > Since ispell is the only spellchecker Emacs supports that can't cope with [[:alpha:]], it would seem
>  more
>  > sensible to have a default (nil-keyed) setting in ispell-dictionary-base-alist, and to overwrite the default
>  with
>  > [A-Za-z] only if the spellchecker is really ispell.
>  > 
>  > This way, duplicate code can be removed and future spellcheckers will not need to rediscover this
>  problem.
> 
>  That might be okay, but how does it help us get the Enchant support in
>  ispell.el DTRT?  We'd still need to detect when Ispell is used as the
>  back-end speller, no?
> 
> Versions of Enchant compatible with Emacs do not support Ispell as the back-end speller (I removed this
> support in version 2 of Enchant).

So we could just modify ispell-find-enchant-dictionaries to always
patch the nil entry, like the other two backends do.  Right?