bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: martin rudalics
Subject: bug#22009: PATCH: Use `window-total-width' in `window-splittable-p'
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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]