GNU bug report logs - #16383
balance-windows fails in Emacs 24.3.50.1

Previous Next

Package: emacs;

Reported by: Steven Edwards <cureadvocate <at> gmail.com>

Date: Tue, 7 Jan 2014 16:48:01 UTC

Severity: normal

Done: martin rudalics <rudalics <at> gmx.at>

Bug is archived. No further changes may be made.

Full log


Message #14 received at 16383 <at> debbugs.gnu.org (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: Steven Edwards <cureadvocate <at> gmail.com>
Cc: 16383 <at> debbugs.gnu.org
Subject: Re: bug#16383: balance-windows fails in Emacs 24.3.50.1
Date: Tue, 07 Jan 2014 20:28:54 +0100
> 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)))






This bug report was last modified 11 years and 215 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.