From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#6786: 23.2; Ido-mode switch-to-buffer switches frames Date: Wed, 04 Aug 2010 08:40:35 +0200 Message-ID: <4C590B63.9050309@gmx.at> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1280905701 18624 80.91.229.12 (4 Aug 2010 07:08:21 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 4 Aug 2010 07:08:21 +0000 (UTC) Cc: 6786@debbugs.gnu.org To: Joel James Adamson Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Aug 04 09:08:19 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OgY5L-00021Z-8Y for geb-bug-gnu-emacs@m.gmane.org; Wed, 04 Aug 2010 09:08:19 +0200 Original-Received: from localhost ([127.0.0.1]:46878 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OgY5K-0000ks-Lr for geb-bug-gnu-emacs@m.gmane.org; Wed, 04 Aug 2010 03:08:18 -0400 Original-Received: from [140.186.70.92] (port=52809 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OgY5A-0000jb-QO for bug-gnu-emacs@gnu.org; Wed, 04 Aug 2010 03:08:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OgY59-00049G-Lx for bug-gnu-emacs@gnu.org; Wed, 04 Aug 2010 03:08:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:45976) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OgY59-00049C-Kc for bug-gnu-emacs@gnu.org; Wed, 04 Aug 2010 03:08:07 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OgXew-0002vK-Al; Wed, 04 Aug 2010 02:41:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 04 Aug 2010 06:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6786 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6786-submit@debbugs.gnu.org id=B6786.128090401511226 (code B ref 6786); Wed, 04 Aug 2010 06:41:02 +0000 Original-Received: (at 6786) by debbugs.gnu.org; 4 Aug 2010 06:40:15 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OgXeB-0002v1-Gl for submit@debbugs.gnu.org; Wed, 04 Aug 2010 02:40:15 -0400 Original-Received: from mailout-de.gmx.net ([213.165.64.23] helo=mail.gmx.net) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1OgXe9-0002uw-6k for 6786@debbugs.gnu.org; Wed, 04 Aug 2010 02:40:14 -0400 Original-Received: (qmail invoked by alias); 04 Aug 2010 06:40:39 -0000 Original-Received: from 62-47-54-181.adsl.highway.telekom.at (EHLO [62.47.54.181]) [62.47.54.181] by mail.gmx.net (mp049) with SMTP; 04 Aug 2010 08:40:39 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1+jr9lAstujF2pXZ3pQ1CgyWcKfQxqNpcuqLs+P+z WKpWRR7ngcMnpu User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) In-Reply-To: X-Y-GMX-Trusted: 0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 04 Aug 2010 02:41:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:39228 Archived-At: > 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