Thank you all for the feedback,

Indeed the summary was a bit misleading, I forgot to change it after I listed the packages. I fixed it now.

I also added that maintainers should decide which spellchecker they prefer and migrate to that one (hunspell is not mandatory).

On Mon, May 29, 2023 at 9:48 AM Barry <barry@barrys-emacs.org> wrote:


On 28 May 2023, at 15:44, Sam Varshavchik <mrsam@courier-mta.com> wrote:

Hunspell does not have a functionally-equivalent C++ API. It has a C++ API of its own, but it's targeted at applications that come with their own language dictionaries. Its C++ API is, basically, a lookup function against a dictionary file that the application also supplies, it does not have a C++ API that offers a convenient way for applications to run a spell check against the system's default dictionary. The way for an application to do it is to have it run hunspell itself separately, and talk to it via pipes. Hopefully, it's easy for the application to do that without leaking other file descriptors.

I found the hunspell C++ API usable. See https://github.com/barry-scott/BarrysEmacs/blob/master/Editor/Source/Common/spell_checker.cpp for an example.

Barry


_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-leave@lists.fedoraproject.org
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue


--
S pozdravom/ Best regards

Lukáš Javorský

Software Engineer, Core service - Databases

Red Hat

Purkyňova 115 (TPB-C)

612 00 Brno - Královo Pole

ljavorsk@redhat.com