From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#33254: 26.1.50; Fixed-size windows break 'balance-windows' Date: Sun, 04 Nov 2018 16:46:31 +0100 Message-ID: <5BDF1457.3060005@gmx.at> References: <5BDEC75A.902@gmx.at> <83in1ddmha.fsf@gnu.org> <5BDEF4E7.7050507@gmx.at> <83d0rkevyv.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1541346308 14103 195.159.176.226 (4 Nov 2018 15:45:08 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 4 Nov 2018 15:45:08 +0000 (UTC) Cc: 33254@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Nov 04 16:45:04 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gJKaD-0003U8-Kc for geb-bug-gnu-emacs@m.gmane.org; Sun, 04 Nov 2018 16:45:01 +0100 Original-Received: from localhost ([::1]:59363 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gJKcJ-0004ER-Hx for geb-bug-gnu-emacs@m.gmane.org; Sun, 04 Nov 2018 10:47:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41261) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gJKcD-0004EL-Vu for bug-gnu-emacs@gnu.org; Sun, 04 Nov 2018 10:47:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gJKc9-0002aA-VY for bug-gnu-emacs@gnu.org; Sun, 04 Nov 2018 10:47:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:58131) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gJKc9-0002Zk-Qs for bug-gnu-emacs@gnu.org; Sun, 04 Nov 2018 10:47:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gJKc9-00011m-JH for bug-gnu-emacs@gnu.org; Sun, 04 Nov 2018 10:47:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 04 Nov 2018 15:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33254 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 33254-submit@debbugs.gnu.org id=B33254.15413463993924 (code B ref 33254); Sun, 04 Nov 2018 15:47:01 +0000 Original-Received: (at 33254) by debbugs.gnu.org; 4 Nov 2018 15:46:39 +0000 Original-Received: from localhost ([127.0.0.1]:34156 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gJKbn-00011E-Lc for submit@debbugs.gnu.org; Sun, 04 Nov 2018 10:46:39 -0500 Original-Received: from mout.gmx.net ([212.227.15.19]:47503) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gJKbl-000110-UX for 33254@debbugs.gnu.org; Sun, 04 Nov 2018 10:46:38 -0500 Original-Received: from [192.168.1.101] ([46.125.249.115]) by mail.gmx.com (mrgmx001 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MGS9o-1gNkSU39Cy-00DDQB; Sun, 04 Nov 2018 16:46:30 +0100 Original-Received: from [192.168.1.101] ([46.125.249.115]) by mail.gmx.com (mrgmx001 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MGS9o-1gNkSU39Cy-00DDQB; S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m0Mjs +sS3t/OFfdVaaUVKCluVQ8ULMyz3Tn2Cok7P+VzN82fE+KRgEESFeRnY446Pkj9cpN0CDUF4 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:152017 Archived-At: >> No. It works with Emacs 23. > > Still, that's a very long time. Why is it urgent to fix this in 26.2? It's not the visible behavior that's disquieting me. It's rather the fact that 'balance-windows-1' goes on calculating all sorts of things and finally 'balance-windows' sumbits a wrongly calculated structure to 'window-resize-apply' which only gets caught by window_resize_check at a very, very late stage. Ideally, window_resize_check would emit a warning in such a case, but I never got around to write it. I think the bug happens to users of 'balance-windows' all the time but they hardly notice because for that it needs at least three windows, one of them of fixed size. With my example it's barely noticeable at all. Also it's a plain thinko and probably not that urgent so I can make the change on Emacs 27 only as well. martin