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:50:04 +0100 Message-ID: <877fvqc1ar.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> <048211e0-0bf4-4c69-8908-aae20a2e58fb@default> <877fvraq0n.fsf@gmail.com> <013f998a-bd26-4938-9112-30a2e95e8dc4@default> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1423511777 18473 80.91.229.3 (9 Feb 2015 19:56:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 9 Feb 2015 19:56:17 +0000 (UTC) Cc: Eli Zaretskii , thibaut.verron@gmail.com, emacs-devel@gnu.org To: Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 09 20:56:17 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 1YKuRM-0003UN-2q for ged-emacs-devel@m.gmane.org; Mon, 09 Feb 2015 20:56:16 +0100 Original-Received: from localhost ([::1]:34930 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YKuRL-0008Ko-Kp for ged-emacs-devel@m.gmane.org; Mon, 09 Feb 2015 14:56:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53047) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YKuPD-0004wl-6s for emacs-devel@gnu.org; Mon, 09 Feb 2015 14:54:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YKuP8-0006XF-4f for emacs-devel@gnu.org; Mon, 09 Feb 2015 14:54:03 -0500 Original-Received: from mail-wg0-x235.google.com ([2a00:1450:400c:c00::235]:48638) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YKuP7-0006XB-Ur; Mon, 09 Feb 2015 14:53:58 -0500 Original-Received: by mail-wg0-f53.google.com with SMTP id x13so9110854wgg.12; Mon, 09 Feb 2015 11:53:57 -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=7h3OqjU2i+/5mpgSj3y091UuuMntb/7wYUD47E9FgIU=; b=ndwlyxAsjR6FC6eenZ4pCNpIn83FK0tx9+2huOB0PJCQaNWYuvUPKjFoSPiFhzE26A PGBUj5sgHrG/SktBrL3H5bLz+jYqRYGlxSrzQ8jWEgCljMNb89fMEfFovNTO/jj1HdkR lg0OldMVPHHgHvKw1B+SdLgZrSxYwoGxOWM8GXvX3D25OQ/zSayMyD+cj3ATLiX2QV9w 9gaQLuTDclT0ckI8HRece55tPkrpYrdi7B+Sfm7sizju5Lyj98rxrgMl92O+RMdfrVmE 3xfeh7AoStsOqEVDDcT1hcSVOFk9HXI1oiQB6cU5qQV32r1NpVNYzr/Axyu9eUheBJWS gHKw== X-Received: by 10.195.13.168 with SMTP id ez8mr44680294wjd.30.1423511637195; Mon, 09 Feb 2015 11:53:57 -0800 (PST) Original-Received: from firefly (dyn069045.nbw.tue.nl. [131.155.69.45]) by mx.google.com with ESMTPSA id uo6sm17669010wjc.49.2015.02.09.11.53.56 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 09 Feb 2015 11:53:56 -0800 (PST) In-Reply-To: <013f998a-bd26-4938-9112-30a2e95e8dc4@default> (Drew Adams's message of "Mon, 9 Feb 2015 11:44:15 -0800 (PST)") 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::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:182732 Archived-At: Drew Adams writes: >> >> I dislike non-soft dedicated windows because they're bad design. >> > >> > What's the bad design about having such a possibility? >> >> You have a window. You switched to it explicitly. You want to change the >> buffer that's in it, but you can't. > > If you want to change the buffer that's in the window, then you don't > want a (normally) dedicated window. > > That doesn't imply bad design. It just says that you did something > (made the window dedicated) that you didn't want to do. You shot > yourself in the foot. That's just bad aim on the part of the pilot. I just issued "r" in `gdb', nothing else. Zero customizations and a dedicated *output* popped up. > >> To top it off, it looks exactly the same all the other windows, 99.5% of >> which that don't behave this way. > > Not for me, it doesn't. I use options `special-display-frame-alist', > `special-display-buffer-names', and `special-display-regexps'. > > *Messages* corresponds to my value of `special-display-regexps', which > is ("[ ]?[*][^*]+[*]"). As such, it gets a different background color > from my non-special frames. > >> Add even on top that it wasn't you who explicitly specified this >> behavior for your window. This behavior was simply loaded from a >> package. > > Blame that one on the package. If that's true, and it that behavior > is hard-coded and not user-configurable, then THAT is bad design. The patch earlier in the thread attempts to make it user-configurable instead of hard-coded.