From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#44483: 27.1.50; Window parameter `min-margins' doesn't split window in half Date: Mon, 11 Oct 2021 05:35:37 -0700 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" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5731"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux) Cc: Joost Kremers , 44483@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Oct 11 14:36:22 2021 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 1mZuXT-000196-Qu for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 11 Oct 2021 14:36:19 +0200 Original-Received: from localhost ([::1]:58660 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mZuXS-0005VU-My for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 11 Oct 2021 08:36:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44232) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mZuXE-0005Ro-61 for bug-gnu-emacs@gnu.org; Mon, 11 Oct 2021 08:36:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45439) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mZuXC-0003MJ-Sk for bug-gnu-emacs@gnu.org; Mon, 11 Oct 2021 08:36:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mZuXC-0006nJ-PR for bug-gnu-emacs@gnu.org; Mon, 11 Oct 2021 08:36:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 11 Oct 2021 12:36: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.163395574626071 (code B ref 44483); Mon, 11 Oct 2021 12:36:02 +0000 Original-Received: (at 44483) by debbugs.gnu.org; 11 Oct 2021 12:35:46 +0000 Original-Received: from localhost ([127.0.0.1]:56981 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mZuWw-0006mR-C4 for submit@debbugs.gnu.org; Mon, 11 Oct 2021 08:35:46 -0400 Original-Received: from mail-pg1-f170.google.com ([209.85.215.170]:37437) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mZuWt-0006mA-N0 for 44483@debbugs.gnu.org; Mon, 11 Oct 2021 08:35:44 -0400 Original-Received: by mail-pg1-f170.google.com with SMTP id r201so10709177pgr.4 for <44483@debbugs.gnu.org>; Mon, 11 Oct 2021 05:35:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:in-reply-to:references:user-agent :mime-version:date:message-id:subject:to:cc; bh=0oLanbnL+B9R1g639zjBkxEh09bvpk/lIoW0nJWFfus=; b=bEpfytKNgQC2PvemS7CBC0MyFotOfwHck0rZo+bqKtD2B/f+6Q4Cuxjt77R7TWC7Od vCOsHjCzmOFrszFmJm18ds65n0+WXLY09iWsIXmNx6GtM6bUL3bM5d9HuwrbXCbaWQW4 OVAxh/FImREJz8d2zW7Lf0UmGG+SpY4kQISHRaLDNfz1ojiBPidqLT00Uz/kEvW+Sqlt ltwnTPhrJxLCG4NFXI2zTEjCAU0HOrnuX4Gu6gKyKoY64kTq42Gp+5V4jPQ7Vr2E/XJt QeF666VlGYh7KsfR9Ho2bSzU9wXmJd7SlRcblYQhQ2opOieFQJWsJZt0POMOJxgLD2KV 61Vg== X-Gm-Message-State: AOAM531A9N1nZN1EDD1UAjjgB041Et+5+jmZnYYENG0gggO/tMQxRdrC 0XWkin5LPtGw0i9YQixQA0r2NZj6nocYthGlVkw= X-Google-Smtp-Source: ABdhPJzkE0tsFq14At4yLkFluBj+2s0brXJPNxF04Cwnmr/wdhULCF0oj0uSp1M0/QIxFAIhI0fOXZBDrj44tGGOPTU= X-Received: by 2002:a63:d506:: with SMTP id c6mr17878190pgg.42.1633955738060; Mon, 11 Oct 2021 05:35:38 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Mon, 11 Oct 2021 05:35:37 -0700 In-Reply-To: (martin rudalics's message of "Mon, 9 Nov 2020 09:31:20 +0100") 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:216893 Archived-At: martin rudalics writes: >> 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. That was in November last year. Any news here?