Noam Postavsky <npostavs@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Received: (at 35006) by debbugs.gnu.org; 28 Mar 2019 03:33:44 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Mar 27 23:33:44 2019 Received: from localhost ([127.0.0.1]:33715 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1h9LnU-0000UF-FY for submit <at> debbugs.gnu.org; Wed, 27 Mar 2019 23:33:44 -0400 Received: from eggs.gnu.org ([209.51.188.92]:49220) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1h9LnN-0000Tv-LM for 35006 <at> debbugs.gnu.org; Wed, 27 Mar 2019 23:33:40 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:58663) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>) id 1h9LnH-0001nx-Dp; Wed, 27 Mar 2019 23:33:31 -0400 Received: from [176.228.60.248] (port=2734 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from <eliz@HIDDEN>) id 1h9LnF-0006dv-Ly; Wed, 27 Mar 2019 23:33:31 -0400 Date: Thu, 28 Mar 2019 05:33:27 +0200 Message-Id: <83y34zk708.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Markus Triska <triska@HIDDEN> In-reply-to: <87ftr82fu0.fsf@HIDDEN> (message from Markus Triska on Wed, 27 Mar 2019 22:00:07 +0100) Subject: Re: bug#35006: 27.0.50; Minibuffer sometimes unexpectedly does not grow References: <m236n94k6g.fsf@HIDDEN> <837eckkxrf.fsf@HIDDEN> <87ftr82fu0.fsf@HIDDEN> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 35006 Cc: 35006 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) > From: Markus Triska <triska@HIDDEN> > Cc: 35006 <at> debbugs.gnu.org > Date: Wed, 27 Mar 2019 22:00:07 +0100 > > Eli Zaretskii <eliz@HIDDEN> writes: > > > I think you expect resize-mini-windows to do what it was never > > designed to do. > > I was relying on the guarantee outlined in the info material: > > The minibuffer’s window is normally a single line; it grows > automatically if the contents require more space. The documentation doesn't consider the case of inserting arbitrary content in the minibuffer. > > Maybe it's a flaw that should be fixed by enhancing the design and > > making the implementation follow suit, but currently the code works as > > designed, AFAICT. > > Could you please consider supporting this feature? I will take a look, but no promises. This is something redisplay never does, for any window.
bug-gnu-emacs@HIDDEN
:bug#35006
; Package emacs
.
Full text available.Received: (at 35006) by debbugs.gnu.org; 27 Mar 2019 21:00:12 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Mar 27 17:00:12 2019 Received: from localhost ([127.0.0.1]:33582 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1h9Fed-0005mv-Se for submit <at> debbugs.gnu.org; Wed, 27 Mar 2019 17:00:12 -0400 Received: from metalevel.at ([78.46.218.83]:46826) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <triska@HIDDEN>) id 1h9Feb-0005mm-SI for 35006 <at> debbugs.gnu.org; Wed, 27 Mar 2019 17:00:10 -0400 Received: by metalevel.at (Postfix, from userid 1000) id BF39FA03CB; Wed, 27 Mar 2019 22:00:07 +0100 (CET) From: Markus Triska <triska@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#35006: 27.0.50; Minibuffer sometimes unexpectedly does not grow References: <m236n94k6g.fsf@HIDDEN> <837eckkxrf.fsf@HIDDEN> Date: Wed, 27 Mar 2019 22:00:07 +0100 In-Reply-To: <837eckkxrf.fsf@HIDDEN> (Eli Zaretskii's message of "Wed, 27 Mar 2019 19:55:32 +0200") Message-ID: <87ftr82fu0.fsf@HIDDEN> User-Agent: Emacs/24.5 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 35006 Cc: 35006 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Eli Zaretskii <eliz@HIDDEN> writes: > I think you expect resize-mini-windows to do what it was never > designed to do. I was relying on the guarantee outlined in the info material: The minibuffer=E2=80=99s window is normally a single line; it grows automatically if the contents require more space. In the case I posted, the contents indeed require more space, but unfortunately the minibuffer does not grow automatically. > Maybe it's a flaw that should be fixed by enhancing the design and > making the implementation follow suit, but currently the code works as > designed, AFAICT. Could you please consider supporting this feature? It would be very useful for an application I am currently working on.
bug-gnu-emacs@HIDDEN
:bug#35006
; Package emacs
.
Full text available.Received: (at 35006) by debbugs.gnu.org; 27 Mar 2019 17:55:36 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Mar 27 13:55:36 2019 Received: from localhost ([127.0.0.1]:33533 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1h9Cm0-0001SU-0o for submit <at> debbugs.gnu.org; Wed, 27 Mar 2019 13:55:36 -0400 Received: from eggs.gnu.org ([209.51.188.92]:38657) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1h9Cly-0001SH-KF for 35006 <at> debbugs.gnu.org; Wed, 27 Mar 2019 13:55:35 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:50631) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>) id 1h9Cls-0005Se-Ta; Wed, 27 Mar 2019 13:55:29 -0400 Received: from [176.228.60.248] (port=2864 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from <eliz@HIDDEN>) id 1h9Clo-0007W6-On; Wed, 27 Mar 2019 13:55:25 -0400 Date: Wed, 27 Mar 2019 19:55:32 +0200 Message-Id: <837eckkxrf.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Markus Triska <triska@HIDDEN> In-reply-to: <m236n94k6g.fsf@HIDDEN> (message from Markus Triska on Tue, 26 Mar 2019 18:31:03 +0100) Subject: Re: bug#35006: 27.0.50; Minibuffer sometimes unexpectedly does not grow References: <m236n94k6g.fsf@HIDDEN> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 35006 Cc: 35006 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) > From: Markus Triska <triska@HIDDEN> > Date: Tue, 26 Mar 2019 18:31:03 +0100 > > Please start Emacs with "emacs -Q", and then evaluate in the > *scratch* buffer the following form: > > (with-selected-window (minibuffer-window) > (erase-buffer) > (insert (propertize "hello" 'face '(:height 2.0))) > (read-key) > (erase-buffer)) > > This shows "hello" in the minibuffer, and the minibuffer grows as > expected. Please press a key (or C-g) to continue. > > Next, please make a frame, say "F", with the form: > > (make-frame '((name . "F"))) > > In F, please press: > > M-x C-g > > This simply enters and exits the minibuffer. > > Then, in the original frame, evaluate again the form above, i.e.: > > (with-selected-window (minibuffer-window) > (erase-buffer) > (insert (propertize "hello" 'face '(:height 2.0))) > (read-key) > (erase-buffer)) > > Unexpectedly, the minibuffer is now no longer grown in the (selected) > frame where this form is evaluated (again), and therefore the inserted > text is now not fully visible, in contrast to the first time. I think you expect resize-mini-windows to do what it was never designed to do. This feature is supposed to resize mini-windows for the purposes of interacting with the user, i.e. for displaying messages in the echo-area, and for prompting the user for input and receiving input in response. You are doing something different: you insert arbitrary text into a mini-window's buffer, which is a normal buffer operation not specific to mini-windows. The text you insert is displayed as part of normal redisplay of all the windows, not as user interaction via the mini-window. So in that case, the mini-window is just like any other window, and those don't resize automatically to accommodate the text you inserted when they are redisplayed. Maybe it's a flaw that should be fixed by enhancing the design and making the implementation follow suit, but currently the code works as designed, AFAICT.
bug-gnu-emacs@HIDDEN
:bug#35006
; Package emacs
.
Full text available.Received: (at 35006) by debbugs.gnu.org; 26 Mar 2019 18:41:13 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Mar 26 14:41:13 2019 Received: from localhost ([127.0.0.1]:60549 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1h8r0a-0004b4-Va for submit <at> debbugs.gnu.org; Tue, 26 Mar 2019 14:41:13 -0400 Received: from eggs.gnu.org ([209.51.188.92]:44444) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1h8r0X-0004aj-Mx for 35006 <at> debbugs.gnu.org; Tue, 26 Mar 2019 14:41:11 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:59780) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>) id 1h8r0O-0002lU-33; Tue, 26 Mar 2019 14:41:00 -0400 Received: from [176.228.60.248] (port=4596 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from <eliz@HIDDEN>) id 1h8r0M-0000WN-Bl; Tue, 26 Mar 2019 14:40:59 -0400 Date: Tue, 26 Mar 2019 20:41:04 +0200 Message-Id: <83mulhlbr3.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Markus Triska <triska@HIDDEN> In-reply-to: <m236n94k6g.fsf@HIDDEN> (message from Markus Triska on Tue, 26 Mar 2019 18:31:03 +0100) Subject: Re: bug#35006: 27.0.50; Minibuffer sometimes unexpectedly does not grow References: <m236n94k6g.fsf@HIDDEN> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 35006 Cc: 35006 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) > From: Markus Triska <triska@HIDDEN> > Date: Tue, 26 Mar 2019 18:31:03 +0100 > > Please start Emacs with "emacs -Q", and then evaluate in the > *scratch* buffer the following form: > > (with-selected-window (minibuffer-window) > (erase-buffer) > (insert (propertize "hello" 'face '(:height 2.0))) > (read-key) > (erase-buffer)) > > This shows "hello" in the minibuffer, and the minibuffer grows as > expected. You didn't say how to evaluate that; there's more than one way. If I evaluate with "M-x eval-region RET", the mini-window doesn't grow; if I evaluate with "C-x C-e" or C-j after the closing parenthesis, it does grow. So it sounds like one doesn't need such a complex recipe, the different behavior is visible already on the first evaluation.
bug-gnu-emacs@HIDDEN
:bug#35006
; Package emacs
.
Full text available.Received: (at submit) by debbugs.gnu.org; 26 Mar 2019 17:41:57 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Mar 26 13:41:57 2019 Received: from localhost ([127.0.0.1]:60515 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1h8q5D-00019J-6B for submit <at> debbugs.gnu.org; Tue, 26 Mar 2019 13:41:55 -0400 Received: from eggs.gnu.org ([209.51.188.92]:33718) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <triska@HIDDEN>) id 1h8q5A-00018x-At for submit <at> debbugs.gnu.org; Tue, 26 Mar 2019 13:41:52 -0400 Received: from lists.gnu.org ([209.51.188.17]:54865) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <triska@HIDDEN>) id 1h8q54-0006x3-Pe for submit <at> debbugs.gnu.org; Tue, 26 Mar 2019 13:41:46 -0400 Received: from eggs.gnu.org ([209.51.188.92]:47898) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <triska@HIDDEN>) id 1h8q53-0002Mq-QP for bug-gnu-emacs@HIDDEN; Tue, 26 Mar 2019 13:41:46 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <triska@HIDDEN>) id 1h8psU-0001hl-W3 for bug-gnu-emacs@HIDDEN; Tue, 26 Mar 2019 13:28:47 -0400 Received: from metalevel.at ([78.46.218.83]:58690) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <triska@HIDDEN>) id 1h8psU-0001hL-NY for bug-gnu-emacs@HIDDEN; Tue, 26 Mar 2019 13:28:46 -0400 Received: from mts-Mac-mini.localdomain (localhost.localdomain [127.0.0.1]) by metalevel.at (Postfix) with ESMTP id B5D74A01FB for <bug-gnu-emacs@HIDDEN>; Tue, 26 Mar 2019 18:28:44 +0100 (CET) Received: by mts-Mac-mini.localdomain (Postfix, from userid 501) id 4F564457977; Tue, 26 Mar 2019 18:31:03 +0100 (CET) From: Markus Triska <triska@HIDDEN> To: bug-gnu-emacs@HIDDEN Subject: 27.0.50; Minibuffer sometimes unexpectedly does not grow Date: Tue, 26 Mar 2019 18:31:03 +0100 Message-ID: <m236n94k6g.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 78.46.218.83 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Please start Emacs with "emacs -Q", and then evaluate in the *scratch* buffer the following form: (with-selected-window (minibuffer-window) (erase-buffer) (insert (propertize "hello" 'face '(:height 2.0))) (read-key) (erase-buffer)) This shows "hello" in the minibuffer, and the minibuffer grows as expected. Please press a key (or C-g) to continue. Next, please make a frame, say "F", with the form: (make-frame '((name . "F"))) In F, please press: M-x C-g This simply enters and exits the minibuffer. Then, in the original frame, evaluate again the form above, i.e.: (with-selected-window (minibuffer-window) (erase-buffer) (insert (propertize "hello" 'face '(:height 2.0))) (read-key) (erase-buffer)) Unexpectedly, the minibuffer is now no longer grown in the (selected) frame where this form is evaluated (again), and therefore the inserted text is now not fully visible, in contrast to the first time. In GNU Emacs 27.0.50 (build 1, x86_64-apple-darwin18.0.0, X toolkit, Xaw scroll bars) of 2018-11-15 built on mt-computer Repository revision: b4eb908f858284a7962851fd99c94598f76afa6f Windowing system distributor 'The X.Org Foundation', version 11.0.11804000
Markus Triska <triska@HIDDEN>
:bug-gnu-emacs@HIDDEN
.
Full text available.bug-gnu-emacs@HIDDEN
:bug#35006
; Package emacs
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.