From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#32825: 27.0.50; Deterministic window management Date: Sun, 28 Oct 2018 00:34:55 +0300 Organization: LINKOV.NET Message-ID: <87o9bf13b4.fsf@mail.linkov.net> References: <874leeaiah.fsf@mail.linkov.net> <5BA9E3B1.9010700@gmx.at> <87bm8lzrfb.fsf@web.de> <5BAA76CF.8010808@gmx.at> <878t3nublx.fsf@mail.linkov.net> <87wor7uqgb.fsf@web.de> <87o9bhkeih.fsf@mail.linkov.net> <87h8h9hk4w.fsf@web.de> <87d0rvb7xg.fsf@mail.linkov.net> <87sh0rkucr.fsf@web.de> <87d0rvqf5r.fsf@mail.linkov.net> <87k1m3krvm.fsf@web.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1540677012 4259 195.159.176.226 (27 Oct 2018 21:50:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 27 Oct 2018 21:50:12 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) Cc: 32825@debbugs.gnu.org To: Michael Heerdegen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Oct 27 23:50:08 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gGWT9-0000yL-Nu for geb-bug-gnu-emacs@m.gmane.org; Sat, 27 Oct 2018 23:50:08 +0200 Original-Received: from localhost ([::1]:37913 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gGWVG-0004gm-4m for geb-bug-gnu-emacs@m.gmane.org; Sat, 27 Oct 2018 17:52:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40488) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gGWV4-0004gb-3I for bug-gnu-emacs@gnu.org; Sat, 27 Oct 2018 17:52:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gGWV0-00088c-RS for bug-gnu-emacs@gnu.org; Sat, 27 Oct 2018 17:52:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:41624) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gGWV0-00088W-Mf for bug-gnu-emacs@gnu.org; Sat, 27 Oct 2018 17:52:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gGWV0-0004Le-Hg for bug-gnu-emacs@gnu.org; Sat, 27 Oct 2018 17:52:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 27 Oct 2018 21:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32825 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 32825-submit@debbugs.gnu.org id=B32825.154067710216674 (code B ref 32825); Sat, 27 Oct 2018 21:52:02 +0000 Original-Received: (at 32825) by debbugs.gnu.org; 27 Oct 2018 21:51:42 +0000 Original-Received: from localhost ([127.0.0.1]:45879 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gGWUf-0004Kr-Rv for submit@debbugs.gnu.org; Sat, 27 Oct 2018 17:51:42 -0400 Original-Received: from catfish.maple.relay.mailchannels.net ([23.83.214.32]:20036) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gGWUe-0004Ki-8H for 32825@debbugs.gnu.org; Sat, 27 Oct 2018 17:51:40 -0400 X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id A6A812811D3; Sat, 27 Oct 2018 21:51:38 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a3.g.dreamhost.com (unknown [100.96.20.98]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 6E182281144; Sat, 27 Oct 2018 21:51:38 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from pdx1-sub0-mail-a3.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.16.2); Sat, 27 Oct 2018 21:51:38 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Hook-Broad: 3fdff6a31a1ca210_1540677098553_1588749020 X-MC-Loop-Signature: 1540677098553:1066067827 X-MC-Ingress-Time: 1540677098553 Original-Received: from pdx1-sub0-mail-a3.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a3.g.dreamhost.com (Postfix) with ESMTP id 153537F6A5; Sat, 27 Oct 2018 14:51:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=linkov.net; bh=iBQG1v16on4ISgn1IFDnPf/Xy+E=; b= lNPBQ4BiAq9eiZMRPE5CfigYQb1xm/FPJvwUPk7qcRh9AmzfCRgUJSB61Sx1RzhI W45n1Al+E97u6uOw6DSD+pcYs90MaFB0O6hwWNo2HflBCYMlPecukWH5SsWKfyhU b0r5xvPMlwGfp0r35dMGLrqvWUuL+GKtlwb9Bdjs7OQ= Original-Received: from mail.jurta.org (m91-129-105-154.cust.tele2.ee [91.129.105.154]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by pdx1-sub0-mail-a3.g.dreamhost.com (Postfix) with ESMTPSA id D8B0B7F6A0; Sat, 27 Oct 2018 14:51:35 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a3 In-Reply-To: <87k1m3krvm.fsf@web.de> (Michael Heerdegen's message of "Sat, 27 Oct 2018 23:21:33 +0200") X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedtkedrheehgddtgecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvpdfftffgtefojffquffvnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvffuohhfffgjkfgfgggtsehttdertddtredtnecuhfhrohhmpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqnecukfhppeeluddruddvledruddthedrudehgeenucfrrghrrghmpehmohguvgepshhmthhppdhhvghlohepmhgrihhlrdhjuhhrthgrrdhorhhgpdhinhgvthepledurdduvdelrddutdehrdduheegpdhrvghtuhhrnhdqphgrthhhpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqpdhmrghilhhfrhhomhepjhhurhhisehlihhnkhhovhdrnhgvthdpnhhrtghpthhtohepmhhitghhrggvlhgphhgvvghruggvghgvnhesfigvsgdruggvnecuvehluhhsthgvrhfuihiivgeptd X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:151717 Archived-At: >> If I understand correctly the logic of display-buffer then yes, >> it should display it below the selected only when there is no >> previous window (and no window is reused). > > That's ok I think. > > How does your change behave when the height of the window below the > selected one is small? Should we specify a minimum height somewhere? Before proposing this change, I extensively tested it with small heights, and I see that in case of small heights, display-buffer-below-selected reuses a window that is below from the selected, that is a good behavior. A minimum height is defined by window-min-height, by default it's 4. But for *Backtrace* maybe we should let-bind a larger value?