From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?=C3=93scar?= Fuentes Newsgroups: gmane.emacs.bugs Subject: bug#50178: 28.0.50; Size of echo area does not account for line-spacing Date: Tue, 24 Aug 2021 15:34:27 +0200 Message-ID: <87a6l7ezks.fsf@telefonica.net> References: <87eeajfvbq.fsf@telefonica.net> <83a6l7vyu2.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4525"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 50178@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Aug 24 15:37:16 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1mIWc8-0000x2-0U for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 24 Aug 2021 15:37:16 +0200 Original-Received: from localhost ([::1]:50202 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mIWc7-0007JR-47 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 24 Aug 2021 09:37:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41432) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mIWZy-0004od-7L for bug-gnu-emacs@gnu.org; Tue, 24 Aug 2021 09:35:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60141) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mIWZx-0004pV-UN for bug-gnu-emacs@gnu.org; Tue, 24 Aug 2021 09:35:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mIWZx-00012w-Ie for bug-gnu-emacs@gnu.org; Tue, 24 Aug 2021 09:35:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?=C3=93scar?= Fuentes Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 24 Aug 2021 13:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50178 X-GNU-PR-Package: emacs Original-Received: via spool by 50178-submit@debbugs.gnu.org id=B50178.16298120803989 (code B ref 50178); Tue, 24 Aug 2021 13:35:01 +0000 Original-Received: (at 50178) by debbugs.gnu.org; 24 Aug 2021 13:34:40 +0000 Original-Received: from localhost ([127.0.0.1]:43454 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mIWZb-00012G-Pc for submit@debbugs.gnu.org; Tue, 24 Aug 2021 09:34:40 -0400 Original-Received: from relayout03.e.movistar.es ([86.109.101.203]:46183 helo=relayout03-redir.e.movistar.es) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mIWZW-00011z-EJ for 50178@debbugs.gnu.org; Tue, 24 Aug 2021 09:34:38 -0400 Original-Received: from sky (14.red-79-145-70.dynamicip.rima-tde.net [79.145.70.14]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: 981711563@telefonica.net) by relayout03.e.movistar.es (Postfix) with ESMTPSA id 4Gv97m3hLXzMlVX; Tue, 24 Aug 2021 15:34:28 +0200 (CEST) In-Reply-To: <83a6l7vyu2.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 24 Aug 2021 14:58:29 +0300") X-TnetOut-Country: IP: 79.145.70.14 | Country: ES X-TnetOut-Information: AntiSPAM and AntiVIRUS on relayout03 X-TnetOut-MsgID: 4Gv97m3hLXzMlVX.A945F X-TnetOut-SpamCheck: no es spam, clean X-TnetOut-From: ofv@wanadoo.es X-TnetOut-Watermark: 1630416868.8487@GTdei1DHjo9o1heVkBmQGg X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:212538 Archived-At: Eli Zaretskii writes: > And why is that a problem? Emacs displays partially visible lines at > end of window in many cases; as long as the list of completion > candidates is long enough, you cannot see all of them anyway. > > Or maybe you have a specific recipe in mind where this works > incorrectly, in which case please show that recipe. There are some packages that works displaying a certain number of lines on the echo area (ido-grid-mode, for instance.) They set max-mini-window-height to an integer and expect that Emacs will take care of resizing the echo area accordingly, if possible. If the resulting echo area is not tall enough, there is a problem. IMO max-mini-window-height, when set to an integer, should mean "I want this many lines", as it does when line-spacing is nil. Otherwise every one of those packages must implement the heuristics for taking into account `line-spacing' and any other present and future variable that might affect the number of lines visible on the echo area.