From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Pierre Neidhardt Newsgroups: gmane.emacs.devel Subject: Re: Xref completion Date: Tue, 17 Nov 2020 20:11:27 +0100 Message-ID: <87o8jvx0gw.fsf@ambrevar.xyz> References: <873617ets1.fsf@ambrevar.xyz> <83ima3rfq7.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4796"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Nov 17 20:12:58 2020 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 1kf6PS-00017C-92 for ged-emacs-devel@m.gmane-mx.org; Tue, 17 Nov 2020 20:12:58 +0100 Original-Received: from localhost ([::1]:38566 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kf6PR-0000Tk-BH for ged-emacs-devel@m.gmane-mx.org; Tue, 17 Nov 2020 14:12:57 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60966) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kf6OA-0008JN-KE for emacs-devel@gnu.org; Tue, 17 Nov 2020 14:11:38 -0500 Original-Received: from relay12.mail.gandi.net ([217.70.178.232]:48983) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kf6O6-00073L-Rl; Tue, 17 Nov 2020 14:11:38 -0500 Original-Received: from bababa (lfbn-idf2-1-1094-122.w90-92.abo.wanadoo.fr [90.92.160.122]) (Authenticated sender: mail@ambrevar.xyz) by relay12.mail.gandi.net (Postfix) with ESMTPSA id A4E78200002; Tue, 17 Nov 2020 19:11:28 +0000 (UTC) In-Reply-To: <83ima3rfq7.fsf@gnu.org> Received-SPF: pass client-ip=217.70.178.232; envelope-from=mail@ambrevar.xyz; helo=relay12.mail.gandi.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/17 14:11:29 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -5 X-Spam_score: -0.6 X-Spam_bar: / X-Spam_report: (-0.6 / 5.0 requ) BAYES_00=-1.9, FROM_SUSPICIOUS_NTLD=0.499, PDS_OTHER_BAD_TLD=1.465, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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:259305 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Eli Zaretskii writes: > I'm not sure I understand the UI and the interaction. When there are > several hits, they usually are spelled (almost) the same. So how > would the user pick up what he/she wants using the completion UI? The file usually differs, so that's one way to narrow down. Another way is to simply navigate the candidates (arrow keys, tab, etc.). > And where are the candidates shown -- in the minibuffer? or in a > special buffer, like Xref does? In the minibuffer. What I'm suggesting is to use Emacs' default completion framework so that Xref completion would work with anything: ido, fido, company, Helm, etc. =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFGBAEBCAAwFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl+0IF8SHG1haWxAYW1i cmV2YXIueHl6AAoJEJvc9Jeku8x/Vo8H/A2O08oI/lNclDnGRmIu9KcF4maENRHt fuuOtj9mX/V+SqQOK9iExXgWixtWAMhd0TnBsozud9XH793/Jhhqgnq/t6rjsNpz IOW8JIv+IU/fxsa7vA0tI85kr26FGBQhMA4fAkhfdp5Req/ziJtXprGF0Hefxa3q PtZHYCChE5eROKjxtZmdM6r1lJeiPEyeUh1W4MNm4kjk5p3IJgLYme59uO4/+TPk pOGehJ2nGB9vxIFfuBF7MY+aPOk66T1OhosgOTaF+eHJ7RHRZKTKBkPs17ZBO4WZ 9fcqZAIOM5PRZypBrkSh0s0afbkiAPQa/sxdGINbmucDS5GCRcQCcww= =ENwD -----END PGP SIGNATURE----- --=-=-=--