bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#19468: 25.0.50; UI inconveniences with M-.


From: Eli Zaretskii
Subject: bug#19468: 25.0.50; UI inconveniences with M-.
Date: Tue, 28 Apr 2015 17:55:43 +0300

> Date: Tue, 28 Apr 2015 01:44:15 +0300
> From: Dmitry Gutov <address@hidden>
> CC: address@hidden
> 
>         btw the defun I'm probably after is not the first or second hit there;
>         looks like the candidates are arranged in the alphabetical order of
>         the *.el files).
> 
>     Indeed, the ordering looks incorrect.  This is a bug.
> 
> The idea here is to group candidates belonging to different files together. 
> Sorting the files alphabetically after that is the first natural choice, but 
> how else to do it better?

You could have the few "best matches" listed separately in the
beginning of the list, followed by the grouping shown today.

> - Should xref always try to preserve the order in which xrefs are returned?

No!  This would make the UI even more dependent on the back-ends.

> - Suppose one xref in a.el is returned before all xrefs in b.el. And another 
> xref in a.el is returned after. In what order will we display a.el and b.el?

See above: the best matches could be listed irrespective of the files
they were found in.





reply via email to

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