From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Joost Kremers Newsgroups: gmane.emacs.bugs Subject: bug#44483: 27.1.50; Window parameter `min-margins' doesn't split window in half Date: Fri, 06 Nov 2020 21:36:41 +0100 Message-ID: <87361mi5nq.fsf@fastmail.fm> References: <87tuu2inkv.fsf@fastmail.fm> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33797"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.5.6; emacs 27.1.50 Cc: 44483@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Nov 06 21:37:27 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kb8UA-0008hm-6P for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 06 Nov 2020 21:37:26 +0100 Original-Received: from localhost ([::1]:42226 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kb8U9-0001Hw-35 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 06 Nov 2020 15:37:25 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52288) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kb8Tm-0001Fj-2C for bug-gnu-emacs@gnu.org; Fri, 06 Nov 2020 15:37:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45879) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kb8Tl-00042J-O0 for bug-gnu-emacs@gnu.org; Fri, 06 Nov 2020 15:37:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kb8Tl-0008Su-K5 for bug-gnu-emacs@gnu.org; Fri, 06 Nov 2020 15:37:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Joost Kremers Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 06 Nov 2020 20:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44483 X-GNU-PR-Package: emacs Original-Received: via spool by 44483-submit@debbugs.gnu.org id=B44483.160469501232521 (code B ref 44483); Fri, 06 Nov 2020 20:37:01 +0000 Original-Received: (at 44483) by debbugs.gnu.org; 6 Nov 2020 20:36:52 +0000 Original-Received: from localhost ([127.0.0.1]:57425 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kb8Tb-0008SS-Qk for submit@debbugs.gnu.org; Fri, 06 Nov 2020 15:36:52 -0500 Original-Received: from out2-smtp.messagingengine.com ([66.111.4.26]:41943) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kb8Ta-0008SE-Gr for 44483@debbugs.gnu.org; Fri, 06 Nov 2020 15:36:51 -0500 Original-Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 2438B5C003A; Fri, 6 Nov 2020 15:36:45 -0500 (EST) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Fri, 06 Nov 2020 15:36:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= references:from:to:cc:subject:in-reply-to:date:message-id :mime-version:content-type; s=fm1; bh=Ai3fZ20YDvhQgLW2yGpVRX+4eM K565MBQbG1RYlPYIo=; b=L7kAhFG7v0NdH4aqYfdDQDc+p2Q5gzESdcHyCLTR5f /L7JowwxeqrrPDZ/VvpglTaNNnIz5pUNz8drJKdg8UbgZ9Kcdi1tanUO08ewFfWP kJWIF/tbPdhJR2UFWm8QVp1j+i9OxCzEKONF3JAo1LTocrolFveKdTCsLJrJaUpk rRg/Zhbw2OcS4xBRW47pSIQBWq9lPrkR4py9wD9aoyl/SAw2MKzXywnFxeD0M1/c C4wG+pBGfQDfmcKRKXHjVZC99YqiHlaHSDzB70ipBuLSZFjuW4gtvBFWdg94EF02 AnPQqTREk3mn4d4RBcVGzRY9rCprntGJuLl5Q4+hqa5w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=Ai3fZ2 0YDvhQgLW2yGpVRX+4eMK565MBQbG1RYlPYIo=; b=GoyN2tsViMeeKctH3HPkes u+0knOj8YzmFutbmvziGrL/vDyLrZWezX6A3jrmkPvQ4zld2KG4mNeVIlinxHYXO PSKhX2kR9biVI+wV3GpuA7L9Z2h/NdCAs5abweNp3Qkn3BGYXtUyN+yN5VVCFIs5 rSlcBwvN/4PdPGPRG8FXM7Vs5OArf+Zt/F9OD2IbxHuI8M7M5nglpgD4Etzhsip5 4zz4bnshrNlbVMKzAe2G+CRAc4Me6pVtKlKqlr5xrs2IXl7XW1Yv+h1y3QFOzFlD /ZDyaY8z7PLR0QzK8+hN55pD5rJjEN0/+7FyIepvxLc7vT6dlT+A+3uDkQpBOhxw == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedruddtledgudegfecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpehffgfhvffujgffkfggtgesthdtredttdertdenucfhrhhomheplfhoohhs thcumfhrvghmvghrshcuoehjohhoshhtkhhrvghmvghrshesfhgrshhtmhgrihhlrdhfmh eqnecuggftrfgrthhtvghrnhephfduffeuhfdulefhgfelueekgeduveettdduudfhfeet ueegvdevtdduudfgffefnecukfhppeelhedrledtrddvvdegrddvfeefnecuvehluhhsth gvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepjhhoohhsthhkrhgvmhgv rhhssehfrghsthhmrghilhdrfhhm X-ME-Proxy: Original-Received: from Swift.fastmail.com (ip5f5ae0e9.dynamic.kabel-deutschland.de [95.90.224.233]) by mail.messagingengine.com (Postfix) with ESMTPA id 05BDC3060060; Fri, 6 Nov 2020 15:36:43 -0500 (EST) In-reply-to: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:192799 Archived-At: On Fri, Nov 06 2020, martin rudalics wrote: > The problem is that when we split the original window, the new window > does not get its 'min-margins' parameter set and the subsequent > sanitizing step screws up things. Please try the attached patch. Yes, the patch appears to work. After applying it, splitting a window gives me a 50/50 split. (I tried several times.) > And please look also into what happens when you shrink a frame with such > large margins to a size that won't accommodate those margins any more > unless they get shrunk. I'm afraid that the subsequent sanitizing step > might cause troubles there as well. I'm not seeing anything unexpected here, but I'm not sure what I should be looking at. -- Joost Kremers Life has its moments