From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#19355: 25.0.50; limit the popup window height Date: Sun, 14 Dec 2014 10:03:40 +0100 Message-ID: <548D526C.3010704@gmx.at> References: <87vblhtz5m.fsf@gmail.com> <548AE36C.7060606@gmx.at> <87lhmd6ms4.fsf@gmail.com> <548B2397.7080004@gmx.at> <87h9x0768r.fsf@gmail.com> <548C1324.2070605@gmx.at> <87fvcjmx2x.fsf@gmail.com> <548C9BA1.8050108@gmx.at> <87bnn7m5gm.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1418547868 24354 80.91.229.3 (14 Dec 2014 09:04:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 14 Dec 2014 09:04:28 +0000 (UTC) Cc: 19355@debbugs.gnu.org, Juri Linkov To: Leo Liu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Dec 14 10:04:21 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Y056C-00035m-Qx for geb-bug-gnu-emacs@m.gmane.org; Sun, 14 Dec 2014 10:04:20 +0100 Original-Received: from localhost ([::1]:35398 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y056C-0002QQ-Dt for geb-bug-gnu-emacs@m.gmane.org; Sun, 14 Dec 2014 04:04:20 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59100) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y0561-0002Ov-U2 for bug-gnu-emacs@gnu.org; Sun, 14 Dec 2014 04:04:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y055u-0007Gm-E5 for bug-gnu-emacs@gnu.org; Sun, 14 Dec 2014 04:04:09 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35845) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y055u-0007Gi-Ay for bug-gnu-emacs@gnu.org; Sun, 14 Dec 2014 04:04:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Y055u-0005WY-0N for bug-gnu-emacs@gnu.org; Sun, 14 Dec 2014 04:04:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 14 Dec 2014 09:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19355 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 19355-submit@debbugs.gnu.org id=B19355.141854784121227 (code B ref 19355); Sun, 14 Dec 2014 09:04:01 +0000 Original-Received: (at 19355) by debbugs.gnu.org; 14 Dec 2014 09:04:01 +0000 Original-Received: from localhost ([127.0.0.1]:45211 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y055s-0005WI-Ix for submit@debbugs.gnu.org; Sun, 14 Dec 2014 04:04:00 -0500 Original-Received: from mout.gmx.net ([212.227.15.18]:62743) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y055q-0005W5-4E for 19355@debbugs.gnu.org; Sun, 14 Dec 2014 04:03:58 -0500 Original-Received: from [88.117.61.91] ([88.117.61.91]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0MF4eJ-1YBNcK2TzH-00GM8f; Sun, 14 Dec 2014 10:03:51 +0100 In-Reply-To: <87bnn7m5gm.fsf@gmail.com> X-Provags-ID: V03:K0:9YyQai7DHHjnD21YnJp8H9F0nFgxK54n9VkQIzwMj4xf0i35us7 HMp+2DTePWT0U+p5oBw4O3cqEqjOgdE20mItjQhzHP9ZxgwkrFabmw4FAnEMT5/7zkjz+7p 47KMM4kfhCzTp1arn+239OidePr0m0keylGDj3U+et1f5s1p+7mTefi7eZq8pw5FGEbNfJW dbAsEcoj9qInfYF80X48A== X-UI-Out-Filterresults: notjunk:1; X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:97309 Archived-At: >> ,(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