From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#23124: Two minibuffer resize related bugs Date: Tue, 29 Mar 2016 18:25:26 +0300 Message-ID: <83oa9xwbkp.fsf@gnu.org> References: <56F7FD74.6080802@gmx.at> <831t6vzv9b.fsf@gnu.org> <56FA9B78.5050800@gmx.at> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1459265381 10417 80.91.229.3 (29 Mar 2016 15:29:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 29 Mar 2016 15:29:41 +0000 (UTC) Cc: 23124@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Mar 29 17:29:30 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1akvZx-0006Yc-Tr for geb-bug-gnu-emacs@m.gmane.org; Tue, 29 Mar 2016 17:29:14 +0200 Original-Received: from localhost ([::1]:47923 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akvZx-0003BE-7p for geb-bug-gnu-emacs@m.gmane.org; Tue, 29 Mar 2016 11:29:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44741) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akvWt-0006BK-0W for bug-gnu-emacs@gnu.org; Tue, 29 Mar 2016 11:26:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1akvWs-0002W5-24 for bug-gnu-emacs@gnu.org; Tue, 29 Mar 2016 11:26:02 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:46793) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akvWr-0002Vv-VY for bug-gnu-emacs@gnu.org; Tue, 29 Mar 2016 11:26:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1akvWr-0008Em-Rb for bug-gnu-emacs@gnu.org; Tue, 29 Mar 2016 11:26: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: Tue, 29 Mar 2016 15:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23124 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 23124-submit@debbugs.gnu.org id=B23124.145926515531651 (code B ref 23124); Tue, 29 Mar 2016 15:26:01 +0000 Original-Received: (at 23124) by debbugs.gnu.org; 29 Mar 2016 15:25:55 +0000 Original-Received: from localhost ([127.0.0.1]:43920 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1akvWl-0008EQ-A2 for submit@debbugs.gnu.org; Tue, 29 Mar 2016 11:25:55 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:53664) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1akvWj-0008ED-Ow for 23124@debbugs.gnu.org; Tue, 29 Mar 2016 11:25:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1akvWY-0002S7-PP for 23124@debbugs.gnu.org; Tue, 29 Mar 2016 11:25:48 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:60735) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akvWY-0002S2-MC; Tue, 29 Mar 2016 11:25:42 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1984 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1akvWY-00042T-1H; Tue, 29 Mar 2016 11:25:42 -0400 In-reply-to: <56FA9B78.5050800@gmx.at> (message from martin rudalics on Tue, 29 Mar 2016 17:12:56 +0200) 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: 208.118.235.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:115704 Archived-At: > Date: Tue, 29 Mar 2016 17:12:56 +0200 > From: martin rudalics > CC: 23124@debbugs.gnu.org > > >> (1) Save the attached foo.el file somewhere and make its first line match > >> the location where you stored it. > >> > >> (2) Start Emacs with the options -Q and -l to load foo.el. > >> > >> (3) Type C-x 5 2. > >> > >> (4) Go back to the initial frame, move to the end of the last non-empty > >> line after ";; (bar)" and type C-x C-e. > >> > >> At this moment "nothing" happens here (Bug#1). When I now switch (via > >> Alt TAB) to the new frame (the one created via C-x 5 2), the message > >> appears there. When I now type C-p in the new frame, the minibuffer > >> window shrinks back but the space previously occupied by the modeline of > >> the window above is not redrawn, hence I get two modelines above each > >> other (Bug#2). > > I've now traced this behavior back to this "This behavior" being what? both the "nothing happens" part and the "duplicate mode line" part? > commit 9d6ec23f7d4f8fbbfdcea353c4b58e47f76a7342 > Author: Eli Zaretskii > Date: Sat Oct 24 18:54:15 2015 +0300 > > Update frame title when redisplay scrolls selected window > > * src/xdisp.c (redisplay_window): Reconsider the frame's title > when the mode-line of the frame's selected window needs to be > updated. > > In fact, removing the > > x_consider_frame_title (w->frame); > > call from redisplay_window fixes both bugs here. Can you explain how the call to x_consider_frame_title causes problems with the echo area and the mode line? That function recomputes the frame's title, and AFAIK does nothing more. So I'm really confused here.