From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail
From: Stefan Monnier <monnier@iro.umontreal.ca>
Newsgroups: gmane.emacs.devel
Subject: Re: Stepping Back: A Wealth Of Completion systems Re: [ELPA] New
 package: vertico
Date: Sun, 11 Apr 2021 17:52:46 -0400
Message-ID: <jwv8s5ofq4j.fsf-monnier+emacs@gnu.org>
References: <cfe162e2-6094-836b-ca91-4e8af3944dac@daniel-mendler.de>
 <9c9af088-580f-9fb1-4d79-237a74ce605c@inventati.org>
 <p91sg44r3c4.fsf_-_@google.com> <874kgkxxs0.fsf@posteo.net>
 <78741fe6-2612-d7c9-2bc4-0b68ea7fa51a@yandex.ru>
 <jwvmtua9nas.fsf-monnier+emacs@gnu.org>
 <76a4d0e2-117b-165d-d56e-5bc2f504b50c@yandex.ru>
 <87blapln0r.fsf@posteo.net>
 <37bd2e96-ce04-eb6d-24da-fdd7ea427e61@yandex.ru>
 <87im4wx2ct.fsf@posteo.net>
 <dec1476c-27a6-4cfa-f52b-ed3e36edee58@yandex.ru>
 <83ft0080hi.fsf@gnu.org>
 <16784f40-b959-9a84-65d4-93b71d1bebec@yandex.ru>
 <jwv5z0vxbwa.fsf-monnier+emacs@gnu.org>
 <5cf18ab57cc86eb2148a@heytings.org>
 <jwvczv2wac6.fsf-monnier+emacs@gnu.org>
 <5cf18ab57c6d89b4715f@heytings.org>
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214";
	logging-data="26652"; mail-complaints-to="usenet@ciao.gmane.io"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
Cc: Eli Zaretskii <eliz@gnu.org>, Dmitry Gutov <dgutov@yandex.ru>,
 philipk@posteo.net, emacs-devel@gnu.org
To: Gregory Heytings <gregory@heytings.org>
Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Apr 11 23:54:52 2021
Return-path: <emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org>
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 <emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org>)
	id 1lVi2e-0006qG-8Q
	for ged-emacs-devel@m.gmane-mx.org; Sun, 11 Apr 2021 23:54:52 +0200
Original-Received: from localhost ([::1]:51702 helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org>)
	id 1lVi2d-0007ox-8x
	for ged-emacs-devel@m.gmane-mx.org; Sun, 11 Apr 2021 17:54:51 -0400
Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47888)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <monnier@iro.umontreal.ca>)
 id 1lVi0l-0006D1-3W
 for emacs-devel@gnu.org; Sun, 11 Apr 2021 17:52:55 -0400
Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:42802)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <monnier@iro.umontreal.ca>)
 id 1lVi0g-0002Sb-Rh; Sun, 11 Apr 2021 17:52:54 -0400
Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1])
 by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 68B781001FE;
 Sun, 11 Apr 2021 17:52:49 -0400 (EDT)
Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1])
 by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id A11AF100068;
 Sun, 11 Apr 2021 17:52:47 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca;
 s=mail; t=1618177967;
 bh=pUrnxX2v/Wgc7D8YZB37bMnsRNOF9HUrIBwvtCTXJyY=;
 h=From:To:Cc:Subject:References:Date:In-Reply-To:From;
 b=CTeIG+ehtdlkG4LRVewRUN0R6T3sCS+90issUmgHD09C9hEdw+6E10mrQmz5J2IfF
 cF/KXAKzAruBchoJfTTa4IsnAtoyCt5fMVwl88+dgrakA7w/Mo2EMmgeC9Q4ML+FPj
 TYljup0KYhm76cWsXgY5rsCJr6/JFLOQyVYHhFzqCIxOvcYMiBFYGu+8Cw1GPrQvgs
 ZfH63rdOJvD6HZVXZ5yWYZJ3GRtenyDbhajWu5j3OT98BPx86YTlOOGmGJgj66CzoE
 mlinzGwX6dEjs1e0/BQlbNB+adIhp///Y11bbBFu1Jl+uK3PRBnyxROKUvmXRSlqIJ
 U1T10HJLssczA==
Original-Received: from alfajor (104-222-126-84.cpe.teksavvy.com [104.222.126.84])
 by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 487421208A6;
 Sun, 11 Apr 2021 17:52:47 -0400 (EDT)
In-Reply-To: <5cf18ab57c6d89b4715f@heytings.org> (Gregory Heytings's message
 of "Sat, 10 Apr 2021 13:40:55 +0000")
Received-SPF: pass client-ip=132.204.25.50;
 envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca
X-Spam_score_int: -42
X-Spam_score: -4.3
X-Spam_bar: ----
X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3,
 SPF_HELO_NONE=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." <emacs-devel.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-devel>,
 <mailto:emacs-devel-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/emacs-devel>
List-Post: <mailto:emacs-devel@gnu.org>
List-Help: <mailto:emacs-devel-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-devel>,
 <mailto:emacs-devel-request@gnu.org?subject=subscribe>
Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org
Original-Sender: "Emacs-devel"
 <emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org>
Xref: news.gmane.io gmane.emacs.devel:267918
Archived-At: <http://permalink.gmane.org/gmane.emacs.devel/267918>

> IIUC, a variable "completing-read-show-matches-on-no-input" that would be
> setq-local'd by Xref and read by completion UI's would do the job.  Or am
> I missing something?

Yes, something like that, tho I think it'd be more like "show matches
eagerly" or maybe "use selection UI" ;-)

Also, rather than a new var, I'd prefer using something like the "extra
properties" (`completion-extra-properties`) since these already have a
matching mechanism for the `completion-at-point` case.


        Stefan