GNU bug report logs - #52179
Highlighting a word in `ispell' using `enchant'

Previous Next

Package: emacs;

Reported by: Tor Kringeland <tor.a.s.kringeland <at> ntnu.no>

Date: Mon, 29 Nov 2021 14:45:02 UTC

Severity: normal

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Reuben Thomas <rrt <at> sc3d.org>
Cc: tor.kringeland <at> ntnu.no, 52179 <at> debbugs.gnu.org
Subject: Re: bug#52179: Highlighting a word in `ispell' using `enchant'
Date: Wed, 25 May 2022 16:23:01 +0300
> From: Reuben Thomas <rrt <at> sc3d.org>
> Date: Wed, 25 May 2022 08:39:49 +0100
> Cc: tor.kringeland <at> ntnu.no, 52179 <at> 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 <at> gnu.org> wrote:
> 
>  > From: Reuben Thomas <rrt <at> sc3d.org>
>  > Date: Tue, 24 May 2022 22:34:14 +0100
>  > Cc: Tor Kringeland <tor.kringeland <at> ntnu.no>, 52179 <at> 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?




This bug report was last modified 3 years and 23 days ago.

Previous Next


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