unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: Joel James Adamson <adamsonj@email.unc.edu>
Cc: 6786@debbugs.gnu.org
Subject: bug#6786: 23.2; Ido-mode switch-to-buffer switches frames
Date: Wed, 04 Aug 2010 08:40:35 +0200	[thread overview]
Message-ID: <4C590B63.9050309@gmx.at> (raw)
In-Reply-To: <m38w4n5yt7.fsf@chondestes.bio.unc.edu>

 > emacs -Q; open a new frame using "C-x 5 2" and switch to that frame.
 > Then switch from *scratch* to *Messages* in the first frame.  Enable
 > ido-mode using "M-x ido-mode".  Switch to the second frame and try
 > switching to *Messages*.  The point (and focus) move to the other
 > window.
 >
 > Setting the ido-mode variables `ido-default-file-method' and
 > `ido-default-buffer-method' to 'selected-window does not change this
 > behavior.

What happens when you set `ido-default-buffer-method' to 'other-window?

 > For some reason the gdb frame was split into two windows and I
 > accidentally deleted the wrong one and now the Separate IO is going
 > into the gdb buffer.

Where IO goes to is not related to the window/buffer relationship.

 > However, when I try to to switch back to the *gud* buffer, it
 > puts the point in a completely different window.

What do you mean by this?  That the *gud* buffer is displayed in the
wrong window?

 > I don't want *gud* in
 > that frame, I want it in the one I'm trying to put it in!  NOTE: THIS
 > BEHAVIOR PERSISTS EVEN AFTER SWITCHING OUT OF IDO-SWITCH-BUFFER BY
 > PRESSING "C-b".

What is C-b bound to in this situation?

 > The buffer-switching behavior I submitted earlier also happens when
 > using the Buffers menu.

Could you please try to run `display-buffer' with edebug to trace the
behavior you observe?

Usually this can happen only if (1) `pop-up-frames' is non-nil, (2)
`display-buffer-reuse-frames' is non-nil, or (3) the windows on the
selected frame are dedicated.

martin





  parent reply	other threads:[~2010-08-04  6:40 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-03 18:35 bug#6786: 23.2; Ido-mode switch-to-buffer switches frames Joel James Adamson
2010-08-03 18:42 ` bug#6786: Further note Joel James Adamson
2010-08-03 20:57 ` bug#6786: 23.2; Ido-mode switch-to-buffer switches frames Juanma Barranquero
2010-08-03 21:05 ` Óscar Fuentes
2010-08-03 21:25   ` Óscar Fuentes
2010-08-04  6:40 ` martin rudalics [this message]
2010-08-05 19:16   ` Joel James Adamson
2011-10-17 13:36 ` martin rudalics

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=4C590B63.9050309@gmx.at \
    --to=rudalics@gmx.at \
    --cc=6786@debbugs.gnu.org \
    --cc=adamsonj@email.unc.edu \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).