From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Use of dedicated windows in gdb-mi.el Date: Mon, 09 Feb 2015 19:56:54 +0200 Message-ID: <831tlz9deh.fsf@gnu.org> References: <87h9uynckc.fsf@gmail.com> <83iofedfkz.fsf@gnu.org> <877fvun97j.fsf@gmail.com> <83fvaid8sa.fsf@gnu.org> <83fvaf9jj2.fsf@gnu.org> <878ug7axhr.fsf@gmail.com> <837fvr9frq.fsf@gnu.org> <87sief9ezy.fsf@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1423504659 27394 80.91.229.3 (9 Feb 2015 17:57:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 9 Feb 2015 17:57:39 +0000 (UTC) Cc: thibaut.verron@gmail.com, emacs-devel@gnu.org To: Oleh Krehel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 09 18:57:34 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 1YKsaQ-0003L6-3K for ged-emacs-devel@m.gmane.org; Mon, 09 Feb 2015 18:57:30 +0100 Original-Received: from localhost ([::1]:34314 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YKsaP-00029S-DU for ged-emacs-devel@m.gmane.org; Mon, 09 Feb 2015 12:57:29 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44997) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YKsaA-00028p-Nk for emacs-devel@gnu.org; Mon, 09 Feb 2015 12:57:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YKsa5-0007Zv-L6 for emacs-devel@gnu.org; Mon, 09 Feb 2015 12:57:14 -0500 Original-Received: from mtaout29.012.net.il ([80.179.55.185]:41127) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YKsa5-0007ZX-Cn for emacs-devel@gnu.org; Mon, 09 Feb 2015 12:57:09 -0500 Original-Received: from conversion-daemon.mtaout29.012.net.il by mtaout29.012.net.il (HyperSendmail v2007.08) id <0NJI00800MTBMA00@mtaout29.012.net.il> for emacs-devel@gnu.org; Mon, 09 Feb 2015 19:53:18 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout29.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NJI00O0FN0UB090@mtaout29.012.net.il>; Mon, 09 Feb 2015 19:53:18 +0200 (IST) In-reply-to: <87sief9ezy.fsf@gmail.com> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.179.55.185 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:182714 Archived-At: > From: Oleh Krehel > Cc: thibaut.verron@gmail.com, emacs-devel@gnu.org > Date: Mon, 09 Feb 2015 18:22:25 +0100 > > Eli Zaretskii writes: > > >> From: Oleh Krehel > >> Cc: Thibaut Verron , emacs-devel@gnu.org > >> Date: Mon, 09 Feb 2015 16:57:36 +0100 > >> > >> I'm using plain `gdb', I don't even like `gdb-many-windows'. But even in > >> plain `gdb', I'm getting a dedicated *output* window that pops up each > >> time there's output. > > > > Don't you _want_ to see the output of a program you are debugging? > > Nope. I can see all that I need through "p". The actual program output > for my particular program is barely relevant during runtime, and completely > irrelevant during debug time. Then perhaps a better solution would be an option not to pop the *output* window at all, so that the need to switch to another buffer in that window is eliminated? Would you like such a solution better? > >> The patch that I attached solves my problem with plain `gdb'. > > > > Maybe I'm missing something, but it looked to me that it made _all_ > > the gdb-mi windows soft-dedicated. If that's true, how about making > > only the popping output window soft-dedicated instead? > > It changed two calls to `set-window-dedicated-p` to use the new custom > var, which is still t by default. Why should this worry you? Because that changes behavior of all the other GDB-MI windows, which are not part of the original problem in any way, as they are not displayed unless the user asked for them. If what bothers you is that the *output* window pops up when you don't want to see it, I think it's better to solve that specific problem without affecting any unrelated features.