From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Markus Triska Newsgroups: gmane.emacs.bugs Subject: bug#67715: 28.2; Minibuffer content is sometimes unexpectedly partially hidden Date: Sat, 09 Dec 2023 08:04:40 +0100 Message-ID: <874jgrvotz.fsf@metalevel.at> References: <87plzg5xff.fsf@metalevel.at> <838r64zb3r.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4315"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) Cc: 67715@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 09 08:05:04 2023 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 1rBrOa-0000o9-Gp for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 09 Dec 2023 08:05:04 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rBrON-0001AC-8r; Sat, 09 Dec 2023 02:04:51 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rBrOL-00019i-I8 for bug-gnu-emacs@gnu.org; Sat, 09 Dec 2023 02:04:49 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rBrOL-0001pO-9p for bug-gnu-emacs@gnu.org; Sat, 09 Dec 2023 02:04:49 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rBrOY-0000DA-9y for bug-gnu-emacs@gnu.org; Sat, 09 Dec 2023 02:05:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Markus Triska Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 09 Dec 2023 07:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67715 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: wontfix Original-Received: via spool by 67715-submit@debbugs.gnu.org id=B67715.1702105498798 (code B ref 67715); Sat, 09 Dec 2023 07:05:02 +0000 Original-Received: (at 67715) by debbugs.gnu.org; 9 Dec 2023 07:04:58 +0000 Original-Received: from localhost ([127.0.0.1]:46698 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBrOU-0000Co-9u for submit@debbugs.gnu.org; Sat, 09 Dec 2023 02:04:58 -0500 Original-Received: from [78.47.144.35] (port=49094 helo=metalevel.at) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBrOR-0000Cd-Qk for 67715@debbugs.gnu.org; Sat, 09 Dec 2023 02:04:57 -0500 Original-Received: by metalevel.at (Postfix, from userid 1000) id E51AB9C76B; Sat, 9 Dec 2023 08:04:40 +0100 (CET) In-Reply-To: <838r64zb3r.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 08 Dec 2023 22:35:20 +0200") 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:275821 Archived-At: Eli Zaretskii writes: > Why did you expect the mini-window to resize in this case? The Emacs Lisp documentation states in section 21.1: The minibuffer=E2=80=99s window is normally a single line; it grows automatically if the contents require more space. I therefore expected it to grow automatically in the case I posted, especially also because this is done in many Emacs versions before 28.2, such as 26.1, 26.2, 26.3, 27.1, 27.2 and 28.1. > find another way of ensuring the enlarged text is visible, in your > I added (fit-window-to-buffer) after inserting the text, and still the text is not fully visible. fit-window-to-buffer is documented as: Adjust size of WINDOW to display its buffer=E2=80=99s contents exactly. I would greatly prefer if Emacs works as documented. Should I file a separate issue for this, or is this also a case of wontfix? Is there any way to solve the issue? Thank you a lot! Markus