unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Dmitry Gutov <dgutov@yandex.ru>
To: 45945-done@debbugs.gnu.org
Subject: 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	[thread overview]
Message-ID: <4354ad18-3629-da09-8a0b-d810d5abccc6@yandex.ru> (raw)
In-Reply-To: <b165a1e6-9a0d-a7bf-9dc2-5c792508e682@yandex.ru>

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.





  reply	other threads:[~2021-01-19  1:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-18  1:55 bug#45945: 28.0.50; Feature request: Some kind of 'max-window-height' parameter for display-buffer-in-direction Dmitry Gutov
2021-01-19  1:11 ` Dmitry Gutov [this message]
2021-01-19 17:41   ` Juri Linkov
2021-01-19 19:31     ` Dmitry Gutov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4354ad18-3629-da09-8a0b-d810d5abccc6@yandex.ru \
    --to=dgutov@yandex.ru \
    --cc=45945-done@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).