From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#38645: 26.3; minibuffer input is called with multi-line window when multi-line message is shown Date: Fri, 27 Dec 2019 11:21:59 +0200 Message-ID: <83o8vup1hk.fsf@gnu.org> References: <86fthfu3qe.fsf@gmail.com> <831rsqrevq.fsf@gnu.org> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="44915"; mail-complaints-to="usenet@blaine.gmane.org" Cc: ynyaaa@gmail.com, 38645@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Dec 27 10:23:11 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iklpu-000BV2-Tu for geb-bug-gnu-emacs@m.gmane.org; Fri, 27 Dec 2019 10:23:11 +0100 Original-Received: from localhost ([::1]:32858 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iklpt-0001ZY-2L for geb-bug-gnu-emacs@m.gmane.org; Fri, 27 Dec 2019 04:23:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60911) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iklpn-0001ZR-3N for bug-gnu-emacs@gnu.org; Fri, 27 Dec 2019 04:23:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iklpm-00073A-3A for bug-gnu-emacs@gnu.org; Fri, 27 Dec 2019 04:23:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50543) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iklpm-000736-0N for bug-gnu-emacs@gnu.org; Fri, 27 Dec 2019 04:23:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iklpl-0006IX-T0 for bug-gnu-emacs@gnu.org; Fri, 27 Dec 2019 04:23:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 27 Dec 2019 09:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38645 X-GNU-PR-Package: emacs Original-Received: via spool by 38645-submit@debbugs.gnu.org id=B38645.157743852824134 (code B ref 38645); Fri, 27 Dec 2019 09:23:01 +0000 Original-Received: (at 38645) by debbugs.gnu.org; 27 Dec 2019 09:22:08 +0000 Original-Received: from localhost ([127.0.0.1]:56516 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iklou-0006HC-0K for submit@debbugs.gnu.org; Fri, 27 Dec 2019 04:22:08 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:51810) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iklos-0006Gg-5y for 38645@debbugs.gnu.org; Fri, 27 Dec 2019 04:22:06 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:57836) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iklom-0006vb-Q7; Fri, 27 Dec 2019 04:22:00 -0500 Original-Received: from [176.228.60.248] (port=4950 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iklom-0002Yd-8u; Fri, 27 Dec 2019 04:22:00 -0500 In-reply-to: (message from martin rudalics on Fri, 27 Dec 2019 10:12:33 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:173806 Archived-At: > Cc: 38645@debbugs.gnu.org > From: martin rudalics > Date: Fri, 27 Dec 2019 10:12:33 +0100 > > But I'm too silly to understand why the minibuffer window does not > re-grow in the first place after having shown the result of C-x C-e. > Can you enlighten me? Re-grow upon which event? If you do nothing, the message from "C-x C-e" stays displayed indefinitely. If you mean why it doesn't re-grow upon some keystroke (which removes the message), I guess we are lacking a call to resize_echo_area_exactly in some place. Regardless, I think keeping the prompt visible is a better behavior. And yes, we should probably document this caveat, although I cannot imagine what application would like the current behavior. > martin, who just noted that the recently added (to master) > > Lisp_Object str = build_string ("Command attempted to use minibuffer" > "while in minibuffer"); > > produces > > "Command attempted to use minibufferwhile in minibuffer" Hope you've already fixed it. Thanks.