From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#50459: 28.0.50; Python shell completion is incompatible with flex, orderless, etc. Date: Fri, 10 Sep 2021 16:28:52 +0300 Message-ID: <8ee6271b-142e-7cc1-3d24-7e5c342ef86b@yandex.ru> References: <87wnnsl1d1.fsf@gmail.com> <87czpijixk.fsf@gmail.com> <877dfqjfwu.fsf@gmail.com> <87mtolr91a.fsf@gmail.com> <877dfopsoa.fsf@gnus.org> <87zgskejjq.fsf@gmail.com> <87ee9wa7yo.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7321"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 Cc: 50459@debbugs.gnu.org, Lars Ingebrigtsen , Michael Albinus , Gregory Heytings To: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= , Augusto Stoffel Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Sep 10 15:30:14 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mOgbe-0001kQ-3w for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 10 Sep 2021 15:30:14 +0200 Original-Received: from localhost ([::1]:49480 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mOgbc-00073e-7O for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 10 Sep 2021 09:30:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52074) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mOgbS-00072z-Rj for bug-gnu-emacs@gnu.org; Fri, 10 Sep 2021 09:30:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53957) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mOgbS-00067o-Ij for bug-gnu-emacs@gnu.org; Fri, 10 Sep 2021 09:30:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mOgbS-0006wt-AE for bug-gnu-emacs@gnu.org; Fri, 10 Sep 2021 09:30:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 10 Sep 2021 13:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50459 X-GNU-PR-Package: emacs Original-Received: via spool by 50459-submit@debbugs.gnu.org id=B50459.163128054726599 (code B ref 50459); Fri, 10 Sep 2021 13:30:02 +0000 Original-Received: (at 50459) by debbugs.gnu.org; 10 Sep 2021 13:29:07 +0000 Original-Received: from localhost ([127.0.0.1]:37265 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mOgaZ-0006ux-5p for submit@debbugs.gnu.org; Fri, 10 Sep 2021 09:29:07 -0400 Original-Received: from mail-wm1-f54.google.com ([209.85.128.54]:46024) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mOgaT-0006uV-JR for 50459@debbugs.gnu.org; Fri, 10 Sep 2021 09:29:05 -0400 Original-Received: by mail-wm1-f54.google.com with SMTP id j17-20020a05600c1c1100b002e754875260so1392879wms.4 for <50459@debbugs.gnu.org>; Fri, 10 Sep 2021 06:29:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=BK5mTMNA00U26UwFBN3on27YYbCYb2J2mtINoiyDAOk=; b=FbHLl6trdPmXH9CkOJEytU4ddw24Gfru/qDR3HF77/rZeTcGQSAYcGly7986qxTJ/E SP5Iog9IpqJbrqaE5E/SmYgzbNSPZUNSJ0CiwNjGQxS3vvz55r8hhcMiDkGAQPPkt17w dEnSQtUEe5ZGVHY8/uPjA+fjokjRDibYPKEMAEPzU6AtxFbTZz5wjEJg3cquLKIxgkKo bvbqjUvTt/Kp00ef3xvpxFrDfqNHeTTdJiXJClAx5NcPQnJzAgeIF+Cwej4X6PSJ6yUP jSoGIpTqhCAD7rPGUrvh2+C1x94g2e5oM2JufftoSzSOzcI6WD0zpO+mZVq5ZurJwPIM +lbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=BK5mTMNA00U26UwFBN3on27YYbCYb2J2mtINoiyDAOk=; b=BGng6GJ4Ab2aQaxTyxbo6TZBcvjU2iEUVIy0EO/+Dhd6sG/4x2Uob5nSCoNwHe8GTd /EUAUbsi8Ck6fyH6+KoctKFTHhzLzkUOq385kCc3/HEaOFZaE3XIA5To7EJ1485mpVAH ZLP1GHcbqYD+hU0wNfV6syPWRe1nOvU+g0F6TdX/cAjJNLrNxddUFv3CVoQlK/Ft0J/L hdpd9dALTZjjkWlpcsKDP8O6T5k4SWY388X+FBKpobX8uRTqXN3kohJhvC1WFq+sUmDi OvDwS82IIpq0Y5Y02teNapVIDzjh5iA6z3948QRyzlla6kz4Vyq0Mi7ssSGM51911B5b gjjQ== X-Gm-Message-State: AOAM531a03WZWDTnlT/iTmuck7wkTXEzUOaj4tTQd7n5PXVDjAzrEKnd Rg7NhsnLr07fiepbccXsCZY= X-Google-Smtp-Source: ABdhPJyxPaNbAJQIZtrvClAM5+47VVb52b45Ou7RGBCm30zlZbJxdncLHIdSXrre7aJewcd08GORBA== X-Received: by 2002:a05:600c:3b13:: with SMTP id m19mr1707244wms.135.1631280535650; Fri, 10 Sep 2021 06:28:55 -0700 (PDT) Original-Received: from [192.168.0.6] ([46.251.119.176]) by smtp.googlemail.com with ESMTPSA id b24sm4145283wmj.43.2021.09.10.06.28.54 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 10 Sep 2021 06:28:54 -0700 (PDT) In-Reply-To: <87ee9wa7yo.fsf@gmail.com> Content-Language: en-US X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:214009 Archived-At: 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.