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

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

New GNU ELPA package: external-completion - Let external tools control c


From: Sacha Chua
Subject: New GNU ELPA package: external-completion - Let external tools control completion style
Date: Mon, 12 Dec 2022 10:05:06 -0500

    Summary: Let external tools control completion style
    Website: https://elpa.gnu.org/packages/external-completion.html
 Maintainer: João Távora <joaotavora@gmail.com>
     Author: Stefan Monnier <monnier@iro.umontreal.ca>

Written by Stefan Monnier circa 2016.  Variants of this code have
been working stably in SLY and other packages for a long time.

The `external' completion style is used with a "programmable
completion" table that gathers completions from an external tool
such as a shell utility, an inferior process, an http server.

The table and external tool are fully in control of the matching of
the pattern string to the potential candidates of completion.  When
`external' is in use, the usual styles configured by the user or
other in `completion-styles' are ignored.

This compromise is for speed: all other styles need the full data
set to be available in Emacs' addressing space, which is often slow
if not completely unfeasible.

To make use of the `external' style the function
`external-completion-table' should be used.  See its docstring.



reply via email to

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