From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: ndame Newsgroups: gmane.emacs.devel Subject: Re: Emacs should provide more modern item completion out of the box Date: Fri, 3 Jan 2020 05:39:47 +0000 (GMT) Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_18012_650774160.1578029987503" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="175459"; mail-complaints-to="usenet@blaine.gmane.org" To: "emacs-devel@gnu.org" , Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 03 06:58:58 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1inFz8-000jWG-Dx for ged-emacs-devel@m.gmane.org; Fri, 03 Jan 2020 06:58:58 +0100 Original-Received: from localhost ([::1]:48958 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1inFz7-0003zq-9N for ged-emacs-devel@m.gmane.org; Fri, 03 Jan 2020 00:58:57 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40630) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1inFyb-0003Ma-CQ for emacs-devel@gnu.org; Fri, 03 Jan 2020 00:58:26 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1inFya-0003KQ-3Q for emacs-devel@gnu.org; Fri, 03 Jan 2020 00:58:25 -0500 Original-Received: from fmfe27.onbox.hu ([46.107.16.232]:17113 helo=web-out.onbox.hu) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1inFyZ-0003FE-CY for emacs-devel@gnu.org; Fri, 03 Jan 2020 00:58:24 -0500 X-fm-smtp-source: yes Original-Received: from localhost (localhost [84.236.63.101]) by web-out.onbox.hu (Postfix) with SMTP id 47pvMw4JWlzN50; Fri, 3 Jan 2020 06:58:20 +0100 (CET) In-Reply-To: X-AccountId: 57978162 X-Originating-Ip: 84.236.63.101 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedufedrvdegvddgkeejucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpucfhtffggffotefknfenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhepfffhvffkjghfufggtghisegrtdersgdttdejnecuhfhrohhmpehnuggrmhgvuceovghmrggtshhushgvrhesfhhrvggvmhgrihhlrdhhuheqnecukfhppeekgedrvdefiedrieefrddutddunecurfgrrhgrmhephhgvlhhopedpihhnvghtpeekgedrvdefiedrieefrddutddupdhmrghilhhfrhhomhepvghmrggtshhushgvrhesfhhrvggvmhgrihhlrdhhuhdprhgtphhtthhopegvmhgrtghsqdguvghvvghlsehgnhhurdhorhhgnecuvehluhhsthgvrhfuihiivgeptd DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=simple/relaxed; t=1578031100; s=20181004; d=freemail.hu; h=Date:From:To:Message-ID:In-Reply-To:References:Subject:MIME-Version:Content-Type; l=2291; bh=dWFfshpJ4rstQnbRh2VJTar9ireycprqntWHmYJvIaA=; b=g1CEenc0jpJMq7ql12WTUYl3180c4n7wrarG6MYrvoP86hxRE16B8ZOGcTZQB/AZ jDYIRV445D8YnlualDGnVqdCffk0GfuGMvcvRZJzBrNPsuhhst3Voj5GPnkYNqj3a8L 17nn20iZGyz3ySWaGIx/mPqMsRq1kgmL6eEelWQck6pp5YOVZMHoXGkcCJI3ukIJf8v zBBtiF14Rk0sKA6hDq1gbeSVAaVem9AG0Y5fEzWkKFvOwzdH2e5TWCdbQ+hfP8vRAFN F2I2Q45rAtePypUD6dQgMu02SLRUGs8XlADqv7KGoX7w8Jvx+eKNYaZCWn/AH05h58+ WouH2WbApg== X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x [fuzzy] X-Received-From: 46.107.16.232 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:243881 Archived-At: ------=_Part_18012_650774160.1578029987503 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable > There are several. For M-x, the easiest one to try out is 'M-x icomplete-= mode'. >=C2=A0Turn it on and see how you like the new 'M-x' experience. I tried it. It has the immediate feedback, but it still requires pressing TABs, lacks flex matching and has no recency bias. So it has only one of the things which modern completion systems provide. Also, the horizontal format makes it only suitable for selecting from short items. When you have long items in your candidate list (e.g. different long paths from all over the file sytem) then it doesn't work. That's why modern systems use a vertical display, or support it also, besides the horizontal format. > And when Emacs 27 comes out, or if you can install a recent snapshot, > try out 'M-x fido-mode'. It's a somewhat tweaked version of the former. I'll check it out. I see from the docs it has flex matching, which is bette= r. =C2=A0 ------=_Part_18012_650774160.1578029987503 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit > There are several. For M-x, the easiest one to try out is 'M-x icomplete-mode'.
> Turn it on and see how you like the new 'M-x' experience.

I tried it. It has the immediate feedback, but it still requires
pressing TABs, lacks flex matching and has no recency bias.

So it has only one of the things which modern completion systems provide.

Also, the horizontal format makes it only suitable for selecting from
short items. When you have long items in your candidate list
(e.g. different long paths from all over the file sytem) then it
doesn't work. That's why modern systems use a vertical display,
or support it also, besides the horizontal format.

> And when Emacs 27 comes out, or if you can install a recent snapshot,
> try out 'M-x fido-mode'. It's a somewhat tweaked version of the former.

I'll check it out. I see from the docs it has flex matching, which is better.
  ------=_Part_18012_650774160.1578029987503--