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 18:22:25 +0100 Message-ID: <87sief9ezy.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> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1423502952 30275 80.91.229.3 (9 Feb 2015 17:29:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 9 Feb 2015 17:29:12 +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 18:29:07 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 1YKs8v-0007CQ-8J for ged-emacs-devel@m.gmane.org; Mon, 09 Feb 2015 18:29:05 +0100 Original-Received: from localhost ([::1]:34189 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YKs8u-00014o-Pe for ged-emacs-devel@m.gmane.org; Mon, 09 Feb 2015 12:29:04 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37192) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YKs6I-0004iz-Hq for emacs-devel@gnu.org; Mon, 09 Feb 2015 12:26:23 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YKs6E-0005Sk-Hk for emacs-devel@gnu.org; Mon, 09 Feb 2015 12:26:22 -0500 Original-Received: from mail-we0-x231.google.com ([2a00:1450:400c:c03::231]:46230) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YKs6E-0005ST-9g; Mon, 09 Feb 2015 12:26:18 -0500 Original-Received: by mail-we0-f177.google.com with SMTP id l61so28281504wev.8; Mon, 09 Feb 2015 09:26:17 -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=UL7rls21ylPHQ2uX3nBvd1J0xfRWtZeYMQBKo+tI9gM=; b=oDv7L8uv2TTb8P1ktaOTy1gvISvdvy+zDgP4ZWuS9nCVrjrYdlKh+RAW6dPXwI19m+ mKgLX718Df/MlUNh9e9fL3uyK4PL1rb7ei3LS2J3xvymysBxYHVzcPD54kZCgIpcoKkC gErlwuH3R3p+LSz1QhwXS8dFtK5+hJUoLcg+9NiozQfxRwO3gJZES9j6U7VzsYhY113a 1GcbTUkYxMLcmM3R0dD0Es9HFI7vLISa6l2s6HCslXaP+WdUrQ/9JErYdbjiiQyRcK7+ eNbrHyzDDO86XN0PudC5BVsuNMt6XhVEt/v649AXV2V+prOo4z5DYhbjo4Y80Su0WFbz Z6mA== X-Received: by 10.194.94.164 with SMTP id dd4mr43820763wjb.56.1423502777724; Mon, 09 Feb 2015 09:26:17 -0800 (PST) Original-Received: from firefly (dyn069045.nbw.tue.nl. [131.155.69.45]) by mx.google.com with ESMTPSA id u9sm17200237wjy.37.2015.02.09.09.26.16 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 09 Feb 2015 09:26:17 -0800 (PST) In-Reply-To: <837fvr9frq.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 09 Feb 2015 19:05:45 +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::231 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:182712 Archived-At: 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. > And I still don't understand why you must switch buffers in that > specific window. Because I _don't want_ to see a window that I don't want to see, *output* in this case. I like to have complete control over all my Emacs windows at all time, with no irrelevant windows to annoy me. >> 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? I can set the flag to 'soft, and you can keep it t. Oleh