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: Tue, 10 Feb 2015 17:42:54 +0200 Message-ID: <83fvad93i9.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> <831tlz9deh.fsf@gnu.org> <8761bb9cq8.fsf@gmail.com> <048211e0-0bf4-4c69-8908-aae20a2e58fb@default> <877fvraq0n.fsf@gmail.com> <013f998a-bd26-4938-9112-30a2e95e8dc4@default> <877fvqc1ar.fsf@gmail.com> <83siee97mv.fsf@gnu.org> <87zj8maltt.fsf@gmail.com> <83r3ty96f0.fsf@gnu.org> <87twyuakpr.fsf@gmail.com> <83pp9i95mt.fsf@gnu.org> <87mw4mak46.fsf@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1423583011 7040 80.91.229.3 (10 Feb 2015 15:43:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 10 Feb 2015 15:43:31 +0000 (UTC) Cc: thibaut.verron@gmail.com, drew.adams@oracle.com, emacs-devel@gnu.org To: Oleh Krehel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 10 16:43:21 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 1YLCy8-0003ES-IG for ged-emacs-devel@m.gmane.org; Tue, 10 Feb 2015 16:43:20 +0100 Original-Received: from localhost ([::1]:40392 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YLCy7-0004tH-Sl for ged-emacs-devel@m.gmane.org; Tue, 10 Feb 2015 10:43:19 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53564) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YLCxz-0004t5-LV for emacs-devel@gnu.org; Tue, 10 Feb 2015 10:43:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YLCxu-0006OD-Q4 for emacs-devel@gnu.org; Tue, 10 Feb 2015 10:43:11 -0500 Original-Received: from mtaout25.012.net.il ([80.179.55.181]:52564) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YLCxu-0006O1-Hx for emacs-devel@gnu.org; Tue, 10 Feb 2015 10:43:06 -0500 Original-Received: from conversion-daemon.mtaout25.012.net.il by mtaout25.012.net.il (HyperSendmail v2007.08) id <0NJK00C00B1IQA00@mtaout25.012.net.il> for emacs-devel@gnu.org; Tue, 10 Feb 2015 17:37:57 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout25.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NJK00CNZBF9YZ10@mtaout25.012.net.il>; Tue, 10 Feb 2015 17:37:57 +0200 (IST) In-reply-to: <87mw4mak46.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.181 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:182806 Archived-At: > From: Oleh Krehel > Cc: drew.adams@oracle.com, thibaut.verron@gmail.com, emacs-devel@gnu.org > Date: Mon, 09 Feb 2015 21:46:33 +0100 > > Eli Zaretskii writes: > > >> From: Oleh Krehel > >> Date: Mon, 09 Feb 2015 21:33:36 +0100 > >> Cc: thibaut.verron@gmail.com, drew.adams@oracle.com, emacs-devel@gnu.org > >> > >> > AFAICS, it's a simple matter of adding a defcustom to be tested in > >> > gdb-display-io-buffer, causing the latter do nothing if the user says > >> > so. > >> > >> Just instrumented `gdb-display-io-buffer', it's not the function that > >> makes the *output* buffer pop up when there's new output. > > > > Perhaps gdb-inferior-filter, then? > > That's it. Here's the patch. Thanks, this looks good to me. I suggest to wait for a couple of days, to give others time to comment, and if there are no objectsions, please push it then. > +(defcustom gdb-display-io-nopopup nil > + "When t, and the `gdb-inferior-io' buffer is buried, don't pop it up." "When non-nil, and ..." is more accurate, since the code doesn't really require t.