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

From: Dmitry Gutov <[email-masked]>
Date: Tue, 30 Dec 2014 20:33:36 +0200

On 12/30/2014 08:27 PM, Eli Zaretskii wrote:

>> If you press RET in *xref* buffer it closes the *xref* window.
>
> I meant to simulate the '.' key, not the RET key.

You should try this:

(advice-add 'xref--show-xref-buffer :after
             (lambda (&rest r)
               (run-with-idle-timer 0 nil #'xref-next-line)))

Before adding the user option, I'd like to see at least one other person 
say that they'll use it.