From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#16383: balance-windows fails in Emacs 24.3.50.1 Date: Tue, 07 Jan 2014 20:28:54 +0100 Message-ID: <52CC5576.3080507@gmx.at> References: <52CC39FC.2090902@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1389123024 2020 80.91.229.3 (7 Jan 2014 19:30:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 7 Jan 2014 19:30:24 +0000 (UTC) Cc: 16383@debbugs.gnu.org To: Steven Edwards Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jan 07 20:30:29 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1W0cM5-0006Dh-58 for geb-bug-gnu-emacs@m.gmane.org; Tue, 07 Jan 2014 20:30:25 +0100 Original-Received: from localhost ([::1]:42458 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W0cM4-0006Pf-Pw for geb-bug-gnu-emacs@m.gmane.org; Tue, 07 Jan 2014 14:30:24 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53460) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W0cLt-0006NH-Tr for bug-gnu-emacs@gnu.org; Tue, 07 Jan 2014 14:30:21 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W0cLl-0000VJ-E0 for bug-gnu-emacs@gnu.org; Tue, 07 Jan 2014 14:30:13 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55691) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W0cLl-0000V8-Ap for bug-gnu-emacs@gnu.org; Tue, 07 Jan 2014 14:30:05 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1W0cLk-00009C-H7 for bug-gnu-emacs@gnu.org; Tue, 07 Jan 2014 14:30:04 -0500 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 07 Jan 2014 19:30:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16383 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16383-submit@debbugs.gnu.org id=B16383.1389122950406 (code B ref 16383); Tue, 07 Jan 2014 19:30:04 +0000 Original-Received: (at 16383) by debbugs.gnu.org; 7 Jan 2014 19:29:10 +0000 Original-Received: from localhost ([127.0.0.1]:41471 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W0cKr-00006U-DT for submit@debbugs.gnu.org; Tue, 07 Jan 2014 14:29:09 -0500 Original-Received: from mout.gmx.net ([212.227.15.19]:50752) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W0cKo-00006G-CK for 16383@debbugs.gnu.org; Tue, 07 Jan 2014 14:29:07 -0500 Original-Received: from [62.47.56.51] ([62.47.56.51]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0Ln8gj-1VSux33bPJ-00hMGC for <16383@debbugs.gnu.org>; Tue, 07 Jan 2014 20:29:05 +0100 In-Reply-To: X-Provags-ID: V03:K0:tV8HYkl5t0ywa2hGOagB7I6apfFh3hVeIZr593/Gm40vhZlKCUK 5c15JbRgC1PNqDWU81TIVoBqh9SOLgMpdb3hrR9P6s9Pa39hgOIB2IjM12xLRoI+oM8epId uYPFwCGUbdF3naO97RqEPT7/KWNMUJ4dB9vfMtq0WeBQgyfQy2Bi5rEYcrqzulxjZ9wJYgR lMqQov29JRx6D+J1ZP/6g== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:83139 Archived-At: > How do I find out which revision I have? Here I can do C-h v emacs-bzr-version RET But IIUC you don't use bazaar but Debian snapshots. So if you can apply a patch try the one below. martin === modified file 'lisp/window.el' --- lisp/window.el 2014-01-05 16:29:44 +0000 +++ lisp/window.el 2014-01-07 11:41:17 +0000 @@ -4541,7 +4541,7 @@ (setq sub first) (while (and sub (> rest 0)) (unless (window--resize-child-windows-skip-p window) - (set-window-new-pixel sub char-size t) + (set-window-new-pixel sub (min rest char-size) t) (setq rest (- rest char-size))) (setq sub (window-right sub))) @@ -4550,7 +4550,7 @@ (setq sub first) (while (and sub (> rest 0)) (unless (eq (window-new-normal sub) 'ignore) - (set-window-new-pixel sub char-size t) + (set-window-new-pixel sub (min rest char-size) t) (setq rest (- rest char-size))) (setq sub (window-right sub)))