GNU bug report logs - #22009
Inconsistent handling of window splitting with margins

Previous Next

Package: emacs;

Reported by: Joost Kremers <joostkremers <at> fastmail.fm>

Date: Wed, 25 Nov 2015 13:08:01 UTC

Severity: normal

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: martin rudalics <rudalics <at> gmx.at>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: joostkremers <at> fastmail.fm, 22009 <at> debbugs.gnu.org
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





This bug report was last modified 4 years and 261 days ago.

Previous Next


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