From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii 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 13:52:04 +0300 Message-ID: <831riw2017.fsf@gnu.org> References: <835z88251u.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33707"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 43519@debbugs.gnu.org To: Gregory Heytings Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Sep 20 12:59:01 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 1kJx3d-0008dK-Ay for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 20 Sep 2020 12:59:01 +0200 Original-Received: from localhost ([::1]:57762 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kJx3c-0007N9-9t for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 20 Sep 2020 06:59:00 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38456) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kJwxq-0002gk-55 for bug-gnu-emacs@gnu.org; Sun, 20 Sep 2020 06:53:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37321) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kJwxp-0002w2-PB for bug-gnu-emacs@gnu.org; Sun, 20 Sep 2020 06:53:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kJwxp-0000a3-Ny for bug-gnu-emacs@gnu.org; Sun, 20 Sep 2020 06:53:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 20 Sep 2020 10:53: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.16005991332175 (code B ref 43519); Sun, 20 Sep 2020 10:53:01 +0000 Original-Received: (at 43519) by debbugs.gnu.org; 20 Sep 2020 10:52:13 +0000 Original-Received: from localhost ([127.0.0.1]:48867 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kJwx2-0000Z0-N1 for submit@debbugs.gnu.org; Sun, 20 Sep 2020 06:52:13 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:59718) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kJwx0-0000Yn-U4 for 43519@debbugs.gnu.org; Sun, 20 Sep 2020 06:52:11 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:33139) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kJwwv-0002rZ-K0; Sun, 20 Sep 2020 06:52:05 -0400 Original-Received: from [176.228.60.248] (port=1917 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kJwwu-0007VQ-VS; Sun, 20 Sep 2020 06:52:05 -0400 In-Reply-To: (message from Gregory Heytings on Sun, 20 Sep 2020 10:12:14 +0000) 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:188492 Archived-At: > Date: Sun, 20 Sep 2020 10:12:14 +0000 > From: Gregory Heytings > cc: 43519@debbugs.gnu.org > > Another note: with (setq resize-mini-windows nil) the bug disappears, the > prompt is always visible even if the overlay text is too large. So a more > robust solution to the problem would be to do something like: > > (add-hook 'icomplete-minibuffer-setup-hook (function (lambda () (setq resize-mini-windows nil) (enlarge-window N)))) > > with N replaced by the number of lines that we are about to display. If this is an acceptable solution, it is definitely fine by me. But I envision complaints from people who expect certain behavior from mini-windows with large contents: the above effectively ignores their settings.