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 20:47:10 +0100 Message-ID: <87iofac1fl.fsf@gmail.com> 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> <83zj8m9atc.fsf@gnu.org> <87pp9ioqt0.fsf@gmail.com> <83vbja99iy.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1423511481 13354 80.91.229.3 (9 Feb 2015 19:51:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 9 Feb 2015 19:51:21 +0000 (UTC) Cc: thibaut.verron@gmail.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 09 20:51:16 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 1YKuMV-0001TQ-Nt for ged-emacs-devel@m.gmane.org; Mon, 09 Feb 2015 20:51:15 +0100 Original-Received: from localhost ([::1]:34902 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YKuMV-0001uK-3x for ged-emacs-devel@m.gmane.org; Mon, 09 Feb 2015 14:51:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52012) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YKuMR-0001tL-9D for emacs-devel@gnu.org; Mon, 09 Feb 2015 14:51:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YKuMM-0005Xj-6Q for emacs-devel@gnu.org; Mon, 09 Feb 2015 14:51:11 -0500 Original-Received: from mail-wg0-x233.google.com ([2a00:1450:400c:c00::233]:49182) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YKuML-0005Xe-VV; Mon, 09 Feb 2015 14:51:06 -0500 Original-Received: by mail-wg0-f51.google.com with SMTP id k14so28898133wgh.10; Mon, 09 Feb 2015 11:51:05 -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=xJizd7q7VvshDsnFUwfa4zu3XzvAMSwEQsQgkVrxL3E=; b=ck9v6oo/fKERU/r3owYfTlP8Pkv+HBNTYYMvPiDD6Y8bgsQSTGssseZGzpqaFT2GEh 9iiwxUONKs+skjgkSUXri8JA+40TBDYbcXJTV+koTk9FFFnK3y66pAdYMe3hgIor27EY k5QR09Vk0H0sid9agdNvtw0AkVAE9acxYVcna2KUDCrLbmdtrWDaF01duact/gtK1SYq VbEqvbERomuBQ1s0Jbz4A9PzymdWDsMxaZq9CCO9SyDUJ2FaKJHGfFJyZUQf9o37MRxh wWC2nIWJu5sNJxG1fvn8mT8F9Zx4kWjHtWalgyvAPpHNsik4c/oV97g8IAvJw5GvUK9g QBEg== X-Received: by 10.180.39.35 with SMTP id m3mr28489185wik.3.1423511465208; Mon, 09 Feb 2015 11:51:05 -0800 (PST) Original-Received: from firefly (dyn069045.nbw.tue.nl. [131.155.69.45]) by mx.google.com with ESMTPSA id kj8sm17686084wjc.29.2015.02.09.11.51.03 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 09 Feb 2015 11:51:03 -0800 (PST) In-Reply-To: <83vbja99iy.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 09 Feb 2015 21:20:37 +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:c00::233 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:182730 Archived-At: Eli Zaretskii writes: >> From: Oleh Krehel >> Cc: thibaut.verron@gmail.com, emacs-devel@gnu.org >> Date: Mon, 09 Feb 2015 19:58:19 +0100 >> >> Eli Zaretskii writes: >> >> >> If you have 9 minutes and a way to view Youtube videos, you can see my >> >> demo of a neat approach to manipulating windows (especially the window >> >> swap). This approach of course won't work with non-soft dedicated >> >> windows: https://www.youtube.com/watch?v=_qZliI1BKzI. >> > >> > That's cute, but is this related to GDB-MI and the issue being >> > discussed here? If so, how? >> >> There's a function that swaps the current window with the selected one. >> It fails miserably with dedicated windows, although works with >> soft-dedicated. > > So maybe we should have a way to override the window's dedicated > status, with a special command or an argument to a command or a > variable. This would be useful, since other IDEs (at least QT Creator, probably Eclipse) certainly have more options for dealing with dedicated windows. For instance, QT Creator has a drop-down-style switch-buffer attached to each dedicated window. You can select appropriate buffers for that window. Same this could/should work for `gdb-many-windows': for instance, I could swap *locals* and *output* because *output* window is larger and I care more about *locals*.