unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: Leo Liu <sdl.web@gmail.com>
Cc: 19355@debbugs.gnu.org, Juri Linkov <juri@linkov.net>
Subject: bug#19355: 25.0.50; limit the popup window height
Date: Sun, 14 Dec 2014 10:03:40 +0100	[thread overview]
Message-ID: <548D526C.3010704@gmx.at> (raw)
In-Reply-To: <87bnn7m5gm.fsf@gmail.com>

 >> ,(when temp-buffer-resize-mode
 >>     '(window-height . resize-temp-buffer-window))
 >>
 >> and test whether it restores the old behavior (with
 >> `temp-buffer-resize-mode' en- and disabled)?
 >
 > No.

Interesting.  Suppose with (my not so up-to-date version of trunk's)
emacs -Q I do

C-h f set- RET

my *scratch* window is split into two equally sized windows and the
lowest line of the lower window ends with set-charset-priority.  If I do

C-h f set-window- RET

I get an empty last line in the lower window with set-window-vscroll on
the line before and with

C-h f set-window-d RET

I get lots of empty lines with set-window-dot as last displayed entry.

Now if with emacs -Q I evaluate

(setq temp-buffer-resize-mode t)

first and do the same steps as above, the first one is identical and in
the other two cases the empty lines get removed and the window shrinks.

Please have another look.

 > I think they all use fit-window-to-buffer underneath so it will take up
 > as much height as possible.

`resize-temp-buffer-window' limits this to `temp-buffer-max-height'
lines.

martin





  reply	other threads:[~2014-12-14  9:03 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-12  1:49 bug#19355: 25.0.50; limit the popup window height Leo Liu
2014-12-12 12:45 ` martin rudalics
2014-12-12 13:05   ` Leo Liu
2014-12-12 17:19     ` martin rudalics
2014-12-13  0:17       ` Leo Liu
2014-12-13 10:21         ` martin rudalics
2014-12-13 14:41           ` Leo Liu
2014-12-13 20:03             ` martin rudalics
2014-12-14  0:37               ` Leo Liu
2014-12-14  9:03                 ` martin rudalics [this message]
2014-12-17  0:43                   ` Leo Liu
2014-12-17  7:08                     ` martin rudalics
2014-12-19 23:10                       ` Leo Liu
2014-12-25 10:35                         ` martin rudalics
2014-12-25 20:01                           ` Juri Linkov
2014-12-26  9:13                             ` martin rudalics
2014-12-27  0:57                               ` Juri Linkov
2014-12-30 10:15                                 ` martin rudalics
2014-12-31  0:03                                   ` Juri Linkov
2014-12-31 18:38                                     ` martin rudalics

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=548D526C.3010704@gmx.at \
    --to=rudalics@gmx.at \
    --cc=19355@debbugs.gnu.org \
    --cc=juri@linkov.net \
    --cc=sdl.web@gmail.com \
    /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).