From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#33254: 26.1.50; Fixed-size windows break 'balance-windows' Date: Sun, 04 Nov 2018 19:15:22 +0200 Message-ID: <83a7moepcl.fsf@gnu.org> References: <5BDEC75A.902@gmx.at> <83in1ddmha.fsf@gnu.org> <5BDEF4E7.7050507@gmx.at> <83d0rkevyv.fsf@gnu.org> <5BDF1457.3060005@gmx.at> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1541351647 4621 195.159.176.226 (4 Nov 2018 17:14:07 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 4 Nov 2018 17:14:07 +0000 (UTC) Cc: 33254@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Nov 04 18:14:03 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 1gJLyN-00017v-Dc for geb-bug-gnu-emacs@m.gmane.org; Sun, 04 Nov 2018 18:14:03 +0100 Original-Received: from localhost ([::1]:59674 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gJM0T-0007GS-Rl for geb-bug-gnu-emacs@m.gmane.org; Sun, 04 Nov 2018 12:16:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57586) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gJM0N-0007G5-DV for bug-gnu-emacs@gnu.org; Sun, 04 Nov 2018 12:16:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gJM0I-0004oW-Ml for bug-gnu-emacs@gnu.org; Sun, 04 Nov 2018 12:16:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:58178) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gJM0I-0004o6-HL for bug-gnu-emacs@gnu.org; Sun, 04 Nov 2018 12:16:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gJM0I-00036X-AM for bug-gnu-emacs@gnu.org; Sun, 04 Nov 2018 12:16:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 04 Nov 2018 17:16:02 +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.154135174811908 (code B ref 33254); Sun, 04 Nov 2018 17:16:02 +0000 Original-Received: (at 33254) by debbugs.gnu.org; 4 Nov 2018 17:15:48 +0000 Original-Received: from localhost ([127.0.0.1]:34203 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gJM03-000360-NB for submit@debbugs.gnu.org; Sun, 04 Nov 2018 12:15:47 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:47794) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gJM02-00035n-A0 for 33254@debbugs.gnu.org; Sun, 04 Nov 2018 12:15:46 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gJLzs-0004EL-A8 for 33254@debbugs.gnu.org; Sun, 04 Nov 2018 12:15:40 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:60438) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gJLzl-00043X-3x; Sun, 04 Nov 2018 12:15:32 -0500 Original-Received: from [176.228.60.248] (port=4010 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gJLzk-0003am-F5; Sun, 04 Nov 2018 12:15:29 -0500 In-reply-to: <5BDF1457.3060005@gmx.at> (message from martin rudalics on Sun, 04 Nov 2018 16:46:31 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:152020 Archived-At: > Date: Sun, 04 Nov 2018 16:46:31 +0100 > From: martin rudalics > CC: 33254@debbugs.gnu.org > > >> 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. OK, let's have it one emacs-26.