From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#38181: Actual height of mode-line not taken into account Date: Mon, 18 Nov 2019 10:45:13 +0100 Message-ID: <19634a53-d8a2-0e85-bfd8-2cd636c6ae3c@gmx.at> References: <87eeyd3ul0.fsf@bernoul.li> <83d0dt2qt6.fsf@gnu.org> <83r2290w24.fsf@gnu.org> <83pnhs6wwp.fsf@gnu.org> <878sofon8v.fsf@bernoul.li> <837e3z7pzo.fsf@gnu.org> <831ru77ghg.fsf@gnu.org> <9700fac4-b75d-cd6e-3360-78bd0f8c7db0@gmx.at> <83blta5sep.fsf@gnu.org> <5db0ddbf-7473-ca8e-8279-7f8435297771@gmx.at> <83tv724aav.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="197232"; mail-complaints-to="usenet@blaine.gmane.org" Cc: jonas@bernoul.li, 38181@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Nov 18 10:49:30 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 1iWdey-000pCZ-SO for geb-bug-gnu-emacs@m.gmane.org; Mon, 18 Nov 2019 10:49:29 +0100 Original-Received: from localhost ([::1]:59984 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iWdex-0008M7-FP for geb-bug-gnu-emacs@m.gmane.org; Mon, 18 Nov 2019 04:49:27 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60446) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iWdbg-0007L5-2S for bug-gnu-emacs@gnu.org; Mon, 18 Nov 2019 04:46:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iWdbf-0006va-60 for bug-gnu-emacs@gnu.org; Mon, 18 Nov 2019 04:46:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34374) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iWdbf-0006vU-2I for bug-gnu-emacs@gnu.org; Mon, 18 Nov 2019 04:46:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iWdbe-0005pR-LK for bug-gnu-emacs@gnu.org; Mon, 18 Nov 2019 04:46:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 18 Nov 2019 09:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38181 X-GNU-PR-Package: emacs Original-Received: via spool by 38181-submit@debbugs.gnu.org id=B38181.157407032019873 (code B ref 38181); Mon, 18 Nov 2019 09:46:02 +0000 Original-Received: (at 38181) by debbugs.gnu.org; 18 Nov 2019 09:45:20 +0000 Original-Received: from localhost ([127.0.0.1]:43187 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iWdax-0005AD-V0 for submit@debbugs.gnu.org; Mon, 18 Nov 2019 04:45:20 -0500 Original-Received: from mout.gmx.net ([212.227.15.18]:55057) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iWdaw-000546-W5 for 38181@debbugs.gnu.org; Mon, 18 Nov 2019 04:45:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1574070310; bh=1ZTIkTQTrmIz7mc4S3IGQEuOS9uy2V233iJpyuu+m8g=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=Znshcr3XCGa1iJ5OYdXOn+W3x2ztc06SRlL2pcAajpCAP1vrDQWAzeuDEDllTDOEm AiQAJfk0576x1qZFBObtZHWLRzAuN9UbmEr9NOoUVuhUqh9gPxim8RjHIYPomxzx8a 8mhHZdyd7smldpjmJFhIAQ1bp1N9NwFzWqgvm6QU= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [192.168.1.103] ([212.95.5.110]) by mail.gmx.com (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1M4b1o-1iXC5Y1QZi-001kcf; Mon, 18 Nov 2019 10:45:10 +0100 In-Reply-To: <83tv724aav.fsf@gnu.org> Content-Language: de-AT X-Provags-ID: V03:K1:WxnLZtSTOMPicXoJKcglJZtFjC2cDKimvQhI5n+yUc6Y0fnEHa6 FFsIbjHMxyZMg1gscv8f6khvy18VDsIMQp+XUJceKCLVQlGtf9QkiZ3MqzZVqxvC+joa6Ga HDmaOnyICdI5dH7fFfYmV+1kGpTh/Cvf84zM7ep5BQ60KlY81KXF71qcNgiv03Fagg4letF /XVigPiHJ+yCe4rlKg2ag== X-UI-Out-Filterresults: notjunk:1;V03:K0:ZEpkBxMrwV0=:BB4K9olCo/CmC0UwT+bTVG hINfgZB1/Kw1qXvWJaD5mRjHapPvZ1tYXpx+fdwZb4iZRdcTx5vLsTpOSa/fAEnd0elLYd1Ve /DO3yffgkdaLORtB8bItNmXbqk4I+ARe5LUX5Y+Eo1rwxvOrwfBDyKZV8aiiMtmkMzYFZwnrZ ApRluP0gEFPR8B2ze9fHSfMK6gk8cZe2bSgnlQbxFTyRZSL58+wyQhFmAzW7nVD4IswrOicW8 g+m21VYzgYITuneqm34TRFSsU1Vsa6OE0E/TVFsFtD2T2SsmBXzWPp7AT+gRBOUEqndlqqvRJ ZofSIC+57Cc1pyfi/vAUpRUr8pYtgxNsc4Qx6UCRxKDPO4O+FOz+jlLuYkftPly4hbkSik++o r+kZ8T25+A3e/A/2k1yuZlYJKSNHErKI/6ERWAZ4G/RYqowDmy4afyJ/T8u+VfxB1vJZAjVSI g/6T+FYbkgi7fHtge3eh9lGISwNH9f4PC7t25Wr+F+ntCGJcQW33jkR56J8GtkG74jvC5sAkM FgQ7OYwDftGxOlr81qyltNQULuAER76NBsily9CTNCh5Xz5w1GozAEyNDmotpiaAKzESk+/nY ZK3yMnJw6hnEzQwskrfQv/lo8XOxWCO3KH460BIXUprq3SpQ2mr5YUvGd4tIS0FnnWWFR3E0F CFZpN8TAhl6J7HJOvlD8G56eXqa2b+YVxVJq/H8wu4apLUG1l0SyvzeuRkdAMKfmySOtLz1he 0ufahbNtMII+y0dNEPrQYHIKRVrX/2jpu1EPXoK+ntm2GogEKUHAy9KoPltl8C5C2fynRl8a 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:171899 Archived-At: >> > Mmm... actually, it could be that we cannot resize windows during >> > redisplay at all. See, for example, how resize_mini_window does its >> > tricky job. We may need to call this outside of redisplay. >> >> Inherently, resize_mini_window does what 'fit-window-to-buffer' does >> and it gets called from redisplay_internal. > > And it immediately returns if that happens while redisplaying a > window. But IIUC in neither of our proposals we would have done that. I'd even say that we should resize windows when redisplay finds out that the mode line height has been increased and would obscure the window above, not leave at least one line of its window's text visible (see the example in my other mail), ... martin