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: Fri, 06 Feb 2015 20:14:40 +0100 Message-ID: <877fvun97j.fsf@gmail.com> References: <87h9uynckc.fsf@gmail.com> <83iofedfkz.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1423250327 6056 80.91.229.3 (6 Feb 2015 19:18:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 6 Feb 2015 19:18:47 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 06 20:18:46 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 1YJoQQ-0004FP-7T for ged-emacs-devel@m.gmane.org; Fri, 06 Feb 2015 20:18:46 +0100 Original-Received: from localhost ([::1]:50224 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJoQP-0008QY-HA for ged-emacs-devel@m.gmane.org; Fri, 06 Feb 2015 14:18:45 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50109) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJoQC-0008Q3-8v for emacs-devel@gnu.org; Fri, 06 Feb 2015 14:18:33 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YJoQ9-0003qR-3v for emacs-devel@gnu.org; Fri, 06 Feb 2015 14:18:32 -0500 Original-Received: from mail-we0-x234.google.com ([2a00:1450:400c:c03::234]:44575) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJoQ8-0003qL-TU; Fri, 06 Feb 2015 14:18:29 -0500 Original-Received: by mail-we0-f180.google.com with SMTP id m14so15576225wev.11; Fri, 06 Feb 2015 11:18: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=d2vMZVRx4ki3lXLAIrbw3oCIwIUoTHiTHrxgpXj+cDk=; b=d0V6x1ZsRn/7MRZL/9XL59XhwMog9p4TXcfGuxBG+TRkjI1kgd1/chz/8WL7ZrKXxf 9KzKX9tpUumVCOglyZuse8xMzmfQE94OFlA6XB7l24WfRGtQhBRuFeyGvtmHQFi69BmF aCF+AiaL4pAds+9gbevrlTUXwmQI2aNfDBnTG+cxMfMvMtA4zlreNLAlJzL4/+eT+P6z 4z1wlfZFBi9ACp4V0TlixI7cFdHj71ynjNMj4zHJfmR3/wwiZaY5RIlwB98fnwXFiUVZ V0M3vW/Zni9NRu3QAHJbb3odrvb6AQ7ynAbg8py7z3tN660dwkTrnF/1UfTQoJrnnYLA WIxA== X-Received: by 10.194.192.4 with SMTP id hc4mr10859415wjc.59.1423250308300; Fri, 06 Feb 2015 11:18:28 -0800 (PST) Original-Received: from firefly (dyn069045.nbw.tue.nl. [131.155.69.45]) by mx.google.com with ESMTPSA id vq9sm4576965wjc.6.2015.02.06.11.18.27 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 06 Feb 2015 11:18:27 -0800 (PST) In-Reply-To: <83iofedfkz.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 06 Feb 2015 21:07:08 +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::234 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:182555 Archived-At: Eli Zaretskii writes: >> From: Oleh Krehel >> Date: Fri, 06 Feb 2015 19:02:11 +0100 >> >> I'm not happy with the current state of dedicated windows in gdb. > > Can you elaborate? For example: 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*". >> In any case, could I add a custom variable to completely turn off >> dedicated windows in gdb-mi.el? > > The default is not to display them, so I wonder how come you want them > turned off via defcustom. What am I missing? > > In any case, if you do want to turn them off, we already have a > command to do that: "M-x gdb-many-windows RET". This doesn't work on 24.4.1. Oleh