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, 04 Nov 2018 23:35:03 +0200 Organization: LINKOV.NET Message-ID: <87wopsjz6k.fsf@mail.linkov.net> References: <874leeaiah.fsf@mail.linkov.net> <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> <87o9bf13b4.fsf@mail.linkov.net> <87d0rvkq01.fsf@web.de> <5BD57C2B.7020109@gmx.at> <87tvl3rvks.fsf@mail.linkov.net> <5BD96392.3040008@gmx.at> <87y3adakkh.fsf@mail.linkov.net> <5BDAC0ED.9030405@gmx.at> <87h8h0juwn.fsf@mail.linkov.net> <5BDC0E38.5020901@gmx.at> <87d0rl7kl1.fsf@mail.linkov.net> <5BDEBD84.7090402@gmx.at> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1541367854 25342 195.159.176.226 (4 Nov 2018 21:44:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 4 Nov 2018 21:44:14 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) Cc: Michael Heerdegen , 32825@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Nov 04 22:44:09 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 1gJQBk-0006RT-Jd for geb-bug-gnu-emacs@m.gmane.org; Sun, 04 Nov 2018 22:44:08 +0100 Original-Received: from localhost ([::1]:60307 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gJQDr-0001LW-2U for geb-bug-gnu-emacs@m.gmane.org; Sun, 04 Nov 2018 16:46:19 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56800) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gJQDf-0001LF-QA for bug-gnu-emacs@gnu.org; Sun, 04 Nov 2018 16:46:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gJQDa-0006uy-R5 for bug-gnu-emacs@gnu.org; Sun, 04 Nov 2018 16:46:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:58303) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gJQDa-0006uq-Lr for bug-gnu-emacs@gnu.org; Sun, 04 Nov 2018 16:46:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gJQDa-00010z-Ig for bug-gnu-emacs@gnu.org; Sun, 04 Nov 2018 16:46:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 04 Nov 2018 21:46: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.15413679343844 (code B ref 32825); Sun, 04 Nov 2018 21:46:02 +0000 Original-Received: (at 32825) by debbugs.gnu.org; 4 Nov 2018 21:45:34 +0000 Original-Received: from localhost ([127.0.0.1]:34327 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gJQD8-0000zw-JE for submit@debbugs.gnu.org; Sun, 04 Nov 2018 16:45:34 -0500 Original-Received: from ladybird.maple.relay.mailchannels.net ([23.83.214.98]:22220) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gJQD7-0000zo-2Y for 32825@debbugs.gnu.org; Sun, 04 Nov 2018 16:45:33 -0500 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 94104122453; Sun, 4 Nov 2018 21:45:31 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a60.g.dreamhost.com (unknown [100.96.36.160]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 5141F1223AA; Sun, 4 Nov 2018 21:45:31 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from pdx1-sub0-mail-a60.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); Sun, 04 Nov 2018 21:45:31 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Average-Shade: 10aa5a9f2a086286_1541367931420_3768719430 X-MC-Loop-Signature: 1541367931420:1852761906 X-MC-Ingress-Time: 1541367931420 Original-Received: from pdx1-sub0-mail-a60.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a60.g.dreamhost.com (Postfix) with ESMTP id 0A0A580279; Sun, 4 Nov 2018 13:45:31 -0800 (PST) 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=2GbYWCfi34+vtC5dspkHH0RXSws=; b= VogR/4/Duvfq7JIgUI7bRWUsqrFBf5XYTHCxJQeJz+TmZt7qFVcCTZVQALmNCHWv mSrYn3f3eznEy2Ep4ElihkOUPLCL0dXqMFzDodHl/lffIru/buKdKR1nJJ5JhMxI OvXltW1YMDynyQjzR/ue61oFGd8SmOULLS0zY7GgXCE= Original-Received: from mail.jurta.org (m91-129-101-157.cust.tele2.ee [91.129.101.157]) (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-a60.g.dreamhost.com (Postfix) with ESMTPSA id 08D6E8026A; Sun, 4 Nov 2018 13:45:28 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a60 In-Reply-To: <5BDEBD84.7090402@gmx.at> (martin rudalics's message of "Sun, 04 Nov 2018 10:36:04 +0100") X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedtkedrjeefgdduheeiucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpffftgfetoffjqffuvfenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufhofhffjgfkfgggtgesthdtredttdertdenucfhrhhomheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqeenucfkphepledurdduvdelrddutddurdduheejnecurfgrrhgrmhepmhhouggvpehsmhhtphdphhgvlhhopehmrghilhdrjhhurhhtrgdrohhrghdpihhnvghtpeeluddruddvledruddtuddrudehjedprhgvthhurhhnqdhprghthheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqedpmhgrihhlfhhrohhmpehjuhhriheslhhinhhkohhvrdhnvghtpdhnrhgtphhtthhopehruhgurghlihgtshesghhmgidrrghtnecuvehluhhsthgvrhfuihiivgeptd 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:152030 Archived-At: >> So please think of any bad consequences of what we decide in (1) like >> not using _any_ window on the selected frame because none of them fits >> the 'min-height' constraint. Consider a default two windows frame >> where the size of the selected window is preserved. > > We should be also able to fix Bug#10186 then. > > BTW, I recently tried to write a function that can be used to return > the specifics of the window chosen by 'display-buffer'. Discussions > of the use of such a function were frequent in the past (bug numbers > 6000, 10127, 10600, 12618, 17809) but we never came to a conclusion of > whether such a thing would be really useful or can be practically > implemented at all. > > Have a look at the patch I attach, it's against the release branch. If I understand correctly the purpose of your function, maybe a better name would be display-buffer-try? Or if it also checks some predefined values, then maybe display-buffer-assert?