GNU bug report logs - #20189
25.0.50; Feature request: Alternative split-window-sensibly functions

Previous Next

Package: emacs;

Reported by: Tassilo Horn <tsdh <at> gnu.org>

Date: Tue, 24 Mar 2015 09:19:01 UTC

Severity: wishlist

Found in version 25.0.50

Full log


View this message in rfc822 format

From: martin rudalics <rudalics <at> gmx.at>
To: Tassilo Horn <tsdh <at> gnu.org>, Eli Zaretskii <eliz <at> gnu.org>
Cc: 20189 <at> debbugs.gnu.org
Subject: bug#20189: 25.0.50; Feature request: Alternative split-window-sensibly functions
Date: Thu, 26 Mar 2015 11:58:28 +0100
> To answer myself: it seems I actually want to use a minimum width of
> 80.  That seems to supress any splits that result in windows smaller
> than 80 columns unless the width is explicitly given, e.g.,
>
>    (setq window-min-width 80)
>    (display-buffer (get-buffer "*Help*")
>                    '(display-buffer-pop-up-window
>                      (window-width . 10)))
>
> still splits although the new window is just 10 columns wide.

Not really.  The window gets split because your frame is wide enough
(probably larger than 160 columns).  The new window is 10 columns wide
because you explicitly asked for it via (window-width . 10).

martin




This bug report was last modified 10 years and 83 days ago.

Previous Next


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