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 #26 received at 52179 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Tor Kringeland <tor.kringeland <at> ntnu.no>, Reuben Thomas <rrt <at> sc3d.org>
Cc: 52179 <at> debbugs.gnu.org
Subject: Re: bug#52179: Highlighting a word in `ispell' using `enchant'
Date: Tue, 24 May 2022 22:36:27 +0300
> From: Tor Kringeland <tor.kringeland <at> ntnu.no>
> CC: "52179 <at> debbugs.gnu.org" <52179 <at> debbugs.gnu.org>
> Date: Tue, 24 May 2022 19:27:58 +0000
> 
> Aspell works for me, but enchant doesn't. When I change `ispell-program-name' to "aspell" ispell starts recognizing full words.
> 
> Looking into the functions you mentioned, it seems like `ispell-find-aspell-dictionaries' explicitly adds an entry for nil, while `ispell-find-enchant-dictionaries' doesn't. This is what causes the bug for me since I have set `ispell-dictionary' to nil/haven't changed it so the resulting regex recognizing words is too strict for my use.

Then maybe ispell-find-enchant-dictionaries should be improved?

> Might there be a reason why `ispell-find-enchant-dictionaries' doesn't set a nil entry? For sure I would think it could handle whatever input aspell can.

I don't know.  CC'ing Reuben, who might know better.




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

Previous Next


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