emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xref completion


From: Eli Zaretskii
Subject: Re: Xref completion
Date: Tue, 17 Nov 2020 20:38:24 +0200

> From: Pierre Neidhardt <mail@ambrevar.xyz>
> Date: Tue, 17 Nov 2020 19:13:18 +0100
> 
> Currently, when a xref query hits multiple candidates Emacs shows a Xref
> buffer with the various candidates and their location.
> 
> While informative, it's a bit slow in terms of UX because the user has
> to navigate an extra buffer just to confirm the candidate.
> 
> I've addressed this issue as part of my work on Helm-SLY, a Helm for the
> fork of SLIME.
> 
> https://github.com/emacs-helm/helm-sly
> 
> In particular, I've overridden the behaviour with regards to Xrefs and
> instead of showing the Xref buffer, I'm now offering completion: the
> user can match against the symbol but also against the file and line
> position.
> 
> See screenshot attached.

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?

And where are the candidates shown -- in the minibuffer? or in a
special buffer, like Xref does?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]