all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dmitry Gutov <dgutov@yandex.ru>
To: Stefan Monnier <monnier@IRO.UMontreal.CA>, 20353@debbugs.gnu.org
Subject: bug#20353: M-. sometimes jumps in another window
Date: Sat, 18 Apr 2015 03:51:45 +0300	[thread overview]
Message-ID: <5531AAA1.5010508@yandex.ru> (raw)
In-Reply-To: <jwvd233bb2q.fsf@iro.umontreal.ca>

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?





  reply	other threads:[~2015-04-18  0:51 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-17  5:03 bug#20353: M-. sometimes jumps in another window Stefan Monnier
2015-04-18  0:51 ` Dmitry Gutov [this message]
2015-04-18  4:46   ` Stefan Monnier
2015-04-18 23:21     ` Dmitry Gutov
2015-04-20 14:17       ` Stefan Monnier
2015-04-20 15:17         ` Dmitry Gutov
2015-04-20 19:28           ` Stefan Monnier
2015-04-20 19:37             ` Dmitry Gutov
2015-04-21  1:09               ` Stefan Monnier
2015-04-21 10:34                 ` martin rudalics
2015-04-21 13:42                   ` Dmitry Gutov
2015-04-22  9:33                     ` martin rudalics
2015-04-22 12:28                       ` Dmitry Gutov
2015-04-22 13:07                         ` martin rudalics
2015-05-20  9:46                           ` martin rudalics
2015-04-21 14:51                   ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5531AAA1.5010508@yandex.ru \
    --to=dgutov@yandex.ru \
    --cc=20353@debbugs.gnu.org \
    --cc=monnier@IRO.UMontreal.CA \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.