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: Mon, 30 Dec 2019 18:07:02 +0200 Message-ID: <83a779n6ft.fsf@gnu.org> References: <86fthfu3qe.fsf@gmail.com> <831rsqrevq.fsf@gnu.org> <83a77bnrpb.fsf@gnu.org> <2a41eaeb-b12e-e385-c558-bd44e987489a@gmx.at> <83v9pzm0f2.fsf@gnu.org> <0c0413bd-b701-c23c-4a13-7e9ea11b8153@gmx.at> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="152925"; mail-complaints-to="usenet@blaine.gmane.org" Cc: ynyaaa@gmail.com, 38645-done@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Dec 30 17:08:12 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 1ilxaV-000deG-Pd for geb-bug-gnu-emacs@m.gmane.org; Mon, 30 Dec 2019 17:08:11 +0100 Original-Received: from localhost ([::1]:34344 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ilxaU-0003kr-5W for geb-bug-gnu-emacs@m.gmane.org; Mon, 30 Dec 2019 11:08:10 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47723) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ilxaN-0003kG-6v for bug-gnu-emacs@gnu.org; Mon, 30 Dec 2019 11:08:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ilxaM-00073Z-4L for bug-gnu-emacs@gnu.org; Mon, 30 Dec 2019 11:08:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55530) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ilxaM-00073T-16 for bug-gnu-emacs@gnu.org; Mon, 30 Dec 2019 11:08:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ilxaL-00045Y-SC for bug-gnu-emacs@gnu.org; Mon, 30 Dec 2019 11:08:01 -0500 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Mon, 30 Dec 2019 16:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 38645 X-GNU-PR-Package: emacs Mail-Followup-To: 38645@debbugs.gnu.org, eliz@gnu.org, ynyaaa@gmail.com Original-Received: via spool by 38645-done@debbugs.gnu.org id=D38645.157772203915631 (code D ref 38645); Mon, 30 Dec 2019 16:08:01 +0000 Original-Received: (at 38645-done) by debbugs.gnu.org; 30 Dec 2019 16:07:19 +0000 Original-Received: from localhost ([127.0.0.1]:33268 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ilxZf-000441-6G for submit@debbugs.gnu.org; Mon, 30 Dec 2019 11:07:19 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:38590) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ilxZe-00043m-5D for 38645-done@debbugs.gnu.org; Mon, 30 Dec 2019 11:07:18 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:36442) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ilxZY-0006pt-UR; Mon, 30 Dec 2019 11:07:12 -0500 Original-Received: from [176.228.60.248] (port=2684 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ilxZL-0004cw-Be; Mon, 30 Dec 2019 11:07:07 -0500 In-reply-to: <0c0413bd-b701-c23c-4a13-7e9ea11b8153@gmx.at> (message from martin rudalics on Sun, 29 Dec 2019 20:30:47 +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:173940 Archived-At: > Cc: ynyaaa@gmail.com, 38645@debbugs.gnu.org > From: martin rudalics > Date: Sun, 29 Dec 2019 20:30:47 +0100 > > >> Did you check whether any of the > >> other clear_message calls would need a similar treatment? > > > > Which ones? > > Maybe the last one in read_char itself. But I don't understand well what > we are doing there. We are evidently clearing the echo area if the input method left something there. But I couldn't create a situation where there was anything left to do after the input method finished its job, not by turning on an input method in the active minibuffer. Quail has its own ideas about handling this situation; see quail-minibuffer-message and quail-show-guidance. In particular, it arranges for the guidance to appear on the second line of the mini-window (the first one being where you type at the prompt), and never shows more than one line of candidates for input there (you need to scroll with up- and down-arrows). And when input is done, the mini-window resizes back. So if someone knows how to trigger a mini-window resizing problems related to input methods, please show a recipe (and reopen the bug). Meanwhile, I've installed the fix and I'm closing this bug report. Thanks for the feedback.