[Top][All Lists]

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

Re: ispell.el and pipes

From: Eli Zaretskii
Subject: Re: ispell.el and pipes
Date: Tue, 16 Nov 2021 17:22:00 +0200

> From: André A. Gomes <andremegafone@gmail.com>
> Date: Tue, 16 Nov 2021 17:42:53 +0300
> In the beginning was Ispell (the spelling program) and ispell.el (the
> Emacs interface).  The communication is via pipes or ptys.
> But today there's Aspell (among others), which provides an external C
> API.
> Could Emacs leverage it?  What are the pros and cons of pipes/ptys and
> the C API for Emacs' sake?

The main con is that Someone™ will have to write the code to use the C
API and integrate that into ispell.el.  There are also other cons:

  . the C API provided by Aspell isn't shared by other spell-checkers
    we support (AFAIK)
  . using the C API will need Emacs to be linked against the Aspell
    library, which makes the build requirements and procedures more
  . different versions of Aspell may introduce binary
    incompatibilities, whose accommodation in Emacs will complicate
    our own code

reply via email to

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