From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Oleh Krehel Newsgroups: gmane.emacs.devel Subject: Re: Use of dedicated windows in gdb-mi.el Date: Mon, 09 Feb 2015 16:57:36 +0100 Message-ID: <878ug7axhr.fsf@gmail.com> References: <87h9uynckc.fsf@gmail.com> <83iofedfkz.fsf@gnu.org> <877fvun97j.fsf@gmail.com> <83fvaid8sa.fsf@gnu.org> <83fvaf9jj2.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1423497716 31444 80.91.229.3 (9 Feb 2015 16:01:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 9 Feb 2015 16:01:56 +0000 (UTC) Cc: Thibaut Verron , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 09 17:01:55 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 1YKqmY-0000OJ-Te for ged-emacs-devel@m.gmane.org; Mon, 09 Feb 2015 17:01:55 +0100 Original-Received: from localhost ([::1]:33585 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YKqmY-0001GR-Cy for ged-emacs-devel@m.gmane.org; Mon, 09 Feb 2015 11:01:54 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44195) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YKqmD-0001B0-EN for emacs-devel@gnu.org; Mon, 09 Feb 2015 11:01:37 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YKqm9-0005QM-JN for emacs-devel@gnu.org; Mon, 09 Feb 2015 11:01:33 -0500 Original-Received: from mail-we0-x235.google.com ([2a00:1450:400c:c03::235]:34272) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YKqm9-0005Po-Dj; Mon, 09 Feb 2015 11:01:29 -0500 Original-Received: by mail-we0-f181.google.com with SMTP id w62so10414982wes.12; Mon, 09 Feb 2015 08:01:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=jMsUoilM48HrHVUjMb0FTb9HKIiET9NAb0TNQvErgMo=; b=NAuyyAk2f+aDpca/ebq6ZkgF6MORn+mTPD/NeWGu9mVeamNFNXox4SUbg4X2XHCuFC AY3U/AJfLFI2PHM3LncaDTMH9+Cqz/5CnCMGfmmvnJCMaV0qTki0bPAoJnNYVYc0aqfv Q9NqSAizMeWGW8honA5m5u1yi2lDRdOEVuJ88OnWFjBDp+mdz8H/mdY35JFhcPFPX5K5 P27wsU+VXO3vs6hJoAlz9vTJSDa2+09blXYmMBqzDbobFo7eCIs7BICz9/U/c3ScCE4o bm9F47u9X7OJQFyGswyRLNep/T8zx0JC770CZATvMU2u+41vriX6xXlbKeB7VChoiWaC VU8Q== X-Received: by 10.194.189.138 with SMTP id gi10mr44225022wjc.86.1423497688600; Mon, 09 Feb 2015 08:01:28 -0800 (PST) Original-Received: from firefly (dyn069045.nbw.tue.nl. [131.155.69.45]) by mx.google.com with ESMTPSA id df8sm6242134wib.2.2015.02.09.08.01.27 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 09 Feb 2015 08:01:27 -0800 (PST) In-Reply-To: <83fvaf9jj2.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 09 Feb 2015 17:44:33 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c03::235 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:182702 Archived-At: Eli Zaretskii writes: > If you don't like this fixed arrangement of dedicated windows, then > why are you using GDB-MI? Simply either turn off "the other" windows, > or don't turn them on in the first place (they are disabled by > default). Then you will have full freedom of selecting which buffer > gets displayed in what window, as usual in Emacs. > > My suggestion to use another frame was meant to give you the best of > all worlds -- the ability to switch to any buffer you like without > losing the IDE-like behavior of GDB-MI. I don't really understand the > nature of your objection to it: doesn't it resolve the dilemma? > > IOW, I don't understand why would anyone want GDB-MI, but without its > predefined arrangement of windows. If we lift the dedicated windows > limitation, Emacs will pop the GDB-MI buffers all over the place, as > you well know. Why does it make sense to "hunt" for a certain GDB-MI > buffer, like the call-stack buffer, when you can't even remember its > name easily? > > Can you explain the motivation, and also why using GDB without the > other windows is not an option? 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. This *output* window is hard to get rid of: even if I kill that buffer, it comes back, dedicated once more. The patch that I attached solves my problem with plain `gdb'. Oleh