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

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

bug#20189: 25.0.50; Feature request: Alternative split-window-sensibly f


From: martin rudalics
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





reply via email to

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