From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gregory Heytings via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#43519: 28.0.50; Overlay at end of minibuf hides minibuf's real content Date: Mon, 21 Sep 2020 16:00:01 +0000 Message-ID: References: <83wo0p1twr.fsf@gnu.org> <83r1qx1q9v.fsf@gnu.org> <838sd425l2.fsf@gnu.org> <83363bz0r0.fsf@gnu.org> <83pn6fxk7f.fsf@gnu.org> <83k0wnxhon.fsf@gnu.org> Reply-To: Gregory Heytings 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="31183"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Alpine 2.22 (NEB 394 2020-01-19) Cc: monnier@iro.umontreal.ca, 43519@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Sep 21 18:05:37 2020 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 1kKOJt-0007zv-9e for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 21 Sep 2020 18:05:37 +0200 Original-Received: from localhost ([::1]:37172 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kKOJs-0000KH-8p for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 21 Sep 2020 12:05:36 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47690) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kKOFU-0005h9-23 for bug-gnu-emacs@gnu.org; Mon, 21 Sep 2020 12:01:06 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44393) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kKOFS-0001ui-0H for bug-gnu-emacs@gnu.org; Mon, 21 Sep 2020 12:01:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kKOFR-0000u3-Sh for bug-gnu-emacs@gnu.org; Mon, 21 Sep 2020 12:01:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gregory Heytings Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 21 Sep 2020 16:01:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43519 X-GNU-PR-Package: emacs Original-Received: via spool by 43519-submit@debbugs.gnu.org id=B43519.16007040103404 (code B ref 43519); Mon, 21 Sep 2020 16:01:01 +0000 Original-Received: (at 43519) by debbugs.gnu.org; 21 Sep 2020 16:00:10 +0000 Original-Received: from localhost ([127.0.0.1]:55939 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kKOEc-0000sq-5Y for submit@debbugs.gnu.org; Mon, 21 Sep 2020 12:00:10 -0400 Original-Received: from mx.sdf.org ([205.166.94.24]:61898) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kKOEX-0000re-CY for 43519@debbugs.gnu.org; Mon, 21 Sep 2020 12:00:08 -0400 Original-Received: from sdf.org (IDENT:ghe@faeroes.freeshell.org [205.166.94.9]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 08LG033d018409 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Mon, 21 Sep 2020 16:00:03 GMT Original-Received: (from ghe@localhost) by sdf.org (8.15.2/8.12.8/Submit) id 08LG0Ir6012025; Mon, 21 Sep 2020 16:00:18 GMT In-Reply-To: <83k0wnxhon.fsf@gnu.org> 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:188614 Archived-At: >>> The solution I proposed in my other message (assuming that it is >>> accepted) is more general, I think. >> >> If you mean "to start the display at the beginning of the screen line >> where we end up after move_it_vertically_backward returns", it is IMO >> worse. > > I think you misunderstand my proposal, because the beginning of the > screen line where we end up in the use case we are discussing is the > BOB. > I'm not sure they are, but I'm not an expert. If they are, then of course your proposal would be okay. The purpose of the discussion (AFAIU) is to introduce a change to make it possible for icomplete/ido/... to put a too long overlay at EOB (with say two or three more candidates than can be displayed in the mini-window), in such a way that the prompt will always be displayed, and the last part of the overlay will not. What happens with your proposal when max-mini-window-height is 10, and the overlay needs 13 lines? What happens when max-mini-window-height, the overlay needs 10 lines, and the prompt and user input so far need two lines?