From unknown Fri Aug 15 02:02:10 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#19355 <19355@debbugs.gnu.org> To: bug#19355 <19355@debbugs.gnu.org> Subject: Status: 25.0.50; limit the popup window height Reply-To: bug#19355 <19355@debbugs.gnu.org> Date: Fri, 15 Aug 2025 09:02:10 +0000 retitle 19355 25.0.50; limit the popup window height reassign 19355 emacs submitter 19355 Leo Liu severity 19355 minor thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 11 20:50:40 2014 Received: (at submit) by debbugs.gnu.org; 12 Dec 2014 01:50:40 +0000 Received: from localhost ([127.0.0.1]:43377 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XzFNP-0005Wx-R6 for submit@debbugs.gnu.org; Thu, 11 Dec 2014 20:50:40 -0500 Received: from eggs.gnu.org ([208.118.235.92]:53138) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XzFNN-0005Wk-Fq for submit@debbugs.gnu.org; Thu, 11 Dec 2014 20:50:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XzFN9-0005gW-1l for submit@debbugs.gnu.org; Thu, 11 Dec 2014 20:50:32 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:60345) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XzFN8-0005gQ-Uz for submit@debbugs.gnu.org; Thu, 11 Dec 2014 20:50:22 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54795) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XzFMz-0001Af-SF for bug-gnu-emacs@gnu.org; Thu, 11 Dec 2014 20:50:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XzFMq-0005OL-QH for bug-gnu-emacs@gnu.org; Thu, 11 Dec 2014 20:50:13 -0500 Received: from mail-pa0-x234.google.com ([2607:f8b0:400e:c03::234]:53813) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XzFMq-0005Mj-IW for bug-gnu-emacs@gnu.org; Thu, 11 Dec 2014 20:50:04 -0500 Received: by mail-pa0-f52.google.com with SMTP id eu11so6232009pac.39 for ; Thu, 11 Dec 2014 17:50:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:mime-version:content-type; bh=OnijPhGQv3B9vusVg/yDVn2kK/IMOwbC/BUphiNVbME=; b=nkLWXlMfE7oN3jlfBnRiu8k+WA2viVWijNJZs/sifGZ509fdTZG/LPCN512/2TmbSE kIL62JtF9RMkldZDklxd+8qj680P4iSKxi37/bbeD0PCINN2GzyRGQejVZ5qaLMb54W2 sOvwdmQ1+eycjWF2jwoHL3j4GunPlOkSSGwvaDqpIEtUpRyObA1aF4SGbR2I64g/Tk0q 6uxg+pGV3NQfc0xOWCNNk0/o883TW/9yxbGbZRhC1ibrhH6PSa78XHXLSQgt1KJ1xagn Ih0gyZLOTMh5QDzBfIMYWNchJq1fWOC68DWlaAMcOvTPPStynf0uexFkoel8As7vRyCt cmyA== X-Received: by 10.68.224.65 with SMTP id ra1mr22039769pbc.67.1418349003680; Thu, 11 Dec 2014 17:50:03 -0800 (PST) Received: from fortuna ([114.248.243.62]) by mx.google.com with ESMTPSA id bj11sm2518180pdb.1.2014.12.11.17.50.01 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 11 Dec 2014 17:50:03 -0800 (PST) From: Leo Liu To: bug-gnu-emacs@gnu.org Subject: 25.0.50; limit the popup window height X-Debbugs-CC: Juri Linkov Date: Fri, 12 Dec 2014 09:49:57 +0800 Message-ID: <87vblhtz5m.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) The popup window from, for example, minibuffer-completion-help, can be so tall that the main editing window is squeezed to a few lines which has the unfortunate side-effect of moving point, pushing some buffer text out of the window. This is quite an annoyance. To see this: 1. Find an elisp file, with the form under edit centred around the window. 2. Try complete for `(s' and assume the window split will be done vertically. Leo From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 12 07:45:52 2014 Received: (at 19355) by debbugs.gnu.org; 12 Dec 2014 12:45:52 +0000 Received: from localhost ([127.0.0.1]:43549 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XzPbU-0000gF-8F for submit@debbugs.gnu.org; Fri, 12 Dec 2014 07:45:52 -0500 Received: from mout.gmx.net ([212.227.17.21]:62650) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XzPbS-0000g3-UD for 19355@debbugs.gnu.org; Fri, 12 Dec 2014 07:45:51 -0500 Received: from [62.47.250.254] ([62.47.250.254]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0MMTZa-1Y2Bom2N7W-008Jzf; Fri, 12 Dec 2014 13:45:42 +0100 Message-ID: <548AE36C.7060606@gmx.at> Date: Fri, 12 Dec 2014 13:45:32 +0100 From: martin rudalics MIME-Version: 1.0 To: Leo Liu , 19355@debbugs.gnu.org Subject: Re: bug#19355: 25.0.50; limit the popup window height References: <87vblhtz5m.fsf@gmail.com> In-Reply-To: <87vblhtz5m.fsf@gmail.com> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:PBP7D9tXGZLD98OkLtZogV/rmqSWs+OPDvqd/mA9uv3cY24whrr pXfDu3AnBO0BuvQPoO74oB5aDAEWQc+G9kX8bgJN8KiO1F1ZfrrZl1ZA4a2eeEMhBsmAp81 GQc5Y0x3CDVOqlZJVNVkahNJuY5p3cWEFGr43GRZLlRCN/Z3BZOXCgx0XOLYPCpk2uL+798 rl9FPXg/+UJvj9EbO4KKQ== X-UI-Out-Filterresults: notjunk:1; X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 19355 Cc: Juri Linkov X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) > The popup window from, for example, minibuffer-completion-help, can be > so tall that the main editing window is squeezed to a few lines This number of lines is specified by `window-min-height'. > which > has the unfortunate side-effect of moving point, pushing some buffer > text out of the window. This is quite an annoyance. To see this: > > 1. Find an elisp file, with the form under edit centred around the > window. > > 2. Try complete for `(s' and assume the window split will be done > vertically. We can add the MAX/MIN-HEIGHT/WIDTH arguments of `fit-window-to-buffer' to the alist entries recognized by `display-buffer'. Then `minibuffer-completion-help' and friends could set them in a way we'd have to choose yet. Or we make these globally customizable. I'm currently rewriting the code for *Completions* windows to make sure they don't get obscured by an expanding minibuffer window. If you have a good proposal I can make the necessary changes right away. martin From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 12 08:06:08 2014 Received: (at 19355) by debbugs.gnu.org; 12 Dec 2014 13:06:08 +0000 Received: from localhost ([127.0.0.1]:43555 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XzPv6-0001CK-4L for submit@debbugs.gnu.org; Fri, 12 Dec 2014 08:06:08 -0500 Received: from mail-pd0-f170.google.com ([209.85.192.170]:51101) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XzPv4-0001Bp-8M for 19355@debbugs.gnu.org; Fri, 12 Dec 2014 08:06:06 -0500 Received: by mail-pd0-f170.google.com with SMTP id v10so7162147pde.1 for <19355@debbugs.gnu.org>; Fri, 12 Dec 2014 05:06:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:face:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=ZAv7obGZ9JYjdMQLiVzHdWUdKs/I7wEKuPRGfOZe7gY=; b=hjzd2ylGCbtAvcKLwTu/YM5E/UeZXYP8TG/jypKc4/xFp0mdOekrTJnNidyOkEhvQt fBL3WjvVtPNYrMrg8fdxWUuJwHPmgK2d8+ddNVw0gxDmzbPeVyuWnl0jq3xhYeEpC1Hn Vn+fS8mMJSzmEru2fMQDeQSDh23+iNHA058SOpjuxh5QJetqyqo3QmgmZjBlmB842jjV 5clEI+nJE2g7cPJQYhxcyX05LBcyvqDF5kl4v9nbozki5ZS9buERjV/xTiqFhfTLWTQq RD+FOds/8q6murqMFPnU9pZSmK9t37WbwzTmGWUGvsJeK6RdPT/W1pDhJTq7GF8BuE4y mJTQ== X-Received: by 10.68.167.99 with SMTP id zn3mr26644113pbb.30.1418389560481; Fri, 12 Dec 2014 05:06:00 -0800 (PST) Received: from fortuna ([114.248.243.62]) by mx.google.com with ESMTPSA id y3sm1562741pbt.44.2014.12.12.05.05.54 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 12 Dec 2014 05:05:59 -0800 (PST) From: Leo Liu To: martin rudalics Subject: Re: bug#19355: 25.0.50; limit the popup window height References: <87vblhtz5m.fsf@gmail.com> <548AE36C.7060606@gmx.at> Face: iVBORw0KGgoAAAANSUhEUgAAACgAAAAoBAMAAAB+0KVeAAAAGFBMVEUzRVhbQj4eZqO6SjnT eWpxnMetm5b6/PmidmqrAAAAAWJLR0QAiAUdSAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1F B9cBBwMLBfKABCMAAAFoSURBVCjPtZI9a8MwEIaFoc7aYDdelQMna0Em3tsSr0XUeE2Q6a22a+v+ fk8fSSBkbDUI6dHpfe9OEvRgiD+ApqKPJgJeB6iUUXWESjUe/ig38AJrhqqvaU2nTIXbNvOQ40fe qdry4kyGoVWsfCQalXpHnJGM01wjWdYbMlXNFdsZDO69m9aqNqxEJqTEgbM5OF7wlEfIoll1Ked4 LbM5X2EdILLokEdmI8z7g5cKED0cuTC930TYhy7ZDekkXVGw/L60TguJePPxcJF48lpsSUWEA/Ju jGFNgJOXc4Hz7TmAdBeu5Ve4AEjOi2/2jfd3cAJZ+IbNrvdjgBZY01b+HTuG3cLws6BJZqVOj/pp T0OqVwx3rFq+QmJwx3loK5JSLEhDIt62+mtC2C+SrAUxEbV6C6v2BRbd6pILBKFpepKZJHgGgrKF sptSUUoczpwg2pQ7ZH1tgs0ou/917mzz6Cs2//C978cv5l07L02orIEAAAAASUVORK5CYII= Date: Fri, 12 Dec 2014 21:05:47 +0800 In-Reply-To: <548AE36C.7060606@gmx.at> (martin rudalics's message of "Fri, 12 Dec 2014 13:45:32 +0100") Message-ID: <87lhmd6ms4.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (CentOS Linux 7 (Core)) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 19355 Cc: 19355@debbugs.gnu.org, Juri Linkov X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On 2014-12-12 13:45 +0100, martin rudalics wrote: > I'm currently rewriting the code for *Completions* windows to make sure > they don't get obscured by an expanding minibuffer window. If you have > a good proposal I can make the necessary changes right away. Are we talking about the same thing? I am worrying about *Completions* buffer and the like obscuring my working buffer. Leo From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 12 12:19:44 2014 Received: (at 19355) by debbugs.gnu.org; 12 Dec 2014 17:19:45 +0000 Received: from localhost ([127.0.0.1]:44143 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XzTsW-0007XL-JP for submit@debbugs.gnu.org; Fri, 12 Dec 2014 12:19:44 -0500 Received: from mout.gmx.net ([212.227.17.21]:53483) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XzTsU-0007X5-RE for 19355@debbugs.gnu.org; Fri, 12 Dec 2014 12:19:43 -0500 Received: from [188.22.233.191] ([188.22.233.191]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0MbKXI-1YIFkB1kIu-00Im7J; Fri, 12 Dec 2014 18:19:27 +0100 Message-ID: <548B2397.7080004@gmx.at> Date: Fri, 12 Dec 2014 18:19:19 +0100 From: martin rudalics MIME-Version: 1.0 To: Leo Liu Subject: Re: bug#19355: 25.0.50; limit the popup window height References: <87vblhtz5m.fsf@gmail.com> <548AE36C.7060606@gmx.at> <87lhmd6ms4.fsf@gmail.com> In-Reply-To: <87lhmd6ms4.fsf@gmail.com> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:eBiKUubyHk5odf0k2spChQfwp1Jz+pOaQLiukHLYDm2BHnJ1E3x NEoTzY0/y2k2a3Q2a+2y8wOMQgEKKIH1GY2Uz4eguBo0nYjMFdEsU8H0RY7DnPxUdOqDsQF g5c88/d8ZbTTt8Bhp54HPv5d6SiJk4XPNRGoxiZ0ZJI06SeFGcgvE2OIKnjYhX2CWx0JrXB 9yBZYqMLK4Ft7x4XSp0fQ== X-UI-Out-Filterresults: notjunk:1; X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 19355 Cc: 19355@debbugs.gnu.org, Juri Linkov X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) >> I'm currently rewriting the code for *Completions* windows to make sure >> they don't get obscured by an expanding minibuffer window. If you have >> a good proposal I can make the necessary changes right away. > > Are we talking about the same thing? I am worrying about *Completions* > buffer and the like obscuring my working buffer. I'm fixing `with-displayed-buffer-window' and `fit-window-to-buffer' for displaying *Completions* from `minibuffer-completion-help'. So if you have a proposal pertinent to the latter tell me so ASAP. In that case I can make a concerted change without having to reexamine code first. martin From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 12 19:17:55 2014 Received: (at 19355) by debbugs.gnu.org; 13 Dec 2014 00:17:55 +0000 Received: from localhost ([127.0.0.1]:44285 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XzaPC-0002UE-P9 for submit@debbugs.gnu.org; Fri, 12 Dec 2014 19:17:55 -0500 Received: from mail-pd0-f172.google.com ([209.85.192.172]:42117) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XzaPB-0002U1-3J for 19355@debbugs.gnu.org; Fri, 12 Dec 2014 19:17:53 -0500 Received: by mail-pd0-f172.google.com with SMTP id y13so8076397pdi.17 for <19355@debbugs.gnu.org>; Fri, 12 Dec 2014 16:17:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:face:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=KEKJTo2nIzaSOl74e5cM/kKVj5R9jDzP4EIJYUslT7s=; b=ygyYsmyTEAL9L0U6CUqz6J1wH4b4tdNtdlBA0WKimZ7CDi3XQvf448ZEggiyJV0d4N H7QzUD2TH0q9xUzoR51IfMnPKe5kATjiBfoyE9boXT/xe/+mNO1f7l30hnhmQ+tRt3zR uFWNV7lxrtNV1Rgi4KhhRD5tiYA33nyfScLKMncQdh20ZhNrvcbyBRmsCIRJem2yg90p QaejWho6sRNm69SPKoAARC8NWCynJ62qadVbUAX4SWXPUGBKUUcg2Uve9sjhfcNuvhMl NLpuR0yRmFJxkVXClFykyBQjNuvsvQPUtPvGuEGGI3dIxRLsudfT98ha9p3EZhc2r/EW a91w== X-Received: by 10.66.242.238 with SMTP id wt14mr31113400pac.60.1418429867000; Fri, 12 Dec 2014 16:17:47 -0800 (PST) Received: from fortuna ([114.248.243.62]) by mx.google.com with ESMTPSA id cb2sm2558068pac.24.2014.12.12.16.17.44 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 12 Dec 2014 16:17:46 -0800 (PST) From: Leo Liu To: martin rudalics Subject: Re: bug#19355: 25.0.50; limit the popup window height References: <87vblhtz5m.fsf@gmail.com> <548AE36C.7060606@gmx.at> <87lhmd6ms4.fsf@gmail.com> <548B2397.7080004@gmx.at> Face: iVBORw0KGgoAAAANSUhEUgAAACkAAAApAQAAAACAGz1bAAABKElEQVQYlWNg3NIt5FDPUPt7 4+X79Qyucz5/ugik+L2PBgKpyphaIK921q23QDnG0NBQoMr/vaWl9f8ZLL78uPv5PwN7RETfzXoG jhmFz27XM0RXmpuY/WfY+fv0Mc56BvFybfXA/wwL5t/wF61n2PU59axXPcOVzbmSW/8zrNt1benC /ww70hqUU/4zKCtrT9jwn8FhwynbufUMendE2aLqGRpdX9al1zM8eh17lKeeQcTMrdD5P8P3j/YT Q/8zXHSb7p1Qz/C4OM2JuZ7hgtI7K6AjqsMnf8j4z8C6xG1tw3+GqpqvsVn/GTzmpD9j/8/wP/oZ S/l/Bka+QO/g/wy15ueeFQL9N1O8mPU/g+umV3t1gdT0/1bTgHLqYVeXAlWKpMWt+w8Az82C9nHf X0cAAAAASUVORK5CYII= Date: Sat, 13 Dec 2014 08:17:40 +0800 In-Reply-To: <548B2397.7080004@gmx.at> (martin rudalics's message of "Fri, 12 Dec 2014 18:19:19 +0100") Message-ID: <87h9x0768r.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (CentOS Linux 7 (Core)) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 19355 Cc: 19355@debbugs.gnu.org, Juri Linkov X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On 2014-12-12 18:19 +0100, martin rudalics wrote: > I'm fixing `with-displayed-buffer-window' and `fit-window-to-buffer' for > displaying *Completions* from `minibuffer-completion-help'. So if you > have a proposal pertinent to the latter tell me so ASAP. In that case I > can make a concerted change without having to reexamine code first. Thanks for the clarification. We are on the same page. I don't have anything specific to add. Just want to point out that fit-window-to-buffer is probably not the cause for this specific bug. The contents of the elisp buffer can be a few windowful and I am still seeing it being squeezed to 4 lines. Leo From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 13 05:21:45 2014 Received: (at 19355) by debbugs.gnu.org; 13 Dec 2014 10:21:45 +0000 Received: from localhost ([127.0.0.1]:44398 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XzjpZ-0000bV-8g for submit@debbugs.gnu.org; Sat, 13 Dec 2014 05:21:45 -0500 Received: from mout.gmx.net ([212.227.15.19]:51968) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XzjpW-0000bI-NO for 19355@debbugs.gnu.org; Sat, 13 Dec 2014 05:21:43 -0500 Received: from [93.82.77.214] ([93.82.77.214]) by mail.gmx.com (mrgmx001) with ESMTPSA (Nemesis) id 0MK0Np-1Xyusa3p5R-001O97; Sat, 13 Dec 2014 11:21:34 +0100 Message-ID: <548C1324.2070605@gmx.at> Date: Sat, 13 Dec 2014 11:21:24 +0100 From: martin rudalics MIME-Version: 1.0 To: Leo Liu Subject: Re: bug#19355: 25.0.50; limit the popup window height References: <87vblhtz5m.fsf@gmail.com> <548AE36C.7060606@gmx.at> <87lhmd6ms4.fsf@gmail.com> <548B2397.7080004@gmx.at> <87h9x0768r.fsf@gmail.com> In-Reply-To: <87h9x0768r.fsf@gmail.com> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:A6JfBwU32mfA9iILtNxSsyp/I0u/fw2jBM5cVfpR7GAH+EUgfUx zR3R/bZmI0KoLvrAxvzqiLOLNSRDPIz/SlX1fe+eCpq8A8FxBUQPCVx6VTrvPb1Z7V7PW9b Ve+upu/QEGpWkds6GKK9gbX7YFK35O5K6tNBKVfxz6kQz11ZS3HwaoXqOL+tB2bLjiWWTQY RDPu91/rBBtfZ9zxngKrw== X-UI-Out-Filterresults: notjunk:1; X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 19355 Cc: 19355@debbugs.gnu.org, Juri Linkov X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) > Thanks for the clarification. We are on the same page. I don't have > anything specific to add. Just want to point out that > fit-window-to-buffer is probably not the cause for this specific bug. > The contents of the elisp buffer can be a few windowful and I am still > seeing it being squeezed to 4 lines. There's no specific bug here. What you report can be easily considered a user error like choosing a too broad base for completions or failing to appropriately customize the option `window-min-height'. But even if we decide that Emacs made a bad choice when making the *Completions* that large we'd have to decide which heuristics we want to apply instead, like - use `shrink-window-if-larger-than-buffer' instead of `fit-window-to-buffer', - explicitly pass a hardocded maximum height/width argument to `fit-window-to-buffer' (requires some minor changes to `with-displayed-buffer-window') - add some options that allow users to specify the minimum and maximum sizes of _any_ window resized by `fit-window-to-buffer', - tell users that they should customize `display-buffer' appropriately (in this case `with-displayed-buffer-window' would have to do much more work than it does now). In any case, if you want the present behavior to change, you have to express what you want Emacs to do instead ;-) As an aside, I observe that displaying the *Completions* window currently induces three calls to `fit-window-to-buffer' which aren't that cheap, especially when the buffer is large. martin From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 13 09:41:29 2014 Received: (at 19355) by debbugs.gnu.org; 13 Dec 2014 14:41:29 +0000 Received: from localhost ([127.0.0.1]:44473 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xznsv-0008QY-1y for submit@debbugs.gnu.org; Sat, 13 Dec 2014 09:41:29 -0500 Received: from mail-pd0-f170.google.com ([209.85.192.170]:52844) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xznss-0008QK-QX for 19355@debbugs.gnu.org; Sat, 13 Dec 2014 09:41:27 -0500 Received: by mail-pd0-f170.google.com with SMTP id v10so8936318pde.1 for <19355@debbugs.gnu.org>; Sat, 13 Dec 2014 06:41:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:face:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=a9d52rVhlIYHD3pcrWfYNwGtsxwOL8CDtcYfu8xUquE=; b=TK8F+4ENvwiJ7Jv6T4P3G28+3QI4MIGGzF6O5kZqestuM5rZZzGGD3kZafDklXnpQE sVeZVLn72ZtzxwMK8ke62HXQ19eeIba/GPEry3zrg9y3BX1wwVQbbVerCR5gY3Zl2AwY HBCnWKPGHsaB7KS9d9XMw1+JU/dO9IPereyKktYUPZ0prP4nxoiB4pfA4bGAg6s6WGpM 3XkVxEvszQGrogm3jzBp+MNh9oOqi+ngxd905YrFN2qFBgPKV19IrKDepGYod58Em/mM qfc/nkaOLgfeLUhcvr52XKsN+Yofdm6ON3c7plUVY+Ziu+PhTNfiOzFldtZI3iPg+Y5u Gy2A== X-Received: by 10.70.35.207 with SMTP id k15mr35238740pdj.166.1418481681047; Sat, 13 Dec 2014 06:41:21 -0800 (PST) Received: from fortuna ([114.248.243.62]) by mx.google.com with ESMTPSA id v2sm4422227pbz.39.2014.12.13.06.41.17 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 13 Dec 2014 06:41:20 -0800 (PST) From: Leo Liu To: martin rudalics Subject: Re: bug#19355: 25.0.50; limit the popup window height 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> Face: iVBORw0KGgoAAAANSUhEUgAAACgAAAAoBAMAAAB+0KVeAAAAG1BMVEUAAAA9Cgm3Hx1WWFWA gn+WmJWsrqv4+vcCAwCRl2MkAAAAAXRSTlMAQObYZgAAAAFiS0dEAIgFHUgAAAAJcEhZcwAAAYoA AAGKATOXMFgAAAAHdElNRQfXAQwDNR+ZJmElAAABIklEQVQoz22SPW+DQAyGWUq65qasd9PNUSX4 AZHK2C1rJy5jpDS4IwRVup9dn7GNafpKIPPgzztXFSujqq1eM2n8h22oMkvxI/i9C97kRfMRUN55 dS3BrsAwBXUtMLAO4lryh8kTjOxKpQNniNxAgZOEe4bZwsDTFhKdqZRLNII4OQNHhEuq/RMkm6Cj TnnEA/fk0BorcYn5qA3oaeAxbaBOLrX+9G48NZ2Fzc2tzDM8Q+tMypEOqYHh8mAWaaK3U/cDMOT5 aMZMABgPXc7zPMs1A8DXO756GFJ/4fMEq47hTsAdn5avoxZ4ywl0c2w4Flu2Ybeyb3S+EqxX2DYA H8veJGEDTnHnrXvRaPyt+2kSfK6rfBZ2tUtfP/mR+pR6sX8BUZ/cDV7tvkoAAAAASUVORK5CYII= Date: Sat, 13 Dec 2014 22:41:10 +0800 In-Reply-To: <548C1324.2070605@gmx.at> (martin rudalics's message of "Sat, 13 Dec 2014 11:21:24 +0100") Message-ID: <87fvcjmx2x.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (CentOS Linux 7 (Core)) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 19355 Cc: 19355@debbugs.gnu.org, Juri Linkov X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On 2014-12-13 11:21 +0100, martin rudalics wrote: > There's no specific bug here. What you report can be easily considered > a user error like choosing a too broad base for completions or failing > to appropriately customize the option `window-min-height'. Try emacs 24.4 and compare. I think it is a bug. Leo From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 13 15:04:06 2014 Received: (at 19355) by debbugs.gnu.org; 13 Dec 2014 20:04:06 +0000 Received: from localhost ([127.0.0.1]:45056 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xzsv8-0003Ud-9e for submit@debbugs.gnu.org; Sat, 13 Dec 2014 15:04:06 -0500 Received: from mout.gmx.net ([212.227.17.22]:61676) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xzsv5-0003U8-VQ for 19355@debbugs.gnu.org; Sat, 13 Dec 2014 15:04:04 -0500 Received: from [188.22.234.26] ([188.22.234.26]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0LnDof-1XRtwm0djR-00hP5p; Sat, 13 Dec 2014 21:03:57 +0100 Message-ID: <548C9BA1.8050108@gmx.at> Date: Sat, 13 Dec 2014 21:03:45 +0100 From: martin rudalics MIME-Version: 1.0 To: Leo Liu Subject: Re: bug#19355: 25.0.50; limit the popup window height 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> In-Reply-To: <87fvcjmx2x.fsf@gmail.com> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:3+yCk9sPYFoHnrgU79UXCWI5RvGzR2WlSntAUwYEgkL4biAP65d Ncl4VlauI0qZ/C9+0zLb3blrS/OssonWD6Hp6IO03tW3NNx3SBrM0tZF719G/59BylPnd/b ZaP/9SL9kXsjBVNuoJgwcg8ZJHlbJuEvB4kY4FvUu8yeK1bKyuHPvFSMVya7gAx98tMsPzq RPZ1wSRpNrjrkKe+e9qMA== X-UI-Out-Filterresults: notjunk:1; X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 19355 Cc: 19355@debbugs.gnu.org, Juri Linkov X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) > Try emacs 24.4 and compare. I think it is a bug. You're right. The behavior changed completely. Could you try to replace in `minibuffer-completion-help' the form (window-height . fit-window-to-buffer) with ,(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)? Thanks, martin From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 13 19:38:00 2014 Received: (at 19355) by debbugs.gnu.org; 14 Dec 2014 00:38:00 +0000 Received: from localhost ([127.0.0.1]:45110 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XzxCC-0001Ym-1c for submit@debbugs.gnu.org; Sat, 13 Dec 2014 19:38:00 -0500 Received: from mail-pd0-f176.google.com ([209.85.192.176]:61015) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XzxC9-0001YX-Pe for 19355@debbugs.gnu.org; Sat, 13 Dec 2014 19:37:58 -0500 Received: by mail-pd0-f176.google.com with SMTP id r10so7397993pdi.35 for <19355@debbugs.gnu.org>; Sat, 13 Dec 2014 16:37:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:face:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=XnaqHsW9K5m6/T8HxLGHtJlLOSkCxZMj0RmvNMSjbXc=; b=CWz3Yyj3nhKbjbkqsnJCnK2c48LuCFlYFigCAS+XXD7dkwN0N5VeHfr3aEEg7T8aA3 B02YQmRtXpkkK5ZmzImZYN6NcqSCjuCVsf+LJMAHLRrx/QgwzoC/kLPwOoynvhsi+r8N tcb9V/5YKSVBbRSCCdxne1pq4jYLMZYINN3uH+NtPXFXe2yyt2iZ+wLe8hUTrhtH6kKN lkWKgA1FEy7vM6x3jrw3d76ebe9lXlU/kOkgOlLTZA/ZXN9vB9LlTGD7rbxegJnOAvnu A03TSHNSPCtpRROd2fn8CgrAIdfa6bY1TUpmRIwxu3hjKsODwd67pgWxVion5e2xJF2X r0Gw== X-Received: by 10.66.65.202 with SMTP id z10mr39312510pas.104.1418517472065; Sat, 13 Dec 2014 16:37:52 -0800 (PST) Received: from fortuna ([114.248.243.62]) by mx.google.com with ESMTPSA id my2sm5174051pdb.86.2014.12.13.16.37.48 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 13 Dec 2014 16:37:51 -0800 (PST) From: Leo Liu To: martin rudalics Subject: Re: bug#19355: 25.0.50; limit the popup window height 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> Face: iVBORw0KGgoAAAANSUhEUgAAACgAAAAoBAMAAAB+0KVeAAAAMFBMVEUaFRZLMy1dTENxVzKQ WiCrXQ97cmO/dSqSh3akjGTApXy5sJ7Sxo/Sz8Xo6eP9//xJbkruAAAAAWJLR0QAiAUdSAAAAAlw SFlzAAACxQAAAsUBidZ/7wAAAAd0SU1FB9cBBwMJOwHXewoAAAIBSURBVCjPVdNBiNNAFADQ6J4F x3hThHZBBC+WCFI8SS0iezRDcMHLHkLAg6gJH/fgYQ9xYlj2sLK4KHgqCgXFhda2Idmr4kkQPZQ0 nkQMbTypbMmMM2m7ZgYSmMef/5OZPwo7HFnx3uKPcmj0Dht1LWZJ+Hvr7dIFZXRUwl9VRTuuKDJ+ U44gjscknK4hhJaCkYRsWjmBtLqXlJAG2wipNe18OZJu1BBq1E8xafl4s6Jq2mUZGftU1y7CCxnp FVUDWJXx4C66BKBnErbuoaYNtoRTu6EZBsCbMn7W+5qOAR6WvxNOby9jHWC9hAf3n304CdiAByXs 3Nh9roLDkyb/sWV712vYwaLSAn8CPMHIAAzOPDKP2COAFm4Y4ODVWc6xG7KXsN7UeUJjjimx2uwd gCgNhr0i8C/xyCD5CiCKAMY3Bf5oDzx//w/fimscdcAZU2jv9sedx6+nYPPFIoWI/GK6QZ+EFGOR ErAjCnV3vPZ7XqlTIMbOLY7fLcvvmT7rXNWaGDexIY44N12TG2PDp7vqyl57dnCeuWwyNpnEURxk fTbDYeBnKRn4oejPYI4sH6WviBumEZ/GxX4X/x6EcURFZ7E071bjQGAxpcOAEOJuTiroDEea5Szv rVWLYfl7ZiQwSUToxrkux7OLixAWGz22+HIyWTRYcVfomOwvzusfjtVIGgLHf3MAAAAASUVORK5C YII= Date: Sun, 14 Dec 2014 08:37:45 +0800 In-Reply-To: <548C9BA1.8050108@gmx.at> (martin rudalics's message of "Sat, 13 Dec 2014 21:03:45 +0100") Message-ID: <87bnn7m5gm.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (CentOS Linux 7 (Core)) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 19355 Cc: 19355@debbugs.gnu.org, Juri Linkov X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On 2014-12-13 21:03 +0100, martin rudalics wrote: > ,(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. I think they all use fit-window-to-buffer underneath so it will take up as much height as possible. Leo From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 14 04:04:00 2014 Received: (at 19355) by debbugs.gnu.org; 14 Dec 2014 09:04:01 +0000 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 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 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 Message-ID: <548D526C.3010704@gmx.at> Date: Sun, 14 Dec 2014 10:03:40 +0100 From: martin rudalics MIME-Version: 1.0 To: Leo Liu Subject: Re: bug#19355: 25.0.50; limit the popup window height 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> In-Reply-To: <87bnn7m5gm.fsf@gmail.com> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:9YyQai7DHHjnD21YnJp8H9F0nFgxK54n9VkQIzwMj4xf0i35us7 HMp+2DTePWT0U+p5oBw4O3cqEqjOgdE20mItjQhzHP9ZxgwkrFabmw4FAnEMT5/7zkjz+7p 47KMM4kfhCzTp1arn+239OidePr0m0keylGDj3U+et1f5s1p+7mTefi7eZq8pw5FGEbNfJW dbAsEcoj9qInfYF80X48A== X-UI-Out-Filterresults: notjunk:1; X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 19355 Cc: 19355@debbugs.gnu.org, Juri Linkov X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) >> ,(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 From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 16 19:43:11 2014 Received: (at 19355) by debbugs.gnu.org; 17 Dec 2014 00:43:11 +0000 Received: from localhost ([127.0.0.1]:48273 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y12hr-0006JB-A9 for submit@debbugs.gnu.org; Tue, 16 Dec 2014 19:43:11 -0500 Received: from mail-pa0-f45.google.com ([209.85.220.45]:45548) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y12hq-0006J4-3G for 19355@debbugs.gnu.org; Tue, 16 Dec 2014 19:43:10 -0500 Received: by mail-pa0-f45.google.com with SMTP id lf10so14560526pab.4 for <19355@debbugs.gnu.org>; Tue, 16 Dec 2014 16:43:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:face:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=bKjDasfrpKTRJAVWLW+3k3CgayNiau7IrXV6zxvc4vc=; b=HDkRWnsaW+VRxR4TiV1D89bH57e8CDhX2LQ5J8Rkke8qbhCVDXiWbSD5oX7lisNa83 XFyhry04HVmc1C29FUhwm43lRPOZ03OOQMsCANTjppGfHfQq7iQoy4b6pODvSg4L4pDH BZJPUpB4oE9EBHu/zwGW1RpBW8HZKRXSZ1Xo2+1E13RVRW0h9E5Sqkf8KMafb7TLREB5 yzU00ICvuX+iRb2ELbEUggqR+tRknZgYvgQNbY1G7PyiOO30c9XAaQsBUcyolTxHATR3 TWbZDglEAMCXX596/Ah1hJASX3/yaTMkNlginDIfkRRlDjPB7847Zb/7w/hFg4TG8c81 nFcg== X-Received: by 10.68.247.98 with SMTP id yd2mr61900548pbc.38.1418776989113; Tue, 16 Dec 2014 16:43:09 -0800 (PST) Received: from fortuna ([114.248.252.48]) by mx.google.com with ESMTPSA id ih10sm2153962pbc.1.2014.12.16.16.43.06 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 16 Dec 2014 16:43:08 -0800 (PST) From: Leo Liu To: martin rudalics Subject: Re: bug#19355: 25.0.50; limit the popup window height 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> <548D526C.3010704@gmx.at> Face: iVBORw0KGgoAAAANSUhEUgAAACgAAAAoBAMAAAB+0KVeAAAAMFBMVEUaFRZLMy1dTENxVzKQ WiCrXQ97cmO/dSqSh3akjGTApXy5sJ7Sxo/Sz8Xo6eP9//xJbkruAAAAAWJLR0QAiAUdSAAAAAlw SFlzAAACxQAAAsUBidZ/7wAAAAd0SU1FB9cBBwMJOwHXewoAAAIBSURBVCjPVdNBiNNAFADQ6J4F x3hThHZBBC+WCFI8SS0iezRDcMHLHkLAg6gJH/fgYQ9xYlj2sLK4KHgqCgXFhda2Idmr4kkQPZQ0 nkQMbTypbMmMM2m7ZgYSmMef/5OZPwo7HFnx3uKPcmj0Dht1LWZJ+Hvr7dIFZXRUwl9VRTuuKDJ+ U44gjscknK4hhJaCkYRsWjmBtLqXlJAG2wipNe18OZJu1BBq1E8xafl4s6Jq2mUZGftU1y7CCxnp FVUDWJXx4C66BKBnErbuoaYNtoRTu6EZBsCbMn7W+5qOAR6WvxNOby9jHWC9hAf3n304CdiAByXs 3Nh9roLDkyb/sWV712vYwaLSAn8CPMHIAAzOPDKP2COAFm4Y4ODVWc6xG7KXsN7UeUJjjimx2uwd gCgNhr0i8C/xyCD5CiCKAMY3Bf5oDzx//w/fimscdcAZU2jv9sedx6+nYPPFIoWI/GK6QZ+EFGOR ErAjCnV3vPZ7XqlTIMbOLY7fLcvvmT7rXNWaGDexIY44N12TG2PDp7vqyl57dnCeuWwyNpnEURxk fTbDYeBnKRn4oejPYI4sH6WviBumEZ/GxX4X/x6EcURFZ7E071bjQGAxpcOAEOJuTiroDEea5Szv rVWLYfl7ZiQwSUToxrkux7OLixAWGz22+HIyWTRYcVfomOwvzusfjtVIGgLHf3MAAAAASUVORK5C YII= Date: Wed, 17 Dec 2014 08:43:03 +0800 In-Reply-To: <548D526C.3010704@gmx.at> (martin rudalics's message of "Sun, 14 Dec 2014 10:03:40 +0100") Message-ID: <87ppbj14yw.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (CentOS Linux 7 (Core)) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 19355 Cc: 19355@debbugs.gnu.org, Juri Linkov X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On 2014-12-14 10:03 +0100, martin rudalics wrote: > 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 got the same thing with or without temp-buffer-resize-mode. My concern is with something similar to the first experiment i.e. C-h f set- TAB. What we see in C-h f set- TAB is not problematic because point is in the minibuffer and the popup doesn't move it around. The problematic case is when I am developing an elisp program in a window and do a completion-at-point for `(set-'. The popup takes up so much height that it often changes view in my editing buffer, i.e. move point to close to the top of the frame, push some buffer contents out of view etc. I.e. Change +-------- | | |_ | | | +-------- to +-------- |_ +-------- | | | | +-------- where _ is point. When the popup goes away (*Completions* goes away after some command.), my window view now looks like: +-------- |_ | | | | | +-------- Leo From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 17 02:08:57 2014 Received: (at 19355) by debbugs.gnu.org; 17 Dec 2014 07:08:57 +0000 Received: from localhost ([127.0.0.1]:48393 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y18jB-0007Yt-D6 for submit@debbugs.gnu.org; Wed, 17 Dec 2014 02:08:57 -0500 Received: from mout.gmx.net ([212.227.17.22]:53670) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y18j8-0007Yk-Ua for 19355@debbugs.gnu.org; Wed, 17 Dec 2014 02:08:55 -0500 Received: from [62.46.214.220] ([62.46.214.220]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0MUCTO-1YS7oE2bK6-00QzC6; Wed, 17 Dec 2014 08:08:52 +0100 Message-ID: <54912BFF.5000401@gmx.at> Date: Wed, 17 Dec 2014 08:08:47 +0100 From: martin rudalics MIME-Version: 1.0 To: Leo Liu Subject: Re: bug#19355: 25.0.50; limit the popup window height 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> <548D526C.3010704@gmx.at> <87ppbj14yw.fsf@gmail.com> In-Reply-To: <87ppbj14yw.fsf@gmail.com> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:LK7kDZgini2uPeFuDoJSt3muZ6XjdY0cCw8vXMA1fgJoqhjvTz/ 4fXczlCDGfOhEwKxd9sQJ5DFvj1EoM0rkja1dl1Nh1IDMdkTUCCTL7i1VTJPCg+ELDGOYX4 XeYayX95XDvXntdIht4eD1NDN12I0du8sn2V2ldorVpTMR+w0gHUhMCuftD6+oJWOiWptWv eLN4+X5g/Gc3Hd1WDi1UQ== X-UI-Out-Filterresults: notjunk:1; X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 19355 Cc: 19355@debbugs.gnu.org, Juri Linkov X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) > I got the same thing with or without temp-buffer-resize-mode. [...] > The problematic case is when I am developing an elisp program in a > window and do a completion-at-point for `(set-'. The popup takes up so > much height that it often changes view in my editing buffer, i.e. move > point to close to the top of the frame, push some buffer contents out of > view etc. [...] I think I understand your problem but I don't understand how you can still see it after the change I proposed. Are you sure you applied it and recompiled the associated functions? If so, and the problem persists, then please try to find out (1) why `fit-window-to-buffer' apparently still gets called even if `temp-buffer-resize-mode' is off and (2) why apparently `temp-buffer-max-width' is not observed when `temp-buffer-resize-mode' is on. (In both cases I usually find it best to re-evaluate the involved files, edebug `fit-window-to-buffer' / `resize-temp-buffer-window' and get a backtrace to find out how they got called.) martin From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 19 18:10:51 2014 Received: (at 19355) by debbugs.gnu.org; 19 Dec 2014 23:10:51 +0000 Received: from localhost ([127.0.0.1]:51965 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y26h8-000769-Uu for submit@debbugs.gnu.org; Fri, 19 Dec 2014 18:10:51 -0500 Received: from mail-pa0-f54.google.com ([209.85.220.54]:56005) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y26h6-000760-Fh for 19355@debbugs.gnu.org; Fri, 19 Dec 2014 18:10:48 -0500 Received: by mail-pa0-f54.google.com with SMTP id fb1so2090739pad.27 for <19355@debbugs.gnu.org>; Fri, 19 Dec 2014 15:10:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:face:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=uNzo0yolqeSpKddA+VvxZV2r7fpfKC6YmnT82Yrp2CI=; b=wrJc4QrWTaTmB5tPYgsuTW4SVcXaBIB9k/4RFEK8M4mJNXNUzaMtVDm2Ih6awnzudQ 63myYOPbgd1yhkhNyRUfRQ9O6oarZJgA2bdOnXM2y1MgTRJQpaFxzPcV4xMv+M+8o67V lAX8z6bmWLsrEFpNa8V8S1tKj19lxsbTMX/IxYbujnpHCFrQMj/MyrCPt6Z2+IQFqdj7 N+SSL2/hiU2FwIUZArSC0+yKk4hP8LNhlks1oQ80LBJwIEnv7/hByDm4VmRpzOfqaCo9 nI2avHhI//4GLEJUHzntkTn7TwVT6ggLro+DcT+rYoS8QsX/3ggM1rt37G0/ydugNw0z suPg== X-Received: by 10.68.190.229 with SMTP id gt5mr15847630pbc.119.1419030647514; Fri, 19 Dec 2014 15:10:47 -0800 (PST) Received: from Shidais-iMac.local ([128.199.230.246]) by mx.google.com with ESMTPSA id ns6sm10514299pbb.77.2014.12.19.15.10.45 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 19 Dec 2014 15:10:46 -0800 (PST) From: Leo Liu To: martin rudalics Subject: Re: bug#19355: 25.0.50; limit the popup window height 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> <548D526C.3010704@gmx.at> <87ppbj14yw.fsf@gmail.com> <54912BFF.5000401@gmx.at> Face: iVBORw0KGgoAAAANSUhEUgAAACgAAAAoBAMAAAB+0KVeAAAAG1BMVEUAAAA9Cgm3Hx1WWFWA gn+WmJWsrqv4+vcCAwCRl2MkAAAAAXRSTlMAQObYZgAAAAFiS0dEAIgFHUgAAAAJcEhZcwAAAYoA AAGKATOXMFgAAAAHdElNRQfXAQwDNR+ZJmElAAABIklEQVQoz22SPW+DQAyGWUq65qasd9PNUSX4 AZHK2C1rJy5jpDS4IwRVup9dn7GNafpKIPPgzztXFSujqq1eM2n8h22oMkvxI/i9C97kRfMRUN55 dS3BrsAwBXUtMLAO4lryh8kTjOxKpQNniNxAgZOEe4bZwsDTFhKdqZRLNII4OQNHhEuq/RMkm6Cj TnnEA/fk0BorcYn5qA3oaeAxbaBOLrX+9G48NZ2Fzc2tzDM8Q+tMypEOqYHh8mAWaaK3U/cDMOT5 aMZMABgPXc7zPMs1A8DXO756GFJ/4fMEq47hTsAdn5avoxZ4ywl0c2w4Flu2Ybeyb3S+EqxX2DYA H8veJGEDTnHnrXvRaPyt+2kSfK6rfBZ2tUtfP/mR+pR6sX8BUZ/cDV7tvkoAAAAASUVORK5CYII= Date: Sat, 20 Dec 2014 07:10:41 +0800 In-Reply-To: <54912BFF.5000401@gmx.at> (martin rudalics's message of "Wed, 17 Dec 2014 08:08:47 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (OS X 10.10.1) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 19355 Cc: 19355@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On 2014-12-17 15:08 +0800, martin rudalics wrote: > I think I understand your problem but I don't understand how you can > still see it after the change I proposed. Are you sure you applied it > and recompiled the associated functions? If so, and the problem > persists, then please try to find out (1) why `fit-window-to-buffer' > apparently still gets called even if `temp-buffer-resize-mode' is off > and (2) why apparently `temp-buffer-max-width' is not observed when > `temp-buffer-resize-mode' is on. (In both cases I usually find it best > to re-evaluate the involved files, edebug `fit-window-to-buffer' / > `resize-temp-buffer-window' and get a backtrace to find out how they got > called.) Thanks. the harddisk of my workstation faulted, so I was moving to a new iMac. Re-built trunk without GUI and the problem seemed to be gone. Leo From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 25 05:35:40 2014 Received: (at 19355-done) by debbugs.gnu.org; 25 Dec 2014 10:35:40 +0000 Received: from localhost ([127.0.0.1]:56915 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y45lc-0008Lm-GS for submit@debbugs.gnu.org; Thu, 25 Dec 2014 05:35:40 -0500 Received: from mout.gmx.net ([212.227.15.15]:62997) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y45la-0008Ld-1B for 19355-done@debbugs.gnu.org; Thu, 25 Dec 2014 05:35:39 -0500 Received: from [88.117.118.144] ([88.117.118.144]) by mail.gmx.com (mrgmx001) with ESMTPSA (Nemesis) id 0MC4R6-1YCrBv0608-008scm; Thu, 25 Dec 2014 11:35:35 +0100 Message-ID: <549BE870.6040606@gmx.at> Date: Thu, 25 Dec 2014 11:35:28 +0100 From: martin rudalics MIME-Version: 1.0 To: Leo Liu Subject: Re: bug#19355: 25.0.50; limit the popup window height 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> <548D526C.3010704@gmx.at> <87ppbj14yw.fsf@gmail.com> <54912BFF.5000401@gmx.at> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:qcRPkUhcf3/+QzlfXY5qhwAVN57NgXg28VY68E8IRnZNHFtRoLr OI7rjBqGxo61wol7/FonxRGMcidKKunW1WzScyHTzDesbnn0T5sQtCUD/wE2ubYm1wYLXhi MYSp1J4yXck4bp9kfc7ra8GeGh1zlkdrU+vW6wRu+f+JFKkJFNZlIB0liHeuDOpJ2d2LMPZ UXGef6UeaFsQhCCOUrSDw== X-UI-Out-Filterresults: notjunk:1; X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 19355-done Cc: 19355-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) > Thanks. the harddisk of my workstation faulted, so I was moving to a new > iMac. Re-built trunk without GUI and the problem seemed to be gone. OK. Closing. Thanks, martin From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 25 15:02:35 2014 Received: (at 19355) by debbugs.gnu.org; 25 Dec 2014 20:02:35 +0000 Received: from localhost ([127.0.0.1]:57525 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y4EcF-0007Zy-Eu for submit@debbugs.gnu.org; Thu, 25 Dec 2014 15:02:35 -0500 Received: from ps18281.dreamhost.com ([69.163.222.226]:35792 helo=ps18281.dreamhostps.com) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y4EcC-0007Zp-FL for 19355@debbugs.gnu.org; Thu, 25 Dec 2014 15:02:32 -0500 Received: from localhost.linkov.net (ps18281.dreamhostps.com [69.163.222.226]) by ps18281.dreamhostps.com (Postfix) with ESMTP id C78B630963279C; Thu, 25 Dec 2014 12:02:30 -0800 (PST) From: Juri Linkov To: 19355@debbugs.gnu.org Subject: Re: bug#19355: 25.0.50; limit the popup window height Organization: LINKOV.NET 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> <548D526C.3010704@gmx.at> <87ppbj14yw.fsf@gmail.com> <54912BFF.5000401@gmx.at> <549BE870.6040606@gmx.at> Date: Thu, 25 Dec 2014 22:01:18 +0200 In-Reply-To: <549BE870.6040606@gmx.at> (martin rudalics's message of "Thu, 25 Dec 2014 11:35:28 +0100") Message-ID: <87tx0jfqi9.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 19355 Cc: rudalics@gmx.at, sdl.web@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) >> Thanks. the harddisk of my workstation faulted, so I was moving to a new >> iMac. Re-built trunk without GUI and the problem seemed to be gone. > > OK. Closing. 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. From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 26 04:13:35 2014 Received: (at 19355) by debbugs.gnu.org; 26 Dec 2014 09:13:35 +0000 Received: from localhost ([127.0.0.1]:57690 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y4Qxj-0001sM-34 for submit@debbugs.gnu.org; Fri, 26 Dec 2014 04:13:35 -0500 Received: from mout.gmx.net ([212.227.15.19]:65470) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y4Qxh-0001sE-HJ for 19355@debbugs.gnu.org; Fri, 26 Dec 2014 04:13:34 -0500 Received: from [62.47.136.169] ([62.47.136.169]) by mail.gmx.com (mrgmx001) with ESMTPSA (Nemesis) id 0MXZ4Q-1YPvZu3uVi-00WTOP; Fri, 26 Dec 2014 10:13:29 +0100 Message-ID: <549D26B0.5030203@gmx.at> Date: Fri, 26 Dec 2014 10:13:20 +0100 From: martin rudalics MIME-Version: 1.0 To: Juri Linkov , 19355@debbugs.gnu.org Subject: Re: bug#19355: 25.0.50; limit the popup window height 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> <548D526C.3010704@gmx.at> <87ppbj14yw.fsf@gmail.com> <54912BFF.5000401@gmx.at> <549BE870.6040606@gmx.at> <87tx0jfqi9.fsf@mail.linkov.net> In-Reply-To: <87tx0jfqi9.fsf@mail.linkov.net> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:+6tEcu1QeRlDh0DbbXGw5nfCAtN2MqlBpqUlTGp/3zJtMl6F29G jKuGSIjtOHLetS35r7gjGOnV7LxcauRQWahTO/jdQL1VlYILqp53OeZ8Me8RZWws95UzGvB l6y5p37IhA9PAuzG9A8Zpf00UXkxcSWKbzYO9lOPk42ilMrCwPRxQ7mRXijQH8aIElVpJvI lS/7eAhRV3lK9Lcbo6WzQ== X-UI-Out-Filterresults: notjunk:1; X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 19355 Cc: sdl.web@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) > 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? From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 26 19:57:59 2014 Received: (at 19355) by debbugs.gnu.org; 27 Dec 2014 00:57:59 +0000 Received: from localhost ([127.0.0.1]:58488 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y4fhf-0004jv-Cq for submit@debbugs.gnu.org; Fri, 26 Dec 2014 19:57:59 -0500 Received: from ps18281.dreamhost.com ([69.163.222.226]:52483 helo=ps18281.dreamhostps.com) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y4fhd-0004jm-IL for 19355@debbugs.gnu.org; Fri, 26 Dec 2014 19:57:57 -0500 Received: from localhost.linkov.net (ps18281.dreamhostps.com [69.163.222.226]) by ps18281.dreamhostps.com (Postfix) with ESMTP id CBFA03019D550A; Fri, 26 Dec 2014 16:57:55 -0800 (PST) From: Juri Linkov To: martin rudalics Subject: Re: bug#19355: 25.0.50; limit the popup window height Organization: LINKOV.NET 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> <548D526C.3010704@gmx.at> <87ppbj14yw.fsf@gmail.com> <54912BFF.5000401@gmx.at> <549BE870.6040606@gmx.at> <87tx0jfqi9.fsf@mail.linkov.net> <549D26B0.5030203@gmx.at> Date: Sat, 27 Dec 2014 02:57:27 +0200 In-Reply-To: <549D26B0.5030203@gmx.at> (martin rudalics's message of "Fri, 26 Dec 2014 10:13:20 +0100") Message-ID: <871tnlkiyw.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 19355 Cc: 19355@debbugs.gnu.org, sdl.web@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) > 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? I removed the duplicate calls now in the commit 162660c. From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 30 05:15:50 2014 Received: (at 19355) by debbugs.gnu.org; 30 Dec 2014 10:15:50 +0000 Received: from localhost ([127.0.0.1]:60733 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y5tqA-0006Qn-6g for submit@debbugs.gnu.org; Tue, 30 Dec 2014 05:15:50 -0500 Received: from mout.gmx.net ([212.227.15.15]:53240) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y5tq7-0006Qf-V1 for 19355@debbugs.gnu.org; Tue, 30 Dec 2014 05:15:48 -0500 Received: from [188.22.238.255] ([188.22.238.255]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0Lhwgc-1XRpwD0ljG-00n9tc; Tue, 30 Dec 2014 11:15:43 +0100 Message-ID: <54A27B4A.9090301@gmx.at> Date: Tue, 30 Dec 2014 11:15:38 +0100 From: martin rudalics MIME-Version: 1.0 To: Juri Linkov Subject: Re: bug#19355: 25.0.50; limit the popup window height 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> <548D526C.3010704@gmx.at> <87ppbj14yw.fsf@gmail.com> <54912BFF.5000401@gmx.at> <549BE870.6040606@gmx.at> <87tx0jfqi9.fsf@mail.linkov.net> <549D26B0.5030203@gmx.at> <871tnlkiyw.fsf@mail.linkov.net> In-Reply-To: <871tnlkiyw.fsf@mail.linkov.net> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:dvAHm4/CtefINnlC5ZkCM7QPIQcjN7iToc0Trwx48ZPi3CYz6ly AbDH+vUGf6qc+1ZMokDcLypyoNPGaWNxiTsMli+As2/Nta1PNcBSMRy0UtpNru/a8KCLtC5 pLO9NkBFJBzb9S59HUczedOn0a2z7y/5nL9acWdDx6Pn3Ta/R6xrVv6tbA5o31QBV69pbSo djFZ6Jc46OZkuIuOZBOEw== X-UI-Out-Filterresults: notjunk:1; X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 19355 Cc: 19355@debbugs.gnu.org, sdl.web@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) > I removed the duplicate calls now in the commit 162660c. Thanks. Would it make sense to select the window around BODY in `with-displayed-buffer-window'? Though I suppose this hardly makes sense because (1) its buffer should never appear in two windows at the same time (and so `get-buffer-window' should work anyway) and (2) BODY might want to refer to the "real" selected window. Note that I now documented `with-current-buffer-window' and `with-displayed-buffer-window' in the Elisp manual together with `temp-buffer-resize-mode'. Please have a look. Maybe we should enable `temp-buffer-resize-mode' by default. But IIRC some people didn't like it. martin From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 30 19:07:24 2014 Received: (at 19355) by debbugs.gnu.org; 31 Dec 2014 00:07:24 +0000 Received: from localhost ([127.0.0.1]:33227 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y66ot-0006xq-Km for submit@debbugs.gnu.org; Tue, 30 Dec 2014 19:07:24 -0500 Received: from ps18281.dreamhost.com ([69.163.222.226]:50364 helo=ps18281.dreamhostps.com) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y66or-0006xh-0x for 19355@debbugs.gnu.org; Tue, 30 Dec 2014 19:07:21 -0500 Received: from localhost.linkov.net (ps18281.dreamhostps.com [69.163.222.226]) by ps18281.dreamhostps.com (Postfix) with ESMTP id D58B430B2F30C2; Tue, 30 Dec 2014 16:07:18 -0800 (PST) From: Juri Linkov To: martin rudalics Subject: Re: bug#19355: 25.0.50; limit the popup window height Organization: LINKOV.NET 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> <548D526C.3010704@gmx.at> <87ppbj14yw.fsf@gmail.com> <54912BFF.5000401@gmx.at> <549BE870.6040606@gmx.at> <87tx0jfqi9.fsf@mail.linkov.net> <549D26B0.5030203@gmx.at> <871tnlkiyw.fsf@mail.linkov.net> <54A27B4A.9090301@gmx.at> Date: Wed, 31 Dec 2014 02:03:33 +0200 In-Reply-To: <54A27B4A.9090301@gmx.at> (martin rudalics's message of "Tue, 30 Dec 2014 11:15:38 +0100") Message-ID: <87oaqk8z3e.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 19355 Cc: 19355@debbugs.gnu.org, sdl.web@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) > Note that I now documented `with-current-buffer-window' and > `with-displayed-buffer-window' in the Elisp manual together with > `temp-buffer-resize-mode'. Please have a look. Thank you! I looked at your changes to confirm everything is all right. > Maybe we should enable `temp-buffer-resize-mode' by default. But IIRC > some people didn't like it. It seems this is a good idea to enable `temp-buffer-resize-mode'. From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 31 13:38:42 2014 Received: (at 19355) by debbugs.gnu.org; 31 Dec 2014 18:38:42 +0000 Received: from localhost ([127.0.0.1]:33976 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y6OAM-00034R-Az for submit@debbugs.gnu.org; Wed, 31 Dec 2014 13:38:42 -0500 Received: from mout.gmx.net ([212.227.17.22]:57332) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y6OAJ-00034H-SI for 19355@debbugs.gnu.org; Wed, 31 Dec 2014 13:38:40 -0500 Received: from [62.47.141.15] ([62.47.141.15]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0M7CRe-1XsjAQ1Z1K-00x6hO; Wed, 31 Dec 2014 19:38:36 +0100 Message-ID: <54A442A4.9050906@gmx.at> Date: Wed, 31 Dec 2014 19:38:28 +0100 From: martin rudalics MIME-Version: 1.0 To: Juri Linkov Subject: Re: bug#19355: 25.0.50; limit the popup window height 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> <548D526C.3010704@gmx.at> <87ppbj14yw.fsf@gmail.com> <54912BFF.5000401@gmx.at> <549BE870.6040606@gmx.at> <87tx0jfqi9.fsf@mail.linkov.net> <549D26B0.5030203@gmx.at> <871tnlkiyw.fsf@mail.linkov.net> <54A27B4A.9090301@gmx.at> <87oaqk8z3e.fsf@mail.linkov.net> In-Reply-To: <87oaqk8z3e.fsf@mail.linkov.net> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:KlpVlNG/mlP60IKDY2cTRQ1NuMU8hG7v3aM4mmZ0pQo0QxiDJ+A DcX7cGl01+vD1yVm1XZb3mwo5sGp0G9Fr6zXbbkEzxC+9/8VeCCIJvz2UQoIA1vQKZe9ybe PFWUWI915vTVLlO3x76/DHE8q9CDlKm28bzlXskZFagHz12bNZb3AJA/uhJwcNBvnsjEwPf 8muzw+grs0URhXytrXWUw== X-UI-Out-Filterresults: notjunk:1; X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 19355 Cc: 19355@debbugs.gnu.org, sdl.web@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) > It seems this is a good idea to enable `temp-buffer-resize-mode'. I'll do that in a few days if no-one objects. martin From unknown Fri Aug 15 02:02:10 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 29 Jan 2015 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator