From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jean Louis Newsgroups: gmane.emacs.devel Subject: Re: Stepping Back: A Wealth Of Completion systems Re: [ELPA] New package: vertico Date: Wed, 7 Apr 2021 22:03:54 +0300 Message-ID: References: <9c9af088-580f-9fb1-4d79-237a74ce605c@inventati.org> <874kgkxxs0.fsf@posteo.net> <3ec7e2e58a100426a22e@heytings.org> <877dleb2px.fsf@posteo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23314"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/2.0.6 (2021-03-06) Cc: Gregory Heytings , emacs-devel@gnu.org To: Philip Kaludercic Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Apr 07 21:06:22 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 1lUDVO-0005vt-3L for ged-emacs-devel@m.gmane-mx.org; Wed, 07 Apr 2021 21:06:22 +0200 Original-Received: from localhost ([::1]:54254 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lUDVM-0002h4-Vt for ged-emacs-devel@m.gmane-mx.org; Wed, 07 Apr 2021 15:06:21 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39100) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lUDUd-0002Dd-8q for emacs-devel@gnu.org; Wed, 07 Apr 2021 15:05:35 -0400 Original-Received: from stw1.rcdrun.com ([217.170.207.13]:32887) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lUDUa-0007HQ-FB for emacs-devel@gnu.org; Wed, 07 Apr 2021 15:05:35 -0400 Original-Received: from localhost ([::ffff:41.210.159.189]) (AUTH: PLAIN securesender, TLS: TLS1.3,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 000000000001DF49.00000000606E0278.00007B95; Wed, 07 Apr 2021 12:05:28 -0700 Mail-Followup-To: Philip Kaludercic , Gregory Heytings , emacs-devel@gnu.org Content-Disposition: inline In-Reply-To: <877dleb2px.fsf@posteo.net> Received-SPF: pass client-ip=217.170.207.13; envelope-from=bugs@gnu.support; helo=stw1.rcdrun.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:267561 Archived-At: * Philip Kaludercic [2021-04-07 17:44]: > I don't think that something like selecting-read should just present a > list of string. One might imagine using methods to allow an extensible > way to control the presentation. Currently the standard procedure is to > generate a collection and it's labels before passing it to > completing-read. That's what insert-char does using ucs-names. I could > imagine that selecting-read takes a list of characters, and uses a > method to generate the textual representation of every entry. Ideally it > could lazily only calculate those entries that are currently being > displayed. It is great when in the list of candidates for presentation other data may be stored similarly like it is stored in tabuluated-list-mode where one can get the ID and full entry of data, and similarly how it is stored in Helm where I can select the presented string such as: "Joe Doe" and get the ID 2 and that is where sometimes duplicates could appear and it is fine for duplicates to appear in those cases, as user may know that second Joe Doe is from Mexico, first one from USA, so choosing second below would reach to right ID which ID is then hidden in the presentation. -- Jean Take action in Free Software Foundation campaigns: https://www.fsf.org/campaigns Sign an open letter in support of Richard M. Stallman https://rms-support-letter.github.io/