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

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

bug#50459: 28.0.50; Python shell completion is incompatible with flex, o


From: Dmitry Gutov
Subject: bug#50459: 28.0.50; Python shell completion is incompatible with flex, orderless, etc.
Date: Fri, 10 Sep 2021 16:28:52 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0

On 10.09.2021 16:14, João Távora wrote:
- If you're OK with letting the server do the filtering and the
   highlighting, you can make a "backend" style like I did for SLY, for
   example.  It's going to be faster, but `completion-styles` won't be
   honoured.  That's doesn't mean you give up 100% on "flex".  In SLY,
   there is flex implemented on the Common Lisp side, and for Eglot, many
   LSP server do their own flex matching.

You can't really do that with python-shell completion. Nor do you need do: the basic pcmpl mechanism should work just fine with it, and for performance the completion table just needs some smarter caching.





reply via email to

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