|
From: | Dmitry Gutov |
Subject: | bug#20353: M-. sometimes jumps in another window |
Date: | Sat, 18 Apr 2015 03:51:45 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:36.0) Gecko/20100101 Thunderbird/36.0 |
On 04/17/2015 08:03 AM, Stefan Monnier wrote:
I tend to use many frames. When I hit M-. I sometimes get a new popup frame asking me to choose a destination. All good so far. But sometimes once I choose my destination, xref choose the wrong window to display that destination. More specifically I get the following scenario:
Is the scenario reliable? I haven't seen the result you're describing after trying it.
- Window 1 (in frame 1) showing buffer B. - Window 2 (in frame 2) showing buffer B as well. - In window 1 I do M-. - Get a popup to choose the destination.
Are there some particular settings that make the xref buffer appear in a new frame? It always uses the current frame here.
- Choose some destination D which is also in buffer B. - And here's the downer: sometimes Emacs decides to then select window 2 to jump to D, instead of using the window 1 for that.
The command that's called in the end is `xref-goto-xref'. Might it be that `xref-quit' ends up selecting the wrong frame?
[Prev in Thread] | Current Thread | [Next in Thread] |