From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ergus Newsgroups: gmane.emacs.devel Subject: Re: resize_mini_window question Date: Fri, 18 Sep 2020 18:50:57 +0200 Message-ID: <20200918165057.ccn5i6cothosjd2u@Ergus> References: <20200918150113.4vz5vq3krfslrwdz.ref@Ergus> <20200918150113.4vz5vq3krfslrwdz@Ergus> <20200918155638.bvak6p3ewdqjmdgj@Ergus> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28174"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Sep 18 19:10:35 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kJJu6-0007BE-UQ for ged-emacs-devel@m.gmane-mx.org; Fri, 18 Sep 2020 19:10:34 +0200 Original-Received: from localhost ([::1]:36080 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kJJu5-0007y0-US for ged-emacs-devel@m.gmane-mx.org; Fri, 18 Sep 2020 13:10:33 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48598) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kJJbP-0007Wx-Az for emacs-devel@gnu.org; Fri, 18 Sep 2020 12:51:15 -0400 Original-Received: from sonic302-2.consmr.mail.bf2.yahoo.com ([74.6.135.41]:39363) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kJJbL-0001hI-Bn for emacs-devel@gnu.org; Fri, 18 Sep 2020 12:51:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1600447869; bh=TcI6zUT7exl6zqEaJU8rS+lEzM/mqSDPFxRrpKtLowg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From:Subject; b=oe7Y3XAXh1UHwNVDpRaXaM1NAUugYhI9WZ/gboJxoveGE3ZJ4sxoDQ3mBknMudd4remkBcgoxaq+Wepg8onN5htEN4H2hep2JydZp/i0lw3tu0rguGopCYdvraN9lvFj2G/xSHth+4Fp2hz3CYFVCIK5dAyWI1r0TNTVCbeA+DiunqwgVksT2HuxWc6JZXKM4dNlr0Q8gPpWp1KceVqJFm5q9X2WrtFiHPYsfwNHf8E+ikTM7HwvT8uuUeKg+Ol1MWcc3NMWP35JqwydKMTcVo+N/u8HtQ6epSsx+X1J58DCXUnZ197YHL1Z+cbjTZ2sWk8ZbUlLW6Kx8yIfhMzLKQ== X-YMail-OSG: W1Qgs7cVM1mpkiSGjbNboVQj4cwteOimq.FaGWFyON50yPA0IzFKo8bLYZUiQOx fvMXIiouYq3ywTdOu1fTXh3czJLs8H8KCiUZMuhlomBfbkBjLYRggZVdEE4czEh2xfX31MBNz7yf uKPgAlLFhZbSdktHg4QWGhLNzywJjd9tIFKutN5lrlvBxtdH7NBICDJhEVc0R.UTZvZ_dztcbeIU R2ihESw1yTYGLOJu2XOEvGjzcBlunOOshU6r9icUikVcuihr3675yNC0m9znVlKiX7SBxB0jna7u s9QXfQEGAkqd3KslwPID7d8Hs.ozEgHetpHfSeUTVPBJyGmMQ3D3jVl_xwmt4RqscQwXfzAuun82 c9MXm_oTybGIRvjQbzHIj3wO6XE1RN3kCKh9zgTHkyoUIr87OhVW6m3u_srwavn601SVksHw_4X1 SX3rF82ie0V4Yml0K9VaXKUJorHhax2v2MmrV201aCTA_ZydRArIEvGPwDmH9R6InMogegHIryNU DUYv2xTYzRfESN1KuG3u5ww8arJlRkEvvxdfDtT9wh9ejD4tt7KZ9tf4mjg8LsFISErVflF_931V 70aeOqlccOcBzRmoaCQCdpAWlwuHEx47JHRcaS9_vpSBhD4ixDBeUifzryKSvX4lfHzPIM5kRyji W_gCtPyg0PXbnElmLAlCAWNi27gPFZU0kLSgf5xNdwCbjigA7k58DzfduzvsaaXX0nBsj2CP0ksH kEQ0ZgpLD7HfmioW0DwAExNAWdZuMQhnnd.9oOLMyWknxu1Vhpy6m_d78AWWd_Zie_pa1wEKPWyl x8n3uj8NL37NwviTwN4vlXQWb1iaxap7CszfeBMy_d Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic302.consmr.mail.bf2.yahoo.com with HTTP; Fri, 18 Sep 2020 16:51:09 +0000 Original-Received: by smtp403.mail.ir2.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID d8665dff3bfa05801561168de4f740fa; Fri, 18 Sep 2020 16:51:05 +0000 (UTC) Content-Disposition: inline In-Reply-To: X-Mailer: WebService/1.1.16583 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.aol Apache-HttpAsyncClient/4.1.4 (Java/11.0.7) Received-SPF: pass client-ip=74.6.135.41; envelope-from=spacibba@aol.com; helo=sonic302-2.consmr.mail.bf2.yahoo.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/18 12:08:46 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:256121 Archived-At: On Fri, Sep 18, 2020 at 12:02:13PM -0400, Stefan Monnier wrote: >> Yes I know. The problem with this was that in my case the user could be >> expecting to see as many lines as specified in max-mini-window-height as >> an integer. > >I think that is simply a problem of wrong expectations, which we could >somewhat fix by tweaking the documentation like you suggested. > Maybe: DEFVAR_LISP ("max-mini-window-height", Vmax_mini_window_height, doc: /* Maximum height for resizing mini-windows (the minibuffer and the echo area). If a float, it specifies a fraction of the mini-window frame's height. If an integer, it specifies a number of lines with the frame's default char height. */); Vmax_mini_window_height = make_float (0.25); >> The external package used to force an enlarge-window but I feel that >> this is somehow a workaround. > >Indeed. I think it's important to find a solution to the >"disappearing prompt" that doesn't involve this since enlarging the >window is not always an option either. > > I already solved it in icomplete then. If we assume that the problem is the wrong expectations then the solution is trivial with the current changes in icomplete. Best, Ergus