--- Begin Message ---
Subject: |
28.0.50; Feature request: Some kind of 'max-window-height' parameter for display-buffer-in-direction |
Date: |
Mon, 18 Jan 2021 03:55:00 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
X-Debbugs-CC: rudalics@gmx.at, juri@linkov.net
It will be helpful to limit the height of the resulting window (either
in lines or in percentages of the parent window height). If the split
has been performed, of course.
At the moment, it can take up almost all of the parent window's height,
and that's not ideal for our use of it in
xref-show-definitions-buffer-at-bottom.
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#45945: 28.0.50; Feature request: Some kind of 'max-window-height' parameter for display-buffer-in-direction |
Date: |
Tue, 19 Jan 2021 03:11:50 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
On 18.01.2021 03:55, Dmitry Gutov wrote:
It will be helpful to limit the height of the resulting window (either
in lines or in percentages of the parent window height). If the split
has been performed, of course.
Looks like I've managed that with 'window-height' alist entry set to a
function that wraps fit-window-to-buffer.
Commit 4ca808ee7a in master.
--- End Message ---