GNU bug report logs - #45945
28.0.50; Feature request: Some kind of 'max-window-height' parameter for display-buffer-in-direction

Previous Next

Package: emacs;

Reported by: Dmitry Gutov <dgutov <at> yandex.ru>

Date: Mon, 18 Jan 2021 01:56:02 UTC

Severity: wishlist

Found in version 28.0.50

Done: Dmitry Gutov <dgutov <at> yandex.ru>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Dmitry Gutov <dgutov <at> yandex.ru>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#45945: closed (28.0.50; Feature request: Some kind of
 'max-window-height' parameter for display-buffer-in-direction)
Date: Tue, 19 Jan 2021 01:12:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Tue, 19 Jan 2021 03:11:50 +0200
with message-id <4354ad18-3629-da09-8a0b-d810d5abccc6 <at> yandex.ru>
and subject line Re: bug#45945: 28.0.50; Feature request: Some kind of 'max-window-height' parameter for display-buffer-in-direction
has caused the debbugs.gnu.org bug report #45945,
regarding 28.0.50; Feature request: Some kind of 'max-window-height' parameter for display-buffer-in-direction
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
45945: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=45945
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Dmitry Gutov <dgutov <at> yandex.ru>
To: bug-gnu-emacs <at> gnu.org
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
X-Debbugs-CC: rudalics <at> gmx.at, juri <at> 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.


[Message part 3 (message/rfc822, inline)]
From: Dmitry Gutov <dgutov <at> yandex.ru>
To: 45945-done <at> debbugs.gnu.org
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
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.


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

Previous Next


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