Subject: Re: bug#16738: Errors while resizing vertically

From: martin rudalics <[email-masked]>
Date: Fri, 21 Feb 2014 14:07:58 +0100

>  > Debugger entered--Lisp error: (args-out-of-range -17 0 2147483647)
 >  >   set-window-new-pixel(#<window 299 on *mu4e-headers*> -17 t)
 >  >   window--resize-child-windows(#<window 301> -595 nil #<window 303 on
 > *Backtrace*> nil nil nil nil)
 >  >   window--resize-siblings(#<window 303 on *Backtrace*> 595 nil nil)
 >  >   window-resize(#<window 303 on *Backtrace*> 35)
 >  >   (if (eq window (frame-root-window)) nil (window-resize window
 > (window-max-delta window)))
 >  >   es-maximize-window-vertically()
 >  >   call-interactively(es-maximize-window-vertically nil nil)
 >  >   command-execute(es-maximize-window-vertically)
 >
 > This sounds strange.  Paul, how can such a thing happen?

Paul Eggert - this was your change:

	Minor integer overflow fixes (Bug#16033).
	* window.c (Fset_window_new_pixel): Don't let new_pixel go negative.
	This improves on the previous fix to this function.

martin