Subject: Re: bug#22009: PATCH: Use `window-total-width' in `window-splittable-p'

From: martin rudalics <[email-masked]>
Date: Thu, 26 Nov 2015 09:23:13 +0100

> Convince me.  (It doesn't sound like a bug, does it?)

It is a bug.  In

	       (>= (window-width window)
		   (max split-width-threshold
			(* 2 (max window-min-width 2))))

we currently compare apples and oranges.  ‘window-width’ does not
include margins, fringes, scrollbar and divider.  ‘window-min-width’
is meant to include them all.

martin