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#47711: bug#48841: bug#47711: bug#48841: bug#47711: [PATCH VERSION 2] Add new `completion-filter-completions` API and deferred highlighting Date: Thu, 2 Nov 2023 18:03:49 +0200 Message-ID: <2a144a08-eb41-22ee-ddf0-59ad1f3222f0@gutov.dev> References: <7d14bc13-4419-816c-5708-c42988c39c02@gutov.dev> <5d0a78cc-4fa0-ef04-3462-1826f17d7d56@gutov.dev> <877cn8asud.fsf@gmail.com> <8734xtauqj.fsf@gmail.com> <5181f95e-61e7-c8c4-6389-44ee57e0c749@gutov.dev> <31cadbfd-d086-a04f-0ed9-17ce70b4282c@gutov.dev> <15a867ba-5a0f-9852-0296-b4c809baac7b@gutov.dev> 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="35042"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Cc: Daniel Mendler , Eli Zaretskii , Stefan Monnier , 47711@debbugs.gnu.org To: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Nov 02 17:05:06 2023 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 1qyaBt-0008mb-H5 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 02 Nov 2023 17:05:06 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qyaBT-00034S-Jn; Thu, 02 Nov 2023 12:04:39 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qyaBH-000343-6H for bug-gnu-emacs@gnu.org; Thu, 02 Nov 2023 12:04:27 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qyaBG-00057x-UO for bug-gnu-emacs@gnu.org; Thu, 02 Nov 2023 12:04:26 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qyaBp-0007wB-Mn for bug-gnu-emacs@gnu.org; Thu, 02 Nov 2023 12:05:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 02 Nov 2023 16:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47711 X-GNU-PR-Package: emacs Original-Received: via spool by 47711-submit@debbugs.gnu.org id=B47711.169894108630474 (code B ref 47711); Thu, 02 Nov 2023 16:05:01 +0000 Original-Received: (at 47711) by debbugs.gnu.org; 2 Nov 2023 16:04:46 +0000 Original-Received: from localhost ([127.0.0.1]:55836 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qyaBV-0007vG-QB for submit@debbugs.gnu.org; Thu, 02 Nov 2023 12:04:46 -0400 Original-Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:47249) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qyaBP-0007ur-RK for 47711@debbugs.gnu.org; Thu, 02 Nov 2023 12:04:40 -0400 Original-Received: from compute7.internal (compute7.nyi.internal [10.202.2.48]) by mailout.west.internal (Postfix) with ESMTP id CDD913200909; Thu, 2 Nov 2023 12:03:54 -0400 (EDT) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute7.internal (MEProxy); Thu, 02 Nov 2023 12:03:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm2; t= 1698941034; x=1699027434; bh=D9DTsptfYIWRomrrc4iwHTC3jwTm6k1WJZX n8RF/GSo=; b=Flwr7zOb2MrV1A2MP/TNsFL477GBn+JMbbTU7OTQIbVMkT2xQ9Y 5m1TUJik2EwuTd4vJR6byBI+YRvV5/btVhLbqb18xJDD66VBtuvUEZ7RMB9KjsyZ /MhWk7G5tAMEX+tb3V/5wd2NVrsv1egb200LzecikrpEe1ExfWGIf4gtz8V5NAjE cHGPjSP7wWsmUAD3JrEXyi8LHD5CUvRjBlcmCd4cb6urG8nt43JsiXqCNFFATE/W E/MIku2K07wbfCCnhI9vCNq7bBgi3BqFW8+KsuEg1n0USteDDSm66j2CO4vyto/r Mt+PSvcK6Gt7JKZxXiNK8E2Pu/gdl16MLxw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1698941034; x=1699027434; bh=D9DTsptfYIWRomrrc4iwHTC3jwTm6k1WJZX n8RF/GSo=; b=WvglKssqyceROS6yfH3rbyTjMC4B46CsLoda+jfsQVCsna/TxLt anUdDOyEo5uv3FXJrst+cmZsJtFT4OGPdTpyd0IgEM+rmbZxPJCqYPi40AaTWUla UiicLFB04JfUaHZ9hVF31xakxsTJLxo1OUYk2VEY1pbThiTNwr/sm1vIz/kV9qtU uP0IdKjok7psxMjydyiATwAqoWMBZYd0TiwDE/FRlEyVfG/qdfYocatj46iUxWcD z4jZfhFz+b6lQYUWKmv96BlbS7+0nVVEZiBI6hkMVytwDp3zz+xhUY5L8q+uUzYC gZBmqevgdbbllkgzEKZbCAM+R3BfLEGeG2Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedruddtiedgkeegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvvehfhfgjtgfgsehtkeertddtfeejnecuhfhrohhmpeffmhhi thhrhicuifhuthhovhcuoegumhhithhrhiesghhuthhovhdruggvvheqnecuggftrfgrth htvghrnhephfffheeljeffgeffueeghfekkedtfffgheejvdegjeettdduheeufffggfef jeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepug hmihhtrhihsehguhhtohhvrdguvghv X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 2 Nov 2023 12:03:52 -0400 (EDT) Content-Language: en-US In-Reply-To: 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:273657 Archived-At: On 02/11/2023 17:58, João Távora wrote: > On Thu, Nov 2, 2023 at 3:36 PM Dmitry Gutov wrote: >> >> On 02/11/2023 17:24, João Távora wrote: >>> On Thu, Nov 2, 2023 at 2:40 PM Dmitry Gutov wrote: >>> >>>> IOW, this whole approach results in stricter matching with fewer >>>> results, so a smarter sort isn't that necessary. >>> Just curious, so in orderless, what do I type to quickly select >>> M-x vc-diff or M-x vc-version-diff or M-x vc-ediff? >>> >>> In flex I just type "vcdiff" and these results normally bubble to the top. >> >> I'm not really a user of it (yet?), but >> >> "vc-dif" or "vc dif" matches the first one, and "vc-ver" or "vc vers" >> matches the second one. > > So "vc dif" doesn't also match 'vc-ediff' and 'vc-version-diff'? It does, of course. I just described what I imagine is the more common scenario: continue typing until the command you want is at the top, so you don't have to reach for C-n/C-p or the arrow keys. >> Not a lot of difference in the amount of typing, >> but a little more control on the part of the user. > > That's debatable, I like to be able to type 'vcdiff' and > see all the commands that vc.el offers for diffing things. That also works for Orderless and "vc dif". And from that you can continue to "vc dif ver", which brings "vc-version-diff" to the top, that's something unique to Orderless, I suppose.