From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#44483: 27.1.50; Window parameter `min-margins' doesn't split window in half Date: Mon, 9 Nov 2020 09:31:20 +0100 Message-ID: References: <87tuu2inkv.fsf@fastmail.fm> <87361mi5nq.fsf@fastmail.fm> <0f516ef7-2ebc-bdd0-b672-708a63bcd475@gmx.at> <87pn4nevws.fsf@fastmail.fm> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30635"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 44483@debbugs.gnu.org To: Joost Kremers Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Nov 09 09:32:49 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 1kc2bX-0007sG-Tc for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 09 Nov 2020 09:32:47 +0100 Original-Received: from localhost ([::1]:57184 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kc2bW-0001q5-Mh for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 09 Nov 2020 03:32:46 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44574) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kc2ao-0001pg-Pl for bug-gnu-emacs@gnu.org; Mon, 09 Nov 2020 03:32:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50555) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kc2ao-0001hD-FU for bug-gnu-emacs@gnu.org; Mon, 09 Nov 2020 03:32:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kc2ao-0003Or-BR for bug-gnu-emacs@gnu.org; Mon, 09 Nov 2020 03:32:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 09 Nov 2020 08:32:02 +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.160491069413034 (code B ref 44483); Mon, 09 Nov 2020 08:32:02 +0000 Original-Received: (at 44483) by debbugs.gnu.org; 9 Nov 2020 08:31:34 +0000 Original-Received: from localhost ([127.0.0.1]:33868 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kc2aL-0003OA-NG for submit@debbugs.gnu.org; Mon, 09 Nov 2020 03:31:34 -0500 Original-Received: from mout.gmx.net ([212.227.17.20]:34145) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kc2aJ-0003Nv-0l for 44483@debbugs.gnu.org; Mon, 09 Nov 2020 03:31:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1604910682; bh=TueeceKekR6sj8r3/dz945TG2+q0UtyncbXmkoWgKaE=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=hvWHFkbtgynwqBvDRFqfO+cqETMRxUNljN2JcstLFNHKS8vtxXXHT/czf29suLM1n J1JxUA+UVR8U/k9/Q1zueTbhzYzNjq0yeEYPdMSmuSCPyCYsEIEqWkT4kke5hUEw5I 5hLZz80gW5pk+9WBx5mGEyj/tklvOmZEt4r6A5yg= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [192.168.1.102] ([212.95.5.15]) by mail.gmx.com (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1N4zAy-1kCUvN3b5o-010uPC; Mon, 09 Nov 2020 09:31:21 +0100 In-Reply-To: <87pn4nevws.fsf@fastmail.fm> Content-Language: en-US X-Provags-ID: V03:K1:Q5Zo98t36/t1vsjj4EI+VBKCT3VyB+bCvmm+fnXXQkgun11xYjh xeP4gPQK2auDqkE5quFdZt7z5BmZB4OMsa3LYqeUlzs/aPDzhunFz6H3AxhxTR1rEiIlfb7 LbUQ6enyEg+Fu3eYu0KTTBJ0pkG2vLvbZmrjPyUIOT3OyZrSJPlQHXj1LYTnX/8sN+X+JZ1 0TWPqEuACxtTRIBJ+GRzQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:MxskIiUWbWs=:36gcqp7nPJUcvnKj9MCysd DVl/yi91cxaNQzNceMdWTjZMqI96syvF/d2FMDBrFfQkCgAiqDX24beGbokfi3FOuCn9kJF+p YCF6SQjuKIF0s7XbcL7DNLortIJx4PvpQYe4EWPm3KzwFI62iXpDP5uEfmC/9n722Rn3tFzMp uIQ1g4M+OvjKCTHuBoLPb6E88WpPK9HEwGLKAkp2vUuq7u2x4kPJ/xyr73DQEz0Tq7ogQsRUG pEo6rofW8AnJJiaFjzl/AsX1ZHGiV3w1WrTKZxle7GQfeD4xCaSzM2n0DlxsEZ8iYY+v/HxP0 IgaFa4pUzkCncoxvKv1jxVOV+SwVrZ+zdw4yug+BpYRhqXRVWvWZbFESm4b1EuoLB0q24RXGs N0FNhAjMVexmphM92jVRoeDO7L5jkScYi1VVN5z8wrDCt/wmjZmia0mmCjvAh0iipA25L7f3T juXUl290KUiR5tmId5tJKYALW06LbInWPrrQXFSG6xHaz/QOLNK089D1Ytuvp2lgFm1UO/S0o T15eSfAcLfirxV2QdgwCdlYre++RWgCWgM9t78WO6mDqqOG96e7GmgSjkV+hwYo0AsVstLd9Z wcmrXyJiISC4kDflzwJ/cnv+F7ZKvSpxf+oAo5TI7fMR0Lw/7ceZITvbFPKLSl6BHqsBLjd3G JJq6dF12/IelzXAk35+nSeHH/WOjW8EkPLY0PXj2jo6hraTsbOV5tbb2EB92dTPxRypDshwZV +myIcKkeWOFTTfAsanF0bh8AQxVDdNDMBmQS/Eb6OFBf/rLplQ4f9EkVDw+2ky3UozyMIyok 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:192913 Archived-At: > AFAIR, the first time I heard about the `min-margins' parameter was when I > looked at the release notes of Emacs 25 after it came out. I don't remember why > I didn't try it out immediately, but after that, I probably forgot about it, > until a bug report I got a week ago. > > Paul Rankin did add `min-margins' to his `olivetti' package, but he didn't > remove the pre-25 workaround that uses the `split-window' window parameter, so > the problem probably never showed up. You're right. It was Paul, who said that he didn't need 'min-margins' and never reported whether they worked at all. Sorry for the confusion but I lost my recordings of past conversations. >> In Emacs 28 I intend to remove sanity checks entirely and always >> auto-shrink margins when they don't fit into a window any more. Windows >> will also have a configurable minimum body width so the behavior seen >> now where the entire buffer text disappears can be easily avoided. > > OK, so yet another way of doing things. :-) Sounds like it would make my life a > little easier, though. It's pretty hard to accommodate all expectations here. Consider a user who wants line numbers to remain visible even if everything else has disappeared after a window has shrunk: With line numbers displayed in margins, margins should prevail. With display-line-numbers, buffer text should prevail. A minimum body width will help users to make that decision. Yet users still have to interfere "manually" in order to communicate their intentions to Emacs. > Feel free to let me know when you implement it. I don't normally follow > development that closely, but in this case I'd be interested to test the new way > of doing things before the official release. I'll send you a patch as soon as I consider it stable enough. martin