bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#6786: 23.2; Ido-mode switch-to-buffer switches frames


From: martin rudalics
Subject: bug#6786: 23.2; Ido-mode switch-to-buffer switches frames
Date: Wed, 04 Aug 2010 08:40:35 +0200
User-agent: Thunderbird 2.0.0.21 (Windows/20090302)

> 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]