From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thibaut Verron Newsgroups: gmane.emacs.devel Subject: Re: Use of dedicated windows in gdb-mi.el Date: Mon, 9 Feb 2015 09:19:48 +0000 (UTC) Message-ID: References: <87h9uynckc.fsf@gmail.com> <83iofedfkz.fsf@gnu.org> <877fvun97j.fsf@gmail.com> <83fvaid8sa.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1423473923 18342 80.91.229.3 (9 Feb 2015 09:25:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 9 Feb 2015 09:25:23 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 09 10:25:18 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YKkaj-0004TZ-Da for ged-emacs-devel@m.gmane.org; Mon, 09 Feb 2015 10:25:17 +0100 Original-Received: from localhost ([::1]:59722 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YKkah-0001lD-7z for ged-emacs-devel@m.gmane.org; Mon, 09 Feb 2015 04:25:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35118) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YKkaa-0001jP-In for emacs-devel@gnu.org; Mon, 09 Feb 2015 04:25:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YKkaX-0004kP-9t for emacs-devel@gnu.org; Mon, 09 Feb 2015 04:25:08 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:51598) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YKkaX-0004jh-40 for emacs-devel@gnu.org; Mon, 09 Feb 2015 04:25:05 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YKkaW-0004P9-0l for emacs-devel@gnu.org; Mon, 09 Feb 2015 10:25:04 +0100 Original-Received: from ilithye.calsci.lip6.fr ([132.227.66.71]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 09 Feb 2015 10:25:04 +0100 Original-Received: from thibaut.verron by ilithye.calsci.lip6.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 09 Feb 2015 10:25:04 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 30 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 132.227.66.71 (Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.99 Safari/537.36) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:182670 Archived-At: Eli Zaretskii gnu.org> writes: > > > From: Oleh Krehel gmail.com> > > Cc: emacs-devel gnu.org > > Date: Fri, 06 Feb 2015 20:14:40 +0100 > > > > 1. `gdb' a C++ program > > 2. `gdb-many-windows' > > 3. switch to "*input/output of main*" > > 4. issue `ido-switch-buffer` > > > > => the buffer is switched in the "main.cc" window, although the point was in the > > "*input/output of main*" window. I'm guessing that's because > > "*input/output of main*" is dedicated. In fact, all of them are, except > > the two that I actually want to see always: "main.cc" and "*gud-main*". > > I suggest calling ido-switch-buffer in another frame. > > >From what I understand, this work-around is an illustration of the point, rather than a solution: when someone presses C-x b, they want to change the buffer displayed in the current window. They do not want to have to switch to another window/frame before that, and they do not want to see the desired buffer appear in a random window.