bug-gnu-emacs
[Top][All Lists]
Advanced

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

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


From: Eli Zaretskii
Subject: bug#52179: Highlighting a word in `ispell' using `enchant'
Date: Wed, 25 May 2022 16:23:01 +0300

> From: Reuben Thomas <rrt@sc3d.org>
> Date: Wed, 25 May 2022 08:39:49 +0100
> Cc: tor.kringeland@ntnu.no, 52179@debbugs.gnu.org
> 
> 
> [1:text/plain Show]
> 
> 
> [2:text/html Hide Save:noname (1kB)]
> 
> On Wed, 25 May 2022 at 03:28, Eli Zaretskii <eliz@gnu.org> wrote:
> 
>  > From: Reuben Thomas <rrt@sc3d.org>
>  > Date: Tue, 24 May 2022 22:34:14 +0100
>  > Cc: Tor Kringeland <tor.kringeland@ntnu.no>, 52179@debbugs.gnu.org
>  > 
>  > 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?





reply via email to

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