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: Sun, 20 Sep 2020 08:27:55 +0000 Message-ID: References: Reply-To: Gregory Heytings Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18135"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Alpine 2.22 (NEB 394 2020-01-19) Cc: 43519@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Sep 20 10:29:09 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 1kJuib-0004bP-II for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 20 Sep 2020 10:29:09 +0200 Original-Received: from localhost ([::1]:46150 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kJuia-00037g-L7 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 20 Sep 2020 04:29:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47324) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kJuiU-00037X-A7 for bug-gnu-emacs@gnu.org; Sun, 20 Sep 2020 04:29:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37087) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kJuiU-0004dS-1B for bug-gnu-emacs@gnu.org; Sun, 20 Sep 2020 04:29:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kJuiT-0000tl-Ua for bug-gnu-emacs@gnu.org; Sun, 20 Sep 2020 04:29:01 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: Gregory Heytings Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 20 Sep 2020 08:29: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.16005904833382 (code B ref 43519); Sun, 20 Sep 2020 08:29:01 +0000 Original-Received: (at 43519) by debbugs.gnu.org; 20 Sep 2020 08:28:03 +0000 Original-Received: from localhost ([127.0.0.1]:48633 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kJuhX-0000sU-AP for submit@debbugs.gnu.org; Sun, 20 Sep 2020 04:28:03 -0400 Original-Received: from mx.sdf.org ([205.166.94.24]:63659) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kJuhT-0000s2-Ez for 43519@debbugs.gnu.org; Sun, 20 Sep 2020 04:28:02 -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 08K8RwBB028122 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Sun, 20 Sep 2020 08:27:58 GMT Original-Received: (from ghe@localhost) by sdf.org (8.15.2/8.12.8/Submit) id 08K8SBFJ022748; Sun, 20 Sep 2020 08:28:11 GMT 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:188462 Archived-At: >> For example, with (setq icomplete-separator "\n"), after M-x a the >> contents of the minibuffer is displayed as follows: >> >> {rp >> lign >> propos >> sm-mode >> <... other candidates, one on each line> > > Does the entire list of candidates fit in the (enlarged) mini-window in > that case? or are some of the candidates not displayed due to lack of > space? > The list of candidates is in this case (with emacs -Q) 32 lines long ("{rp" on the first line, ... "...}" on the last line). With (setq max-mini-window-height 32) the M-x prompt is displayed, with (setq max-mini-window-height 31) it isn't. But the point is that there is clearly enough horizontal space, so there is (or there does not seem to be) no reason to scroll horizontally. >> After pressing C-b (or ), the prompt becomes visible, and the >> minibuffer is displayed as follows: > > C-b moves point from EOB to a character before EOB, thus the difference > (AFAIR). > Yes, I know what C-b does, what I find surprising (but perhaps it is not, I'm not an expert) is that only one line (the one with the prompt) is scrolled horizontally. [taken from emacs-devel:] > > You are asking the display engine to do the impossible. > No. With a minibuffer-only frame, the bug is not present. Whatever the value of icomplete-separator (that is, with either a horizontal or vertical list of candidates), you do see the "M-x" prompt and the characters typed so far, even with (setq max-mini-window-height 1) and a one line minibuffer. So it's feasible, and the display engine knows how to do it.