unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: Juri Linkov <juri@linkov.net>, 19355@debbugs.gnu.org
Cc: sdl.web@gmail.com
Subject: bug#19355: 25.0.50; limit the popup window height
Date: Fri, 26 Dec 2014 10:13:20 +0100	[thread overview]
Message-ID: <549D26B0.5030203@gmx.at> (raw)
In-Reply-To: <87tx0jfqi9.fsf@mail.linkov.net>

 > I tried your fixes now, and I see all improvements, but there is one thing
 > that doesn't look good.  The *Completions* buffer doesn't shrink anymore
 > if the window is larger than the buffer, e.g. after `M-x z TAB' now
 > it leaves too much empty unused screen space instead of shrinking.

Add (require 'zotelo) and (require 'zeal-at-point) to your .emacs to
make this look more behaved ;-)

In fact, the present behavior is that of Emacs 24.4 and that's what Leo
Liu asked for in this thread.  Unfortunately, nobody stepped forward to
say that the pure `fit-window-to-buffer' behavior you implemented was
better.  I think it was - but I hardly count since I practically always
use in-line completion.

So now people have to activate `temp-buffer-resize-mode' again in order
to make this work in your sense.  Unless you find a better solution.

martin

BTW: IIUC `with-displayed-buffer-window' may call `fit-window-to-buffer'
up to three times now.  Couldn't we cut that down a bit?





  reply	other threads:[~2014-12-26  9:13 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
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 [this message]
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=549D26B0.5030203@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).