On 23.08.2021 19:02, Juri Linkov wrote: >>> We could add an option, at the very least. >> An option to display the first match right away will be most >> appreciated, thanks. > Like compilation-auto-jump-to-first-error. So we even have a precedent, very good. Could you both check out the attached patch? Together with (setq xref-auto-jump-to-first-definition t) Questions for feedback: 1. Does the new behavior work okay window management-wise (it does occupy +1 window, after all)? 2. Should this setting also extend to other commands like xref-find-references? Asking for personal preferences here.