From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.devel Subject: Re: Stepping Back: A Wealth Of Completion systems Re: [ELPA] New package: vertico Date: Fri, 09 Apr 2021 08:21:34 +0200 Message-ID: <87k0pcufsl.fsf@gnu.org> References: <9c9af088-580f-9fb1-4d79-237a74ce605c@inventati.org> <874kgkxxs0.fsf@posteo.net> <3ec7e2e58a100426a22e@heytings.org> <877dleb2px.fsf@posteo.net> <87blaq5amw.fsf@posteo.net> <87o8eplxgt.fsf@posteo.net> <1a701fa9-52e9-df8c-562a-6e793e2347a1@daniel-mendler.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37457"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.5.11; emacs 28.0.50 To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Apr 09 08:37:57 2021 Return-path: Envelope-to: ged-emacs-devel@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 1lUkmC-0009cp-Ka for ged-emacs-devel@m.gmane-mx.org; Fri, 09 Apr 2021 08:37:56 +0200 Original-Received: from localhost ([::1]:56760 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lUkmB-0000Aw-N4 for ged-emacs-devel@m.gmane-mx.org; Fri, 09 Apr 2021 02:37:55 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50100) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lUkjH-0006LY-35 for emacs-devel@gnu.org; Fri, 09 Apr 2021 02:34:55 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:60258) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lUkjG-0007WC-R8 for emacs-devel@gnu.org; Fri, 09 Apr 2021 02:34:54 -0400 Original-Received: from auth2-smtp.messagingengine.com ([66.111.4.228]:52639) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1lUkjF-00089C-AV for emacs-devel@gnu.org; Fri, 09 Apr 2021 02:34:54 -0400 Original-Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailauth.nyi.internal (Postfix) with ESMTP id E0DF027C005A for ; Fri, 9 Apr 2021 02:34:52 -0400 (EDT) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Fri, 09 Apr 2021 02:34:52 -0400 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrudektddguddtkecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepfhgfhffvufffjgfkgggtsehttd ertddtredtnecuhfhrohhmpefvrghsshhilhhoucfjohhrnhcuoehtshguhhesghhnuhdr ohhrgheqnecuggftrfgrthhtvghrnhepveevieekteekveeigfefffeivdetgeduvdffue euudevgedttdehvdfhueevfffhnecukfhppeekjedrudeifedrfedurdduheegnecuvehl uhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhrnhdomh gvshhmthhprghuthhhphgvrhhsohhnrghlihhthidqkeeijeefkeejkeegqdeifeehvdel kedqthhsughhpeepghhnuhdrohhrghesfhgrshhtmhgrihhlrdhfmh X-ME-Proxy: Original-Received: from thinkpad-t440p (p57a31f9a.dip0.t-ipconnect.de [87.163.31.154]) by mail.messagingengine.com (Postfix) with ESMTPA id 762461080057 for ; Fri, 9 Apr 2021 02:34:52 -0400 (EDT) In-reply-to: <1a701fa9-52e9-df8c-562a-6e793e2347a1@daniel-mendler.de> 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:267690 Archived-At: Daniel Mendler writes: >> I use the default completion system, so for me it is not about >> filtering a data set but expanding a string. Just to reiterate, this >> is exactly the point I am bringing this up. > > Well, but what does this mean in the context of opening a file? I > guess, you are not interested in the string (the file name) alone but > in the end you want to select a file? I'm not sure that's what your are asking but one thing that comes to mind is that when I want to find the file ~/Repos/el/emacs/lisp/doc-view.el I can just do C-x C-f reeld and that will already expand to ~/Repos/el/emacs/l/d if `completion-styles' contains `initials' (and `read-file-name-completion-ignore-case' set to t). Now depending on what I type further, it'll also switch between lisp/ or lib/ directory. AFAIK, that's not really supported with (most) alternative completion UIs where the possible completions are always the files of the currently selected directory. Of course, you can work around that by having a "completion source" returning all files below a directory recursively (fzf style) but that tends to be slow if there are many. Bye, Tassilo