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

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

bug#57673: [PATCH] Parse --help messages for pcomplete


From: Augusto Stoffel
Subject: bug#57673: [PATCH] Parse --help messages for pcomplete
Date: Thu, 08 Sep 2022 15:05:22 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

On Thu,  8 Sep 2022 at 14:39, Lars Ingebrigtsen <larsi@gnus.org> wrote:

> I'm wholly unfamiliar with how bash does completions.  But is there any
> reasonable way to reuse the bash completion framework here?

There is a MELPA package that does that:

    https://github.com/szermatt/emacs-bash-completion

But I it never worked very well for me, possibly because I often use
Tramp connections with high latency.  IIUC this package is like Python's
"native completion", i.e., it relies on sending "prefix\t\t" to the bash
process and hopes readline will do its thing.

Exploiting bash could work nicely if it had a
please_complete_this_partial_command function, but this doesn't seem
possible.  I might be wrong, though.





reply via email to

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