From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 06 09:09:50 2020 Received: (at submit) by debbugs.gnu.org; 6 Nov 2020 14:09:50 +0000 Received: from localhost ([127.0.0.1]:55435 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kb2R3-0006kg-8f for submit@debbugs.gnu.org; Fri, 06 Nov 2020 09:09:50 -0500 Received: from lists.gnu.org ([209.51.188.17]:37634) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kb2R1-0006kW-1f for submit@debbugs.gnu.org; Fri, 06 Nov 2020 09:09:48 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:48898) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kb2R0-0000EG-T5 for bug-gnu-emacs@gnu.org; Fri, 06 Nov 2020 09:09:46 -0500 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]:46019) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kb2Qw-0006io-FK for bug-gnu-emacs@gnu.org; Fri, 06 Nov 2020 09:09:46 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 0D2601343 for ; Fri, 6 Nov 2020 09:09:40 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Fri, 06 Nov 2020 09:09:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= from:to:subject:date:message-id:mime-version:content-type; s= fm1; bh=jd7AkW79j/Me/FUVf+b4W1ZU339VsN0UK1gzcoCeWcM=; b=OO6Wwcte hfpVtMQqMQ4/0gIRlgrNP8QpGqXDmTdYo7BWpucU6PCXmVY0h9/xzpEWeuUtMYSD pyvG0hWCMn0y2kysgxxAh6IKdotthgPH5S5TLhHCWG6xEp3CzSdbL6RrmBqS2IG3 /lX4yfyis45GWRJUnUhgaHDJ68cSnTI5Bklmm31lwc9SctYaivV3WzpJeGQRYY2W DAs8Sd//X0dfM8rHLwc/r71PSu5tIvfn+V0QUJFCXucPopvCHuM0BOi1nUu8ssG2 nbdQyrImQevVt8iPhrQEtQIh161JWxuGBoPRiSpFy0PkeDVq/E0pvc2LO+r9DbKW dfeGZI8NVNLkTA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=jd7AkW79j/Me/FUVf+b4W1ZU339Vs N0UK1gzcoCeWcM=; b=BuOT5iuBCM5V7+9bMil0rJZCMdeHFhAeow4so9E8fXKb4 vHI03ZvqVd+ndTL7lqHTao5MJVwo453MwXVYjORCItUxnDQrBkC8fIfBi1dL8y7w pybDbtSxJmmk6xSKqKNIy0Jw3K+TfCVPkXJO9M4S6if8AgGfV3gjmPfGhW/gqgYu VWnrP5zx9wyZLzuUtBuGahjWEcF4l5QaX0SFDcOHw5G5EtoZuKTGWN6AM2fy8wBz VVRJxuTaOtJXpXIi0Vkxxo/NFmTwuVFzaogxJv74ZQ/1BRgxtfXtodsOkYeT+rN9 zn2skHJDPoJMQ6sq+rCq0TaXBcgsgMBL8hT7TUMOQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedruddtledgieefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpegfhffvufffkfggtgesthdtredttd ertdenucfhrhhomheplfhoohhsthcumfhrvghmvghrshcuoehjohhoshhtkhhrvghmvghr shesfhgrshhtmhgrihhlrdhfmheqnecuggftrfgrthhtvghrnhepvdevfeefheeigffhtd etvedtiefhfeeutefhleefvdeuhfehkedtvedugeegjedtnecuffhomhgrihhnpehgihht hhhusgdrtghomhdpghhnuhdrohhrghenucfkphepleehrdeltddrvddvgedrvdeffeenuc evlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehjohhoshht khhrvghmvghrshesfhgrshhtmhgrihhlrdhfmh X-ME-Proxy: Received: from Swift.fastmail.com (unknown [95.90.224.233]) by mail.messagingengine.com (Postfix) with ESMTPA id 383F93060065 for ; Fri, 6 Nov 2020 09:09:39 -0500 (EST) User-agent: mu4e 1.5.6; emacs 27.1.50 From: Joost Kremers To: bug-gnu-emacs@gnu.org Subject: 27.1.50; Window parameter `min-margins' doesn't split window in half Date: Fri, 06 Nov 2020 15:09:36 +0100 Message-ID: <87tuu2inkv.fsf@fastmail.fm> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=64.147.123.19; envelope-from=joostkremers@fastmail.fm; helo=wout3-smtp.messagingengine.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/06 07:37:27 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.4 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) 1. Open any text file, preferably with long lines (to better see the effect). 2. `M-x visual-line-mode RET` 3. `M-: (set-window-margins (selected-window) 0 150) RET` The number 150 is arbitrary. It's appropriate for my case (with a frame width of about 238 characters). 4. `M-: (set-window-parameter (selected-window) 'min-margins '(0 . 0)) RET` 5. `C-x 3` At this point, I expect the window to be split into two equally-sized side-by-side windows, but the split is at about one third of the original window width. Note that in this recipe, the margins of the two windows aren't adjusted after the split, so in the left window the text is not visible at all and in the right window, the text area is two characters wide. (In my case, YMMV.) The original problem came up with my package `visual-fill-column-mode' , where the margins are adjusted (using `window-size-change-functions'). See also my message to emacs-devel . In GNU Emacs 27.1.50 (build 4, x86_64-pc-linux-gnu, GTK+ Version 3.22.30, cairo version 1.15.10) of 2020-11-02 built on Swift Repository revision: 4e6104ea0b7f1eb1725e81800e584b337e2da447 Repository branch: emacs-27 Windowing system distributor 'The X.Org Foundation', version 11.0.11906000 System Description: elementary OS 5.1.7 Hera Recent messages: Mark set Saving file /home/joost/Mail/Fastmail/Drafts/cur/1604669952.6d948821c1a4250c.swift:2,DS... Wrote /home/joost/Mail/Fastmail/Drafts/cur/1604669952.6d948821c1a4250c.swift:2,DS [mu4e] Saved (10 lines) Ispell process killed Local Ispell dictionary set to en_GB Detected language: English Starting new Ispell process /usr/bin/aspell with en_GB dictionary...done [2 times] Detected language: English Mark set Configured using: 'configure --with-harfbuzz --with-cairo --with-json --with-libgmp' Configured features: XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND DBUS GSETTINGS GLIB NOTIFY INOTIFY GNUTLS LIBXML2 FREETYPE HARFBUZZ ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS JSON PDUMPER LCMS2 GMP Important settings: value of $LC_MONETARY: en_IE.UTF-8 value of $LC_NUMERIC: en_IE.UTF-8 value of $LC_TIME: en_IE.UTF-8 value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: IELM Minor modes in effect: flycheck-indicator-mode: t org-roam-mode: t company-box-mode: t minions-mode: t doom-modeline-mode: t which-key-mode: t global-undo-tree-mode: t undo-tree-mode: t global-atomic-chrome-edit-mode: t ivy-mode: t pyvenv-tracking-mode: t projectile-mode: t global-diff-hl-mode: t async-bytecomp-package-mode: t electric-pair-mode: t shell-dirtrack-mode: t volatile-highlights-mode: t company-quickhelp-mode: t company-quickhelp-local-mode: t global-company-mode: t company-mode: t recentf-mode: t delete-selection-mode: t show-paren-mode: t override-global-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t auto-save-visited-mode: t Load-path shadows: ~/src/ledger-mode/ledger-reconcile hides /home/joost/.emacs.d/elpa/ledger-mode-20200530.1710/ledger-reconcile ~/src/ledger-mode/ledger-test hides /home/joost/.emacs.d/elpa/ledger-mode-20200530.1710/ledger-test ~/src/ledger-mode/ledger-navigate hides /home/joost/.emacs.d/elpa/ledger-mode-20200530.1710/ledger-navigate ~/src/ledger-mode/ledger-report hides /home/joost/.emacs.d/elpa/ledger-mode-20200530.1710/ledger-report ~/src/ledger-mode/ledger-check hides /home/joost/.emacs.d/elpa/ledger-mode-20200530.1710/ledger-check ~/src/ledger-mode/ledger-post hides /home/joost/.emacs.d/elpa/ledger-mode-20200530.1710/ledger-post ~/src/ledger-mode/ledger-mode hides /home/joost/.emacs.d/elpa/ledger-mode-20200530.1710/ledger-mode ~/src/ledger-mode/ledger-xact hides /home/joost/.emacs.d/elpa/ledger-mode-20200530.1710/ledger-xact ~/src/ledger-mode/ledger-complete hides /home/joost/.emacs.d/elpa/ledger-mode-20200530.1710/ledger-complete ~/src/ledger-mode/ledger-occur hides /home/joost/.emacs.d/elpa/ledger-mode-20200530.1710/ledger-occur ~/src/ledger-mode/ledger-schedule hides /home/joost/.emacs.d/elpa/ledger-mode-20200530.1710/ledger-schedule ~/src/ledger-mode/ledger-sort hides /home/joost/.emacs.d/elpa/ledger-mode-20200530.1710/ledger-sort ~/src/ledger-mode/ledger-regex hides /home/joost/.emacs.d/elpa/ledger-mode-20200530.1710/ledger-regex ~/src/ledger-mode/ledger-commodities hides /home/joost/.emacs.d/elpa/ledger-mode-20200530.1710/ledger-commodities ~/src/ledger-mode/ledger-fontify hides /home/joost/.emacs.d/elpa/ledger-mode-20200530.1710/ledger-fontify ~/src/ledger-mode/ledger-fonts hides /home/joost/.emacs.d/elpa/ledger-mode-20200530.1710/ledger-fonts ~/src/ledger-mode/ledger-init hides /home/joost/.emacs.d/elpa/ledger-mode-20200530.1710/ledger-init ~/src/ledger-mode/ledger-state hides /home/joost/.emacs.d/elpa/ledger-mode-20200530.1710/ledger-state ~/src/ledger-mode/ledger-exec hides /home/joost/.emacs.d/elpa/ledger-mode-20200530.1710/ledger-exec ~/src/ledger-mode/ledger-context hides /home/joost/.emacs.d/elpa/ledger-mode-20200530.1710/ledger-context ~/src/ledger-mode/ledger-flymake hides /home/joost/.emacs.d/elpa/ledger-mode-20200530.1710/ledger-flymake ~/src/ledger-mode/ledger-texi hides /home/joost/.emacs.d/elpa/ledger-mode-20200530.1710/ledger-texi /home/joost/.emacs.d/elpa/auth-source-pass-20201012.1918/auth-source-pass hides /usr/local/share/emacs/27.1.50/lisp/auth-source-pass ~/.emacs.d/lisp/custom hides /usr/local/share/emacs/27.1.50/lisp/custom /home/joost/.emacs.d/elpa/org-20201102/ob-clojure hides /usr/local/share/emacs/27.1.50/lisp/org/ob-clojure /home/joost/.emacs.d/elpa/org-20201102/org-tempo hides /usr/local/share/emacs/27.1.50/lisp/org/org-tempo /home/joost/.emacs.d/elpa/org-20201102/ol-docview hides /usr/local/share/emacs/27.1.50/lisp/org/ol-docview /home/joost/.emacs.d/elpa/org-20201102/ob-css hides /usr/local/share/emacs/27.1.50/lisp/org/ob-css /home/joost/.emacs.d/elpa/org-20201102/ob-vala hides /usr/local/share/emacs/27.1.50/lisp/org/ob-vala /home/joost/.emacs.d/elpa/org-20201102/ob-table hides /usr/local/share/emacs/27.1.50/lisp/org/ob-table /home/joost/.emacs.d/elpa/org-20201102/ob-R hides /usr/local/share/emacs/27.1.50/lisp/org/ob-R /home/joost/.emacs.d/elpa/org-20201102/ob-exp hides /usr/local/share/emacs/27.1.50/lisp/org/ob-exp /home/joost/.emacs.d/elpa/org-20201102/ob-io hides /usr/local/share/emacs/27.1.50/lisp/org/ob-io /home/joost/.emacs.d/elpa/org-20201102/ob-picolisp hides /usr/local/share/emacs/27.1.50/lisp/org/ob-picolisp /home/joost/.emacs.d/elpa/org-20201102/ob-scheme hides /usr/local/share/emacs/27.1.50/lisp/org/ob-scheme /home/joost/.emacs.d/elpa/org-20201102/org-archive hides /usr/local/share/emacs/27.1.50/lisp/org/org-archive /home/joost/.emacs.d/elpa/org-20201102/org-plot hides /usr/local/share/emacs/27.1.50/lisp/org/org-plot /home/joost/.emacs.d/elpa/org-20201102/org-element hides /usr/local/share/emacs/27.1.50/lisp/org/org-element /home/joost/.emacs.d/elpa/org-20201102/ob-tangle hides /usr/local/share/emacs/27.1.50/lisp/org/ob-tangle /home/joost/.emacs.d/elpa/org-20201102/ob-groovy hides /usr/local/share/emacs/27.1.50/lisp/org/ob-groovy /home/joost/.emacs.d/elpa/org-20201102/ob-latex hides /usr/local/share/emacs/27.1.50/lisp/org/ob-latex /home/joost/.emacs.d/elpa/org-20201102/ob-maxima hides /usr/local/share/emacs/27.1.50/lisp/org/ob-maxima /home/joost/.emacs.d/elpa/org-20201102/org-duration hides /usr/local/share/emacs/27.1.50/lisp/org/org-duration /home/joost/.emacs.d/elpa/org-20201102/ob-matlab hides /usr/local/share/emacs/27.1.50/lisp/org/ob-matlab /home/joost/.emacs.d/elpa/org-20201102/ob-screen hides /usr/local/share/emacs/27.1.50/lisp/org/ob-screen /home/joost/.emacs.d/elpa/org-20201102/ob-lilypond hides /usr/local/share/emacs/27.1.50/lisp/org/ob-lilypond /home/joost/.emacs.d/elpa/org-20201102/ob-processing hides /usr/local/share/emacs/27.1.50/lisp/org/ob-processing /home/joost/.emacs.d/elpa/org-20201102/org-habit hides /usr/local/share/emacs/27.1.50/lisp/org/org-habit /home/joost/.emacs.d/elpa/org-20201102/ol-mhe hides /usr/local/share/emacs/27.1.50/lisp/org/ol-mhe /home/joost/.emacs.d/elpa/org-20201102/ob hides /usr/local/share/emacs/27.1.50/lisp/org/ob /home/joost/.emacs.d/elpa/org-20201102/org-colview hides /usr/local/share/emacs/27.1.50/lisp/org/org-colview /home/joost/.emacs.d/elpa/org-20201102/org-protocol hides /usr/local/share/emacs/27.1.50/lisp/org/org-protocol /home/joost/.emacs.d/elpa/org-20201102/org-compat hides /usr/local/share/emacs/27.1.50/lisp/org/org-compat /home/joost/.emacs.d/elpa/org-20201102/ob-ditaa hides /usr/local/share/emacs/27.1.50/lisp/org/ob-ditaa /home/joost/.emacs.d/elpa/org-20201102/ob-forth hides /usr/local/share/emacs/27.1.50/lisp/org/ob-forth /home/joost/.emacs.d/elpa/org-20201102/org-indent hides /usr/local/share/emacs/27.1.50/lisp/org/org-indent /home/joost/.emacs.d/elpa/org-20201102/ox-texinfo hides /usr/local/share/emacs/27.1.50/lisp/org/ox-texinfo /home/joost/.emacs.d/elpa/org-20201102/ob-ocaml hides /usr/local/share/emacs/27.1.50/lisp/org/ob-ocaml /home/joost/.emacs.d/elpa/org-20201102/ob-lua hides /usr/local/share/emacs/27.1.50/lisp/org/ob-lua /home/joost/.emacs.d/elpa/org-20201102/ol hides /usr/local/share/emacs/27.1.50/lisp/org/ol /home/joost/.emacs.d/elpa/org-20201102/org-macro hides /usr/local/share/emacs/27.1.50/lisp/org/org-macro /home/joost/.emacs.d/elpa/org-20201102/ob-eshell hides /usr/local/share/emacs/27.1.50/lisp/org/ob-eshell /home/joost/.emacs.d/elpa/org-20201102/ob-lob hides /usr/local/share/emacs/27.1.50/lisp/org/ob-lob /home/joost/.emacs.d/elpa/org-20201102/ox-org hides /usr/local/share/emacs/27.1.50/lisp/org/ox-org /home/joost/.emacs.d/elpa/org-20201102/ob-awk hides /usr/local/share/emacs/27.1.50/lisp/org/ob-awk /home/joost/.emacs.d/elpa/org-20201102/org-table hides /usr/local/share/emacs/27.1.50/lisp/org/org-table /home/joost/.emacs.d/elpa/org-20201102/org-clock hides /usr/local/share/emacs/27.1.50/lisp/org/org-clock /home/joost/.emacs.d/elpa/org-20201102/org-keys hides /usr/local/share/emacs/27.1.50/lisp/org/org-keys /home/joost/.emacs.d/elpa/org-20201102/ob-mscgen hides /usr/local/share/emacs/27.1.50/lisp/org/ob-mscgen /home/joost/.emacs.d/elpa/org-20201102/ox-md hides /usr/local/share/emacs/27.1.50/lisp/org/ox-md /home/joost/.emacs.d/elpa/org-20201102/ob-lisp hides /usr/local/share/emacs/27.1.50/lisp/org/ob-lisp /home/joost/.emacs.d/elpa/org-20201102/ob-abc hides /usr/local/share/emacs/27.1.50/lisp/org/ob-abc /home/joost/.emacs.d/elpa/org-20201102/org-mobile hides /usr/local/share/emacs/27.1.50/lisp/org/org-mobile /home/joost/.emacs.d/elpa/org-20201102/ob-J hides /usr/local/share/emacs/27.1.50/lisp/org/ob-J /home/joost/.emacs.d/elpa/org-20201102/ol-eww hides /usr/local/share/emacs/27.1.50/lisp/org/ol-eww /home/joost/.emacs.d/elpa/org-20201102/org-inlinetask hides /usr/local/share/emacs/27.1.50/lisp/org/org-inlinetask /home/joost/.emacs.d/elpa/org-20201102/ob-js hides /usr/local/share/emacs/27.1.50/lisp/org/ob-js /home/joost/.emacs.d/elpa/org-20201102/ob-hledger hides /usr/local/share/emacs/27.1.50/lisp/org/ob-hledger /home/joost/.emacs.d/elpa/org-20201102/ob-octave hides /usr/local/share/emacs/27.1.50/lisp/org/ob-octave /home/joost/.emacs.d/elpa/org-20201102/ob-haskell hides /usr/local/share/emacs/27.1.50/lisp/org/ob-haskell /home/joost/.emacs.d/elpa/org-20201102/org hides /usr/local/share/emacs/27.1.50/lisp/org/org /home/joost/.emacs.d/elpa/org-20201102/ob-sed hides /usr/local/share/emacs/27.1.50/lisp/org/ob-sed /home/joost/.emacs.d/elpa/org-20201102/ob-asymptote hides /usr/local/share/emacs/27.1.50/lisp/org/ob-asymptote /home/joost/.emacs.d/elpa/org-20201102/ob-org hides /usr/local/share/emacs/27.1.50/lisp/org/ob-org /home/joost/.emacs.d/elpa/org-20201102/org-loaddefs hides /usr/local/share/emacs/27.1.50/lisp/org/org-loaddefs /home/joost/.emacs.d/elpa/org-20201102/org-mouse hides /usr/local/share/emacs/27.1.50/lisp/org/org-mouse /home/joost/.emacs.d/elpa/org-20201102/org-feed hides /usr/local/share/emacs/27.1.50/lisp/org/org-feed /home/joost/.emacs.d/elpa/org-20201102/ox-beamer hides /usr/local/share/emacs/27.1.50/lisp/org/ox-beamer /home/joost/.emacs.d/elpa/org-20201102/ol-bbdb hides /usr/local/share/emacs/27.1.50/lisp/org/ol-bbdb /home/joost/.emacs.d/elpa/org-20201102/org-ctags hides /usr/local/share/emacs/27.1.50/lisp/org/org-ctags /home/joost/.emacs.d/elpa/org-20201102/ol-eshell hides /usr/local/share/emacs/27.1.50/lisp/org/ol-eshell /home/joost/.emacs.d/elpa/org-20201102/ol-bibtex hides /usr/local/share/emacs/27.1.50/lisp/org/ol-bibtex /home/joost/.emacs.d/elpa/org-20201102/ob-ledger hides /usr/local/share/emacs/27.1.50/lisp/org/ob-ledger /home/joost/.emacs.d/elpa/org-20201102/org-install hides /usr/local/share/emacs/27.1.50/lisp/org/org-install /home/joost/.emacs.d/elpa/org-20201102/ox-icalendar hides /usr/local/share/emacs/27.1.50/lisp/org/ox-icalendar /home/joost/.emacs.d/elpa/org-20201102/org-datetree hides /usr/local/share/emacs/27.1.50/lisp/org/org-datetree /home/joost/.emacs.d/elpa/org-20201102/ob-emacs-lisp hides /usr/local/share/emacs/27.1.50/lisp/org/ob-emacs-lisp /home/joost/.emacs.d/elpa/org-20201102/ob-dot hides /usr/local/share/emacs/27.1.50/lisp/org/ob-dot /home/joost/.emacs.d/elpa/org-20201102/ox-publish hides /usr/local/share/emacs/27.1.50/lisp/org/ox-publish /home/joost/.emacs.d/elpa/org-20201102/ob-sass hides /usr/local/share/emacs/27.1.50/lisp/org/ob-sass /home/joost/.emacs.d/elpa/org-20201102/ox hides /usr/local/share/emacs/27.1.50/lisp/org/ox /home/joost/.emacs.d/elpa/org-20201102/ob-stan hides /usr/local/share/emacs/27.1.50/lisp/org/ob-stan /home/joost/.emacs.d/elpa/org-20201102/org-attach hides /usr/local/share/emacs/27.1.50/lisp/org/org-attach /home/joost/.emacs.d/elpa/org-20201102/ob-shen hides /usr/local/share/emacs/27.1.50/lisp/org/ob-shen /home/joost/.emacs.d/elpa/org-20201102/ol-irc hides /usr/local/share/emacs/27.1.50/lisp/org/ol-irc /home/joost/.emacs.d/elpa/org-20201102/ob-java hides /usr/local/share/emacs/27.1.50/lisp/org/ob-java /home/joost/.emacs.d/elpa/org-20201102/org-crypt hides /usr/local/share/emacs/27.1.50/lisp/org/org-crypt /home/joost/.emacs.d/elpa/org-20201102/ob-plantuml hides /usr/local/share/emacs/27.1.50/lisp/org/ob-plantuml /home/joost/.emacs.d/elpa/org-20201102/ob-ruby hides /usr/local/share/emacs/27.1.50/lisp/org/ob-ruby /home/joost/.emacs.d/elpa/org-20201102/ob-ref hides /usr/local/share/emacs/27.1.50/lisp/org/ob-ref /home/joost/.emacs.d/elpa/org-20201102/org-attach-git hides /usr/local/share/emacs/27.1.50/lisp/org/org-attach-git /home/joost/.emacs.d/elpa/org-20201102/ob-sqlite hides /usr/local/share/emacs/27.1.50/lisp/org/ob-sqlite /home/joost/.emacs.d/elpa/org-20201102/ob-ebnf hides /usr/local/share/emacs/27.1.50/lisp/org/ob-ebnf /home/joost/.emacs.d/elpa/org-20201102/ob-calc hides /usr/local/share/emacs/27.1.50/lisp/org/ob-calc /home/joost/.emacs.d/elpa/org-20201102/ol-info hides /usr/local/share/emacs/27.1.50/lisp/org/ol-info /home/joost/.emacs.d/elpa/org-20201102/org-lint hides /usr/local/share/emacs/27.1.50/lisp/org/org-lint /home/joost/.emacs.d/elpa/org-20201102/ob-shell hides /usr/local/share/emacs/27.1.50/lisp/org/ob-shell /home/joost/.emacs.d/elpa/org-20201102/ox-odt hides /usr/local/share/emacs/27.1.50/lisp/org/ox-odt /home/joost/.emacs.d/elpa/org-20201102/ox-ascii hides /usr/local/share/emacs/27.1.50/lisp/org/ox-ascii /home/joost/.emacs.d/elpa/org-20201102/ox-html hides /usr/local/share/emacs/27.1.50/lisp/org/ox-html /home/joost/.emacs.d/elpa/org-20201102/ob-sql hides /usr/local/share/emacs/27.1.50/lisp/org/ob-sql /home/joost/.emacs.d/elpa/org-20201102/ox-man hides /usr/local/share/emacs/27.1.50/lisp/org/ox-man /home/joost/.emacs.d/elpa/org-20201102/ob-coq hides /usr/local/share/emacs/27.1.50/lisp/org/ob-coq /home/joost/.emacs.d/elpa/org-20201102/org-agenda hides /usr/local/share/emacs/27.1.50/lisp/org/org-agenda /home/joost/.emacs.d/elpa/org-20201102/ob-gnuplot hides /usr/local/share/emacs/27.1.50/lisp/org/ob-gnuplot /home/joost/.emacs.d/elpa/org-20201102/ob-core hides /usr/local/share/emacs/27.1.50/lisp/org/ob-core /home/joost/.emacs.d/elpa/org-20201102/org-timer hides /usr/local/share/emacs/27.1.50/lisp/org/org-timer /home/joost/.emacs.d/elpa/org-20201102/org-entities hides /usr/local/share/emacs/27.1.50/lisp/org/org-entities /home/joost/.emacs.d/elpa/org-20201102/ol-rmail hides /usr/local/share/emacs/27.1.50/lisp/org/ol-rmail /home/joost/.emacs.d/elpa/org-20201102/org-list hides /usr/local/share/emacs/27.1.50/lisp/org/org-list /home/joost/.emacs.d/elpa/org-20201102/org-src hides /usr/local/share/emacs/27.1.50/lisp/org/org-src /home/joost/.emacs.d/elpa/org-20201102/org-faces hides /usr/local/share/emacs/27.1.50/lisp/org/org-faces /home/joost/.emacs.d/elpa/org-20201102/org-capture hides /usr/local/share/emacs/27.1.50/lisp/org/org-capture /home/joost/.emacs.d/elpa/org-20201102/ol-gnus hides /usr/local/share/emacs/27.1.50/lisp/org/ol-gnus /home/joost/.emacs.d/elpa/org-20201102/ol-w3m hides /usr/local/share/emacs/27.1.50/lisp/org/ol-w3m /home/joost/.emacs.d/elpa/org-20201102/org-macs hides /usr/local/share/emacs/27.1.50/lisp/org/org-macs /home/joost/.emacs.d/elpa/org-20201102/ob-eval hides /usr/local/share/emacs/27.1.50/lisp/org/ob-eval /home/joost/.emacs.d/elpa/org-20201102/org-num hides /usr/local/share/emacs/27.1.50/lisp/org/org-num /home/joost/.emacs.d/elpa/org-20201102/ob-C hides /usr/local/share/emacs/27.1.50/lisp/org/ob-C /home/joost/.emacs.d/elpa/org-20201102/ob-perl hides /usr/local/share/emacs/27.1.50/lisp/org/ob-perl /home/joost/.emacs.d/elpa/org-20201102/org-footnote hides /usr/local/share/emacs/27.1.50/lisp/org/org-footnote /home/joost/.emacs.d/elpa/org-20201102/ob-comint hides /usr/local/share/emacs/27.1.50/lisp/org/ob-comint /home/joost/.emacs.d/elpa/org-20201102/ob-python hides /usr/local/share/emacs/27.1.50/lisp/org/ob-python /home/joost/.emacs.d/elpa/org-20201102/ox-latex hides /usr/local/share/emacs/27.1.50/lisp/org/ox-latex /home/joost/.emacs.d/elpa/org-20201102/ob-makefile hides /usr/local/share/emacs/27.1.50/lisp/org/ob-makefile /home/joost/.emacs.d/elpa/org-20201102/org-id hides /usr/local/share/emacs/27.1.50/lisp/org/org-id /home/joost/.emacs.d/elpa/org-20201102/org-version hides /usr/local/share/emacs/27.1.50/lisp/org/org-version /home/joost/.emacs.d/elpa/org-20201102/org-goto hides /usr/local/share/emacs/27.1.50/lisp/org/org-goto /home/joost/.emacs.d/elpa/org-20201102/org-pcomplete hides /usr/local/share/emacs/27.1.50/lisp/org/org-pcomplete /home/joost/.emacs.d/elpa/org-20201102/ob-fortran hides /usr/local/share/emacs/27.1.50/lisp/org/ob-fortran Features: (shadow emacsbug mc-hide-unmatched-lines-mode mc-mark-more mc-cycle-cursors multiple-cursors-core rect ffap timezone shr-color mm-archive pandoc-mode pandoc-mode-utils warnings expand-region text-mode-expansions the-org-mode-expansions clojure-mode-expansions er-basic-expansions expand-region-core expand-region-custom cl-print org-autolist org-indent ol-eww eww mm-url url-queue ol-rmail ol-mhe ol-irc ol-info ol-gnus nnir ol-docview ol-bibtex ol-bbdb ol-w3m org-ebib ebib-settings ebib ebib-reading-list ebib-notes ebib-filters ebib-keywords ebib-utils ebib-db parsebib crm el-spice list-callers display-fill-column-indicator flycheck-indicator vc-git bookmark help-fns radix-tree footnote gnutls epa-file mailalias qp visual-fill-column sort smiley gnus-cite mail-extr gnus-art mm-uu mml2015 mm-view mml-smime smime dig gnus-sum gnus-group gnus-undo gnus-start gnus-cloud nnimap nnmail mail-source utf7 netrc nnoo gnus-spec gnus-int gnus-range gnus-win gnus nnheader display-line-numbers org-mu4e mu4e-settings gnus-dired mu4e mu4e-org mu4e-main mu4e-view mu4e-headers mu4e-compose mu4e-context mu4e-draft mu4e-actions ido rfc2368 smtpmail sendmail mu4e-mark mu4e-proc mu4e-utils doc-view jka-compr image-mode exif mu4e-lists mu4e-message shr svg dom flow-fill mule-util hl-line mu4e-vars message rfc822 mml mml-sec epa derived epg epg-config gnus-util rmail rmail-loaddefs text-property-search mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr mailabbrev gmm-utils mailheader mu4e-meta mixed-pitch org-roam org-roam-link org-roam-graph org-roam-doctor org-roam-db emacsql-sqlite3 emacsql emacsql-compiler org-roam-dailies org-roam-capture org-capture org-roam-completion org-roam-buffer org-roam-faces org-roam-macs org-roam-compat jk-input-methods quail em-unix em-term term disp-table ehelp em-script em-prompt em-ls em-hist em-pred em-glob em-dirs esh-var em-cmpl em-basic em-banner em-alias esh-mode company-box company-box-doc frame-local company-box-icons wgrep flycheck-ledger ielm pp minions doom-modeline doom-modeline-segments doom-modeline-env doom-modeline-core shrink-path which-key undo-tree diff atomic-chrome websocket let-alist iimage image+ image-file swiper ivy-hydra all-the-icons-ivy ivy ivy-faces ivy-overlay colir poetry pyvenv paredit flycheck-clj-kondo sesman clojure-mode lisp-mnt align eldoc-box company-lsp lsp-ui lsp-ui-flycheck lsp-ui-doc goto-addr lsp-ui-imenu lsp-ui-peek lsp-ui-sideline face-remap flycheck-posframe flycheck lsp-mode yasnippet network-stream puny nsm rmc markdown-mode inline imenu f dash-functional bindat lsp-protocol ht ag vc-svn find-dired s projectile grep compile ibuf-ext ibuffer ibuffer-loaddefs thingatpt diff-hl vc-dir ewoc vc vc-dispatcher diff-mode transient async-bytecomp async aggressive-indent elec-pair nswbuff guess-language flyspell ispell ace-window avy dired dired-loaddefs reftex reftex-loaddefs reftex-vars tab-jump-out org-gcal persist org-id org-refile org-element avl-tree org-archive org-settings org-clock org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-footnote org-src ob-comint org-pcomplete org-list org-faces org-entities noutline outline org-version ob-emacs-lisp ob-core ob-eval org-table ol org-keys org-compat org-macs org-loaddefs find-func cal-menu calendar cal-loaddefs request-deferred deferred request autorevert filenotify mail-utils url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap alert log4e rx gntp tramp tramp-loaddefs trampver tramp-integration files-x tramp-compat shell pcomplete comint ansi-color parse-time iso8601 time-date ls-lisp format-spec bibtex adaptive-wrap volatile-highlights posframe bm company-quickhelp pos-tip all-the-icons all-the-icons-faces data-material data-weathericons data-octicons data-fileicons data-faicons data-alltheicons memoize company-oddmuse company-keywords company-etags etags fileloop generator xref project company-gtags company-dabbrev-code company-dabbrev company-files company-capf company-cmake company-clang company-semantic company-template company-css company-bbdb company pcase solarized-light-theme solarized-theme solarized solarized-faces color recentf tree-widget paradox paradox-menu paradox-commit-list hydra ring lv cus-edit cus-start cus-load wid-edit paradox-execute paradox-github paradox-core spinner dash cl-extra help-mode jk-functions advice eshell esh-cmd esh-ext esh-opt esh-proc esh-io esh-arg esh-module esh-groups esh-util notifications dbus xml edmacro kmacro server delsel paren use-package use-package-ensure use-package-delight use-package-diminish use-package-bind-key bind-key easy-mmode use-package-core finder-inf tex-site realgud-recursive-autoloads info package easymenu browse-url url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json subr-x map url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 868802 161756) (symbols 48 58233 10) (strings 32 258439 37394) (string-bytes 1 7525680) (vectors 16 96615) (vector-slots 8 1847488 191592) (floats 8 1296 1409) (intervals 56 18353 7285) (buffers 1000 53)) -- Joost Kremers Life has its moments From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 06 09:41:15 2020 Received: (at 44483) by debbugs.gnu.org; 6 Nov 2020 14:41:15 +0000 Received: from localhost ([127.0.0.1]:55479 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kb2vT-0007Yv-1w for submit@debbugs.gnu.org; Fri, 06 Nov 2020 09:41:15 -0500 Received: from eggs.gnu.org ([209.51.188.92]:54130) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kb2vR-0007Yj-Gi for 44483@debbugs.gnu.org; Fri, 06 Nov 2020 09:41:13 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:38044) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kb2vM-0000xY-6e; Fri, 06 Nov 2020 09:41:08 -0500 Received: from [176.228.60.248] (port=3528 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kb2vJ-0003aa-Vg; Fri, 06 Nov 2020 09:41:08 -0500 Date: Fri, 06 Nov 2020 16:41:05 +0200 Message-Id: <83ft5m8s5a.fsf@gnu.org> From: Eli Zaretskii To: Joost Kremers In-Reply-To: <87tuu2inkv.fsf@fastmail.fm> (message from Joost Kremers on Fri, 06 Nov 2020 15:09:36 +0100) Subject: Re: bug#44483: 27.1.50; Window parameter `min-margins' doesn't split window in half References: <87tuu2inkv.fsf@fastmail.fm> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 44483 Cc: 44483@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Joost Kremers > Date: Fri, 06 Nov 2020 15:09:36 +0100 > > > 1. Open any text file, preferably with long lines (to better see the effect). > > 2. `M-x visual-line-mode RET` > > 3. `M-: (set-window-margins (selected-window) 0 150) RET` > > The number 150 is arbitrary. It's appropriate for my case (with a frame width of > about 238 characters). > > 4. `M-: (set-window-parameter (selected-window) 'min-margins '(0 . 0)) RET` > > 5. `C-x 3` > > At this point, I expect the window to be split into two equally-sized > side-by-side windows, but the split is at about one third of the original window > width. That expectation is incorrect by default. To have the windows equally-sized, you need to set window-combination-resize to t, AFAIU, otherwise Emacs makes no promise that your expectation will be heeded. > Note that in this recipe, the margins of the two windows aren't adjusted after > the split, so in the left window the text is not visible at all and in the right > window, the text area is two characters wide. (In my case, YMMV.) You expected Emacs to adjust the margins? The min-margins parameters is consulted only when determining whether the window can be split, it has no effect whatsoever on the window dimensions after the split. And the manual specifically says that it is up to the application to adjust the margins after the split. From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 06 11:25:19 2020 Received: (at 44483) by debbugs.gnu.org; 6 Nov 2020 16:25:19 +0000 Received: from localhost ([127.0.0.1]:57117 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kb4YB-00028m-6O for submit@debbugs.gnu.org; Fri, 06 Nov 2020 11:25:19 -0500 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:57891) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kb4YA-00028a-1Q for 44483@debbugs.gnu.org; Fri, 06 Nov 2020 11:25:18 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 379C210DB; Fri, 6 Nov 2020 11:25:12 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Fri, 06 Nov 2020 11:25:12 -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=t/HZnesReT8L4BjSvL96mrnRZq HuD3/mRi96JthGXsc=; b=SU5OaighxJaiM+P0+mW/HlJqLU2S9a3WFzGvWD9jg3 EGHlbqeUpgybxVr6tHXPTRuU5gkyryLX1Shhy++FfGNWf7fn0FKuD8yS1lOwttgb nCigsc/4YQ0FZG4PC1GlwlXi/tRvkhb41/yokRkGy9gClNQCYeHoVP1uex7tFxYY RUTrru7PmmU4lvoX1SBxfKHxv2ov/nQI1AJeVfhCBgTT+CwrS/qAl/SouCMY+w7F zLmkE3Vj7MEQA++z0JleTGeQBFKDyYD93Qo0jfpRDK//diA+nKUrzyul5EL/ed3F p7uscuKwyguGqg3xDXKKLBZxW2fxeQujr/frE9Gpzo9g== 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=t/HZne sReT8L4BjSvL96mrnRZqHuD3/mRi96JthGXsc=; b=lbuWEXwSkqoUUGQyiSbdq/ /Mx9RjYpsAi8H+c+/U4MRIp8E6PFy0xYL4TXIBbCXlTWNygXpOE719svJYs3o0y9 lvZwesS8LEUxbXFXydTeEUuiORZiY4LXAmeRK0hIAX50FY77D5rDayl1o+EUSxhb AZjjWhTQ7xm58R8oLUiT9O1IMin0pUJIW0IzVLVsKnOGBd/0aoPiFh4xGmH4kPe8 lNaXpmS5UXuk7V/LkN7UMXIikqcOqwJLdvP1BBdW4GkDQzFQ98ILw1r2j7YbZSlN d0mAQdd85xV+Y53ycA7HMlti3dnMU/53eVfxhwbQgmjsLCLh2IU+0EvE1d8dcNmQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedruddtledgledtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfhgfhffvufgjfffkgggtsehttdertddtredtnecuhfhrohhmpeflohhoshht ucfmrhgvmhgvrhhsuceojhhoohhsthhkrhgvmhgvrhhssehfrghsthhmrghilhdrfhhmqe enucggtffrrghtthgvrhhnpefhudffuefhudelhffgleeukeegudevtedtudduhfefteeu gedvvedtuddugffffeenucfkphepleehrdeltddrvddvgedrvdeffeenucevlhhushhtvg hrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehjohhoshhtkhhrvghmvghr shesfhgrshhtmhgrihhlrdhfmh X-ME-Proxy: Received: from Swift.fastmail.com (ip5f5ae0e9.dynamic.kabel-deutschland.de [95.90.224.233]) by mail.messagingengine.com (Postfix) with ESMTPA id AAE06306005E; Fri, 6 Nov 2020 11:25:10 -0500 (EST) References: <87tuu2inkv.fsf@fastmail.fm> <83ft5m8s5a.fsf@gnu.org> User-agent: mu4e 1.5.6; emacs 27.1.50 From: Joost Kremers To: Eli Zaretskii Subject: Re: bug#44483: 27.1.50; Window parameter `min-margins' doesn't split window in half In-reply-to: <83ft5m8s5a.fsf@gnu.org> Date: Fri, 06 Nov 2020 17:25:07 +0100 Message-ID: <87d00qihb0.fsf@fastmail.fm> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 44483 Cc: 44483@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Fri, Nov 06 2020, Eli Zaretskii wrote: >> From: Joost Kremers >> Date: Fri, 06 Nov 2020 15:09:36 +0100 >> >> >> 1. Open any text file, preferably with long lines (to better see the effect). >> >> 2. `M-x visual-line-mode RET` >> >> 3. `M-: (set-window-margins (selected-window) 0 150) RET` >> >> The number 150 is arbitrary. It's appropriate for my case (with a frame width of >> about 238 characters). >> >> 4. `M-: (set-window-parameter (selected-window) 'min-margins '(0 . 0)) RET` >> >> 5. `C-x 3` >> >> At this point, I expect the window to be split into two equally-sized >> side-by-side windows, but the split is at about one third of the original window >> width. > > That expectation is incorrect by default. Well, let me put it this way: If I split a window in which the margins are nil, `split-window-right`, in my experience, always splits the window in half. (Perhaps there are cases where that is not guaranteed, I don't know, but I've never seen any.) My (perhaps naive) expectation was that with `min-margins' set to (0 . 0), `split-window' essentially treats this window as if the margins are nil, so I expected to get a 50/50 split. > To have the windows > equally-sized, you need to set window-combination-resize to t, AFAIU, > otherwise Emacs makes no promise that your expectation will be heeded. A quick check suggests that `window-combination-resize' has no effect here. I still get the 1/3 - 2/3 split at least some of the time. (Mind you, I'm splitting a window that's the single window in its frame, so AFAIU there is no window combination to speak of, and `window-combination-resize' should have no visible effect, from what I can tell from its documentation.) >> Note that in this recipe, the margins of the two windows aren't adjusted after >> the split, so in the left window the text is not visible at all and in the right >> window, the text area is two characters wide. (In my case, YMMV.) > > You expected Emacs to adjust the margins? No, I don't. `visual-fill-column-mode' makes sure the margins are resized after the split. That works as it should. I just mentioned it here because that part of `visual-fill-column-mode' isn't replicated by the recipe. But that's not relevant here, so just ignore it. > The min-margins parameters > is consulted only when determining whether the window can be split, it > has no effect whatsoever on the window dimensions after the split. Yeah, but that's exactly what I'm stumbling over. I've never seen such a 1/3-2/3 split, but now I'm suddenly getting it. So something is causing split-window to treat a window with wide margins and `min-margins' set to (0 . 0) differently from a window with no margins (but otherwise equally sized in an equally sized frame). Whether that something is a bug or not, I can't say. If it's not, though, I'd really like to know if there's a workaround. -- Joost Kremers Life has its moments From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 06 13:13:03 2020 Received: (at 44483) by debbugs.gnu.org; 6 Nov 2020 18:13:03 +0000 Received: from localhost ([127.0.0.1]:57273 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kb6ER-0004gP-Gq for submit@debbugs.gnu.org; Fri, 06 Nov 2020 13:13:03 -0500 Received: from mout.gmx.net ([212.227.17.20]:34289) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kb6EQ-0004ft-02 for 44483@debbugs.gnu.org; Fri, 06 Nov 2020 13:13:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1604686372; bh=M95HHeE3uHIs/SGIXcDvXXRLCawIzES9MX8mD6Yfgxw=; h=X-UI-Sender-Class:Subject:To:References:From:Date:In-Reply-To; b=EwijTrtY97WWKKX7IhHvwqWlJcKX4ZjWFNmTHuueTsIDdXze8s3P11xiyFYcCiGrG T1fLiOPUx3kzRVNb6v6lN9PNWPZErgptG5Fuc+GW+ldTIyN1zEeLWmK25iGXZJCYUf TOqcnfEG+/XMGm5FsKzWjoXQdoD1cetATPpYrm00= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.1.100] ([212.95.5.231]) by mail.gmx.com (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MG9g4-1kXpVI1cRY-00GZ9V; Fri, 06 Nov 2020 19:12:52 +0100 Subject: Re: bug#44483: 27.1.50; Window parameter `min-margins' doesn't split window in half To: Joost Kremers , 44483@debbugs.gnu.org References: <87tuu2inkv.fsf@fastmail.fm> From: martin rudalics Message-ID: Date: Fri, 6 Nov 2020 19:12:51 +0100 MIME-Version: 1.0 In-Reply-To: <87tuu2inkv.fsf@fastmail.fm> Content-Type: multipart/mixed; boundary="------------AE57AB0807172403D03752F4" Content-Language: en-US X-Provags-ID: V03:K1:9+S1zluhPbt9RylYqfT6l6bU0xPboaLYk+XoyOKUq9CM/mf7wQo yAEekRCG44NL9PjnDbTSHP0DvsFu3yh9GO3hK2q/QdxD9gHSlkNfm0E9Hr1yXrXIBu68NVq B0W4NMcvibsRiRecwtyQTZ40aAXgjI+ExkksXy4Cw+nzcOhOdnzJjhy/bWFO7xVWgnq9PvY Idqdd9x5O3Q78MwpBW23A== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:msoCw0UDuoo=:usen1UYduZ9j6e2a/ZyZSw tEQY8OWQyZbPyDbe099ZDqwfMl35VumnCqkePFdtu+LODM44GztPt9jBiV7Vm7qiSI+o/WVK0 tF1SE4JvO0gm+slEYOI/mqNwTjNIMvaOvSAEomnWwTrnkiOsSBJYt8jm909kE0rfRjoLaznxe ytd96uvm+H9MoIw0uAAwLHLIhG8kVNhMEXiSL+lGsasscI6xI/000uCaunSYvwejdFUxmxzd8 Mpj0+hsir4un/A+JNK9sRvpo6uNRzES3B6TSSvqziPC9zO7MC4nY/sIQstA4z/U3ScXhQj4iU 29JFNrf2YrQI48e/uWGm3x31bMU8e9letJkwiJfmTxadIK2Z9Ei9on2Vy/LeY2vluYyScKVww VDx+rs4gJt4bVE9ryWiR/ybRcR7xNmC44+ekebFvDj7BLGdRafdHVw/axXFFgLDics3klB1WE lcgXvEbK0YKaK90eMk3lSnSyv9DW/abHnFiMYVubiyAEjiAXTDiulITxeFI6i4/R0IWZsuRII +NIWVhKo1mf5zNJefVIb+WFaPZqfvt3EkjuqQSQCSfTi9u7l2FdrTYMPTvYbAy62qW5n4sRHS NsiHxsbAOV76+cZcgqT9DXCAry+WHFmga4L91dMtQOuLrobA4SRJHJANsS28NZ+QvNzIN+zvU w6YZ5x1t89dl2fJegDtXUXxAE8axd8OVfZkoPjAMb9bUoL//vZsvW258B0tkuA1deJDoD4Aty wom7PsADtN2kJG3s7Dsfu2dUJWE7lDGvs74NB6tddiblk91nY3PBl5tRtWspVs4/diQHb7fiM QzOU1g+8ryaFGUc8jX+W6VCvAuYgr6s7xwrBe7w5EjHVxW6RVlG9EnHFOHSbj65ZUH18Zzyb/ pbJTKZTDregxNmO9rrqw== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 44483 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) This is a multi-part message in MIME format. --------------AE57AB0807172403D03752F4 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit > 1. Open any text file, preferably with long lines (to better see the effect). > > 2. `M-x visual-line-mode RET` > > 3. `M-: (set-window-margins (selected-window) 0 150) RET` > > The number 150 is arbitrary. It's appropriate for my case (with a frame width of > about 238 characters). > > 4. `M-: (set-window-parameter (selected-window) 'min-margins '(0 . 0)) RET` > > 5. `C-x 3` > > At this point, I expect the window to be split into two equally-sized > side-by-side windows, but the split is at about one third of the original window > width. 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. 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. Thanks, martin --------------AE57AB0807172403D03752F4 Content-Type: text/x-patch; name="joost.diff" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="joost.diff" diff --git a/lisp/window.el b/lisp/window.el index 48005fc93e..6c08e71aae 100644 =2D-- a/lisp/window.el +++ b/lisp/window.el @@ -5414,6 +5414,12 @@ split-window ;; Sanitize sizes unless SIZE was specified. (unless size + ;; Make sure the new window gets any `min-margins' parameter + ;; of WINDOW. Otherwise, sanitizing screws up window sizes + ;; considerably (Bug#44483). + (let ((min-margins (window-parameter window 'min-margins))) + (when min-margins + (set-window-parameter new 'min-margins min-margins))) (window--sanitize-window-sizes horizontal)) (run-window-scroll-functions new) --------------AE57AB0807172403D03752F4-- From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 06 13:29:41 2020 Received: (at 44483) by debbugs.gnu.org; 6 Nov 2020 18:29:41 +0000 Received: from localhost ([127.0.0.1]:57280 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kb6UX-00053t-1P for submit@debbugs.gnu.org; Fri, 06 Nov 2020 13:29:41 -0500 Received: from eggs.gnu.org ([209.51.188.92]:55428) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kb6UV-00053h-Ua for 44483@debbugs.gnu.org; Fri, 06 Nov 2020 13:29:40 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:44271) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kb6UQ-0005RZ-Lz; Fri, 06 Nov 2020 13:29:34 -0500 Received: from [176.228.60.248] (port=1910 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kb6UQ-00032b-0k; Fri, 06 Nov 2020 13:29:34 -0500 Date: Fri, 06 Nov 2020 20:29:33 +0200 Message-Id: <837dqy8hki.fsf@gnu.org> From: Eli Zaretskii To: Joost Kremers In-Reply-To: <87d00qihb0.fsf@fastmail.fm> (message from Joost Kremers on Fri, 06 Nov 2020 17:25:07 +0100) Subject: Re: bug#44483: 27.1.50; Window parameter `min-margins' doesn't split window in half References: <87tuu2inkv.fsf@fastmail.fm> <83ft5m8s5a.fsf@gnu.org> <87d00qihb0.fsf@fastmail.fm> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 44483 Cc: 44483@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Joost Kremers > Cc: 44483@debbugs.gnu.org > Date: Fri, 06 Nov 2020 17:25:07 +0100 > > > That expectation is incorrect by default. > > Well, let me put it this way: If I split a window in which the margins are nil, > `split-window-right`, in my experience, always splits the window in half. > (Perhaps there are cases where that is not guaranteed, I don't know, but I've > never seen any.) The equal sizes are not guaranteed, but that doesn't mean they will never happen. Especially when you put Emacs in an "impossible" situation, where a simple split will not work. > > To have the windows > > equally-sized, you need to set window-combination-resize to t, AFAIU, > > otherwise Emacs makes no promise that your expectation will be heeded. > > A quick check suggests that `window-combination-resize' has no effect here. I > still get the 1/3 - 2/3 split at least some of the time. It did work for me, so I'm unsure what's going on. Though I couldn't have a window with 283 columns to begin with, so maybe it depends on the actual sizes. > (Mind you, I'm > splitting a window that's the single window in its frame So did I. > so AFAIU there is no window combination to speak of, and > `window-combination-resize' should have no visible effect, from what > I can tell from its documentation.) I think you take the name of the variable too literally. From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 06 15:36:52 2020 Received: (at 44483) by debbugs.gnu.org; 6 Nov 2020 20:36:52 +0000 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 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 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) 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: 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) References: <87tuu2inkv.fsf@fastmail.fm> User-agent: mu4e 1.5.6; emacs 27.1.50 From: Joost Kremers To: martin rudalics Subject: Re: bug#44483: 27.1.50; Window parameter `min-margins' doesn't split window in half In-reply-to: Date: Fri, 06 Nov 2020 21:36:41 +0100 Message-ID: <87361mi5nq.fsf@fastmail.fm> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 44483 Cc: 44483@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) 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 From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 07 04:00:22 2020 Received: (at 44483) by debbugs.gnu.org; 7 Nov 2020 09:00:22 +0000 Received: from localhost ([127.0.0.1]:57934 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kbK58-0005WI-Hr for submit@debbugs.gnu.org; Sat, 07 Nov 2020 04:00:22 -0500 Received: from mout.gmx.net ([212.227.17.21]:38755) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kbK57-0005W2-3s for 44483@debbugs.gnu.org; Sat, 07 Nov 2020 04:00:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1604739612; bh=vF90JLmQPkG/rQgjQzrYIuHlsVlyIJ9pFeVfuORYsLw=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=KZx0riuVqZGd1wGm6mExPOON78jYnppjVUgOdEBcHvOuBQTCs7ZW4NL8O5IeoHV++ r4H/2++TOVQ4I6JFbVjUoDbkyjim3hp5zAyPUOQPsprdwF5y7bdW68iYOXEBnuR1Cs QJfhdz9qSNfpiOJhyFzF9elSC4SJe5DjYQbLSgMs= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.1.102] ([212.95.5.5]) by mail.gmx.com (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MTRMi-1kl8Ge03ci-00ToGK; Sat, 07 Nov 2020 10:00:12 +0100 Subject: Re: bug#44483: 27.1.50; Window parameter `min-margins' doesn't split window in half To: Joost Kremers References: <87tuu2inkv.fsf@fastmail.fm> <87361mi5nq.fsf@fastmail.fm> From: martin rudalics Message-ID: <0f516ef7-2ebc-bdd0-b672-708a63bcd475@gmx.at> Date: Sat, 7 Nov 2020 10:00:11 +0100 MIME-Version: 1.0 In-Reply-To: <87361mi5nq.fsf@fastmail.fm> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:PmlSLIYkCiAimfG3Xzymbk3bEH6oG60kR2nLB5HuB9c/14tBvfR NeQ0/1wpvdGkPT3dJQnYiG5gXDS4myuAoXks2cvL39vj/F7OHkamsWlX8GgAkxgmkhE35uz iQ1dk3luVXTMZN/WzxOMZk1xQGkAyA7sS9fd3VzAQK4K8epSN8nlLk/C2cmEJwrRhLZ/m+E JDnJ/xhtHegAoyvTbKDow== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:XTNSZDCK9Do=:2kvYQA4Xq8P51+KOuGDMO0 olGBNaxpH2VKyLHaGz9PMwCqd7flOhigHZJkPurhFPJYJHbrfZENgm3XwJkZvt+LAp8CHvUQd /ke/MIoNCIPzZDRoqCkARuqqUojXxZr+m8dTkbRKsydQqS7BHGbiNpax5dZwQgVHSFAhHZW61 3fQMaTODepSI8piXD7MqYOuxdOfkRtR16ZXg6/OoKfno5CJGQTj5v3Q2r12oWyeRW7/c8aJER ADftA7fp9MmgdSnPXTJws3HrjQWkNseIgS1Xjo1sfw1q7p2X47kGc3F0j+fwz2K36awApyPiP JkLicjeB0tQqakyn+CHemzoMHso2V/Ow11CQ4ae8JJVgV5ZGLJLrXfGxSiRjEm+K/izZWPjvR 0Hi92p1GN00i3VsEPQ8uVphyh6v/hGy/uPXY/BC5ZUyVzwStE84bcblzFtprjAcgh0CHUkwV/ IUKYLf41ArMmLiEC17y4RW+v6pFbsfEQQY5Z5wNoqZ+ZY6bBD6/+FslZFk+EkVbPgEOM3KbzW 3y7aj4VX0aPjZAm25Re+kWB2PlR4D5KE49BBeXDz8iECKtJWb+snxY8jz//Ehpl6bZq+437lN PucBFTOAtVIlhMPh88H4eZqGF1u/dEgS+WQu0A5q4nU5bT1zsQVKNFMKQ+x5jgyt276jxzoBq 0Rmlqi/Mpu85bZIZQ0ci/e/PD0DpDVsmk49Bfsqv4m740ygsvSHV1fgoTmM1LTINKJo43lOx2 z5L+3cBaI3w2L8zFbzKPuXm4UxuFp3O8BG6mFyMLvhz/7Y6Aa+gsxTGjYt1aw8qujFV0M3TCP yEIUnh2TXdIdsaNxSwtv8N51jIEmP+vPQRMdYn7E3hgnZbtSZkmR27x/98n+FaWBlZPcUhsnp 2kx1cTFRg7L60pU1qtxw== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 44483 Cc: 44483@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) >> 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.) I installed a slightly different fix on the Emacs 27 branch now. We really should have had tested 'min-margins' when Emacs 25 came out but IIRC you bowed out in the last minute back then and apparently now you have become their first client. Since the bug shows up only when SIZE is unspecified, the recipe I used might not have triggered it then. 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. >> 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. In an earlier posting you said that "Twice during my tests Emacs actually hung, driving one of the CPU cores to 100%." I thought of something similar happening when shrinking a frame. martin From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 08 10:00:18 2020 Received: (at 44483) by debbugs.gnu.org; 8 Nov 2020 15:00:18 +0000 Received: from localhost ([127.0.0.1]:32861 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kbmB0-0007kB-Gy for submit@debbugs.gnu.org; Sun, 08 Nov 2020 10:00:18 -0500 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:39307) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kbmAy-0007jv-CO for 44483@debbugs.gnu.org; Sun, 08 Nov 2020 10:00:17 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 7077C4D9; Sun, 8 Nov 2020 10:00:10 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Sun, 08 Nov 2020 10:00:10 -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=k2pRAsd/AFeoCnZ6n0c7WS1mW6 UFkuNVXh0TG4SfNNQ=; b=FbjKv2ebmZC5uUcxdfAuhoRG9oDOeTTuv6JLrtgL2q o7uM00jcpKBFIW8r89f9tBWEtrfQLi28CNggx+fddbSPO/n2eLWqHIcz2/vh+bhp UuqMO6bpCCYSIq+CyLgeg+ei6dHM1MSAMDS74SpeysPxmdT9Mz9C0fhOY0bWNGPB bNAIlyuG+5sgj5vIg0zGwCAFOUA1T81svCLbKQdmcbdAQtaA/OtoOfjjJ0GMxAx9 JLyYB/Fb1nrHh+XyPyyvbAzi61JbfmDGcu3852IKRE+1uvCW/OIUEDlL7nzrKBn+ wECVOuy0uUs/2fSbtLbuF63DbLQmtq3o20Lfr+nMo2Gg== 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=k2pRAs d/AFeoCnZ6n0c7WS1mW6UFkuNVXh0TG4SfNNQ=; b=KPqlGh68DVLk7pTGzofq0x 7jSkAvJfdZ4Rz2u8Pf0eFATA93ua98PzS9vVungbJ8EgRscSQxktNA3LU9hpQXLb L+4JUyOXBt9MmXcDiDraeAVt6yds0ISJL9QY1onXWC9KjVV+AMgiV1pXE3FErXNT pDU5avMi5ppzv6jXLVNVacRbe0ool8paJ69/VFKd64LtiudTvs1ioXkEWcTCSEcP vf1m2XOowgovRyVM4rWPevb4WWfc1J/B5ankfjYvdt1yu8o/ma5gB0ZyCRVcaTpW MWRv3Gp8jeBvrct74tmc5Cvh6fBZGUsRIxx9mVU4l/gFn2DfMopmUREyUXm/nNLw == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedruddufedgjeduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfhgfhffvufgjfffkgggtsehttdertddtredtnecuhfhrohhmpeflohhoshht ucfmrhgvmhgvrhhsuceojhhoohhsthhkrhgvmhgvrhhssehfrghsthhmrghilhdrfhhmqe enucggtffrrghtthgvrhhnpefhudffuefhudelhffgleeukeegudevtedtudduhfefteeu gedvvedtuddugffffeenucfkphepleehrdeltddrvddvgedrvdeffeenucevlhhushhtvg hrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehjohhoshhtkhhrvghmvghr shesfhgrshhtmhgrihhlrdhfmh X-ME-Proxy: Received: from Swift.fastmail.com (ip5f5ae0e9.dynamic.kabel-deutschland.de [95.90.224.233]) by mail.messagingengine.com (Postfix) with ESMTPA id BC932328005A; Sun, 8 Nov 2020 10:00:08 -0500 (EST) References: <87tuu2inkv.fsf@fastmail.fm> <87361mi5nq.fsf@fastmail.fm> <0f516ef7-2ebc-bdd0-b672-708a63bcd475@gmx.at> User-agent: mu4e 1.5.6; emacs 27.1.50 From: Joost Kremers To: martin rudalics Subject: Re: bug#44483: 27.1.50; Window parameter `min-margins' doesn't split window in half In-reply-to: <0f516ef7-2ebc-bdd0-b672-708a63bcd475@gmx.at> Date: Sun, 08 Nov 2020 16:00:03 +0100 Message-ID: <87pn4nevws.fsf@fastmail.fm> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 44483 Cc: 44483@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Sat, Nov 07 2020, martin rudalics wrote: > I installed a slightly different fix on the Emacs 27 branch now. We > really should have had tested 'min-margins' when Emacs 25 came out but > IIRC you bowed out in the last minute back then and apparently now you > have become their first client. Since the bug shows up only when SIZE > is unspecified, the recipe I used might not have triggered it then. 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. > 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. 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. -- Joost Kremers Life has its moments From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 09 03:31:34 2020 Received: (at 44483) by debbugs.gnu.org; 9 Nov 2020 08:31:34 +0000 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 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 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 Subject: Re: bug#44483: 27.1.50; Window parameter `min-margins' doesn't split window in half To: Joost Kremers References: <87tuu2inkv.fsf@fastmail.fm> <87361mi5nq.fsf@fastmail.fm> <0f516ef7-2ebc-bdd0-b672-708a63bcd475@gmx.at> <87pn4nevws.fsf@fastmail.fm> From: martin rudalics Message-ID: Date: Mon, 9 Nov 2020 09:31:20 +0100 MIME-Version: 1.0 In-Reply-To: <87pn4nevws.fsf@fastmail.fm> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:Q5Zo98t36/t1vsjj4EI+VBKCT3VyB+bCvmm+fnXXQkgun11xYjh xeP4gPQK2auDqkE5quFdZt7z5BmZB4OMsa3LYqeUlzs/aPDzhunFz6H3AxhxTR1rEiIlfb7 LbUQ6enyEg+Fu3eYu0KTTBJ0pkG2vLvbZmrjPyUIOT3OyZrSJPlQHXj1LYTnX/8sN+X+JZ1 0TWPqEuACxtTRIBJ+GRzQ== X-Spam-Flag: NO 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+2ky3UozyMIyokV DQGqtwPJYNI38WaA6Z344pwSFEHJdjmyX6i8FhfMwe1uH7Asa4lzfIW5SvXtdFFQK+ZiNFArd ioxXWSoqDwFTan9e5/sGRlCAAKMQFqj07ksoyX43Y= X-Spam-Score: 2.9 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > 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 a [...] Content analysis details: (2.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (rudalics[at]gmx.at) 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [212.95.5.15 listed in zen.spamhaus.org] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [212.227.17.20 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [212.227.17.20 listed in wl.mailspike.net] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record X-Debbugs-Envelope-To: 44483 Cc: 44483@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.9 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > 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 a [...] Content analysis details: (1.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [212.227.17.20 listed in wl.mailspike.net] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [212.227.17.20 listed in list.dnswl.org] 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [212.95.5.15 listed in zen.spamhaus.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (rudalics[at]gmx.at) -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager > 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 From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 11 08:35:46 2021 Received: (at 44483) by debbugs.gnu.org; 11 Oct 2021 12:35:46 +0000 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 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 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) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Mon, 11 Oct 2021 05:35:37 -0700 From: Stefan Kangas In-Reply-To: (martin rudalics's message of "Mon, 9 Nov 2020 09:31:20 +0100") References: <87tuu2inkv.fsf@fastmail.fm> <87361mi5nq.fsf@fastmail.fm> <0f516ef7-2ebc-bdd0-b672-708a63bcd475@gmx.at> <87pn4nevws.fsf@fastmail.fm> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux) MIME-Version: 1.0 Date: Mon, 11 Oct 2021 05:35:37 -0700 Message-ID: Subject: Re: bug#44483: 27.1.50; Window parameter `min-margins' doesn't split window in half To: martin rudalics Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 44483 Cc: Joost Kremers , 44483@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) 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? From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 11 13:19:05 2021 Received: (at 44483) by debbugs.gnu.org; 11 Oct 2021 17:19:05 +0000 Received: from localhost ([127.0.0.1]:60828 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mZyx7-0000q3-Ct for submit@debbugs.gnu.org; Mon, 11 Oct 2021 13:19:05 -0400 Received: from mout.gmx.net ([212.227.15.15]:44443) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mZywx-0000pL-Mi; Mon, 11 Oct 2021 13:18:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1633972726; bh=1Kw/ixcAAM2TFJafb3d7mDmSqn1q6Ediv9NK9vNE1bM=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=YVJ8IdTUDbWaTRAJpyGKPyWuuGOk5kYF8jcTw7E+tokZ+LQZ5hKp8WKNjeDiAAh7j mkScCzA/Yu7E0w/H12l0eyWinak8Cp483NJo4M4beqfTJ5Hs38z8sGInHlewR+BsST kOETNmZcaX1ibetBYWvpIKsErnD2P8p9LiFfIZzc= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.1.102] ([212.95.5.147]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MxUnz-1myVuZ2v05-00xp8c; Mon, 11 Oct 2021 19:18:46 +0200 Subject: Re: bug#44483: 27.1.50; Window parameter `min-margins' doesn't split window in half To: Stefan Kangas References: <87tuu2inkv.fsf@fastmail.fm> <87361mi5nq.fsf@fastmail.fm> <0f516ef7-2ebc-bdd0-b672-708a63bcd475@gmx.at> <87pn4nevws.fsf@fastmail.fm> From: martin rudalics Message-ID: <50da3e13-1723-a943-0427-2ebae0e77983@gmx.at> Date: Mon, 11 Oct 2021 19:18:45 +0200 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:8n1SCW9FAYZR3kRM7WVvl8eOnjUnXv9SaH7Yuw3S9TaOWS81UpW OXTkIaxGvyjZLCuK9b+hL2ou7gFQQSkxmajR1Q2SWqpjhlKwrlGxEEK1fsaVlMXJgP/UHWD A2wGbutDmq2e+Ozv6HPwHQ2vQjeCQFqWvkeJjqwIQwRHrJSufC9lQJMwuEQzKRZc1L4ZHGk n5U1Ld/9bZ5Jj5E6qwJMA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:j4AYX69yfXw=:YhxA6J1ubYVJDfXaeDohGq MzUGGJa/Dfo9d8nmvzUzbJfr2DEIqeKg6afPUTudeqKsk+d2ojrXbd0GZKX9lXHE25FEnso3O unp3Ia4MVcU7pbEi+Tvcij+p2VuTLK6nkxdEu9tDYscBaUnKAc+7oKhwSPs+Kay1VfNZYcSbE m7t64W7/BeHwsWqRkK4aTC6HwSL5bS8iFTha4kkFKbZSbycyv8+unbIs06ZpFzWUCrIg3Kdc9 Pt9RswHW3s+QVj+QU34ZnitsxbpWWtouu4kjEDzqE+AYgoq4kEfZfTGnm+QgQ4aetQ7CdFugY aENCuGgyzlfMfSD1mTNRJbSKrLeGUeHZ1MiZbUxlztmtEmad2JgCNJEb9j21ylo8zo2Wd3ii2 bzTMW/9DYuu7SRajecMH/b9LkoYU7iHEvK7QAUlZuQAg19DmWLNbT3bPGZiMY2Y755tEo70nH Yf7HcprgrayvF6lqDmfBXhMZ92NO8I2e/vsQbosgdbQQIYdKqjer86XUoxLe5wj8FOzooyvkJ btdofY9l7INq/HtJIYXM/XoTq2WIK4+HJUA3SzkFeruDqJ5TtSmKtmwq9FVqfivW884R/GcYd Xb5+MDvo7ac5MGD+UQvVRZJghgOOeln3GgIFMjFgGDu+LVaVEMkum+OYF3PoyokLZ44d0Liy5 6i3wt7iHPluxlewZZg0F7u234/fl4lUR7l0gBzXZiY/ftUh4LatxCGDAqbpkzzBjdNVfCUHTz v2oIr/v5/xaPOBxtjFnKphUyIMriSaA6FKssm9XyQ0A/Mm+TUGqNeQFGhYlL+uf6hz+ZMr13D WruvC67uLix/2pGmyV/oGA8r2crm98eQhJeWvonNGebotIAILt3JVsEhqNDQZsQEHr6VYe/je /hhrInTGAtRQdSdqqrV7Yv4zf9TDHFnzvh2TomQxo6P5vOkKWwyt7NJECk6JRxV0wpudf+VX9 NTDRLZ2bdv4PK8bWFuMOUf2hRUVbluE9tWTM0SAiBKoZFTnzFrLITdjWmgJEJCLLsU2m+PF+i uh9ZxzlTvqLNk7jbqrQcrsKm4UdL7O8oZS5kn1bOh2sji/5AzD9Jj0xYGn6SmzAyRu0cqS4sm SZ1lAphJ2g/FRo= X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 44483 Cc: Joost Kremers , 44483@debbugs.gnu.org, control@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) close 44483 27.2 quit >> I'll send you a patch as soon as I consider it stable enough. > > That was in November last year. Any news here? That project was abandoned earlier this year. The original bug should have been fixed back then though so I am closing this bug. martin From unknown Sun Jun 22 04:02:40 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 09 Nov 2021 12:24:09 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator