From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.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 Oct 2021 19:44:08 +0200 Message-ID: <7626992f-ab12-5df2-9061-77cb1e276556@gmx.at> References: <87eeyd3ul0.fsf@bernoul.li> <2a0bf8c7-69df-0532-c6d8-5315ee9fee28@gmx.at> <67bcd8c4-2028-46bb-7971-244304bb7c0a@gmx.at> <776a35b7-1920-2987-88ae-6dcab958a8e4@gmx.at> <0dff07fa-b56f-1227-9f17-94e9b9b4c296@gmx.at> <65006f88-1151-34fe-2741-a80d328f96c5@gmx.at> <312e15c3-83d3-99ee-ef73-8fd6013153cc@gmx.at> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18755"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 38181@debbugs.gnu.org To: Carlos Pita Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Oct 18 19:45:28 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mcWhU-0004fd-9K for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 18 Oct 2021 19:45:28 +0200 Original-Received: from localhost ([::1]:51922 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mcWhK-0001Up-NM for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 18 Oct 2021 13:45:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54672) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mcWh4-0001UV-BB for bug-gnu-emacs@gnu.org; Mon, 18 Oct 2021 13:45:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36979) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mcWh4-0007vz-1e for bug-gnu-emacs@gnu.org; Mon, 18 Oct 2021 13:45:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mcWh3-0005eK-W9 for bug-gnu-emacs@gnu.org; Mon, 18 Oct 2021 13:45:01 -0400 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 Oct 2021 17:45:01 +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.163457905721639 (code B ref 38181); Mon, 18 Oct 2021 17:45:01 +0000 Original-Received: (at 38181) by debbugs.gnu.org; 18 Oct 2021 17:44:17 +0000 Original-Received: from localhost ([127.0.0.1]:48522 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mcWgL-0005cw-2j for submit@debbugs.gnu.org; Mon, 18 Oct 2021 13:44:17 -0400 Original-Received: from mout.gmx.net ([212.227.15.15]:44665) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mcWgJ-0005ci-LB for 38181@debbugs.gnu.org; Mon, 18 Oct 2021 13:44:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1634579049; bh=t6c9kCGLxz610vGjs5XXeG4+uqnMTn/uUd6z3E4wrMg=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=kxdRRQih3WlycFTvKHQyExp1Hy01YukquMPQrRLb/xZjbR4bZAUMicKX2HU8+aX7d +Imw/wZqtmSsgXx4mhGIKYyNVeZk8hF0xHTNgx3YK1IeKNAy+UDzAv5rU3RxYHLwPS j/F4wQ3HvnsiRejfW144m11oHpjomxNpIYNeHy/g= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [192.168.1.100] ([46.125.249.39]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1N0oBr-1mx4NI0qbF-00whz3; Mon, 18 Oct 2021 19:44:09 +0200 In-Reply-To: Content-Language: en-US X-Provags-ID: V03:K1:gyJoZik3V36zKLK6i28bOLayDZQtrMPu6K7hK2926+i2gkeGMUN Rp+2RERFedlzl7qy2rhmIrQiS3EfVWT0xkWaosEhlLti2wT5VEIDBSFedTNIB7K3I5zJKFt 4TSO+WPyMPjJgzX1ky+WUpQ72a4ZKQh0N3wctqQHE7MIh6H9rY8JhcxqN/KKuh23BGkDgQb N0JM00oEulNaQX0A1NppA== X-UI-Out-Filterresults: notjunk:1;V03:K0:Qk6HbQkMUjw=:MZKUaUyhCKNYQG2lXkMQWj xz9D0HGsFtqp9gEI9i5TYEBkNw+ME3iW3Nf6oqaq1YwSg9UidS7Q1TGhVKTr8Hwn5w8dqCsYj vOr+qZ6NlJkVBDFZ79xxh9DCeSWkzslXwtWijOMGqu1gxNHZJjgBUGVU2Las61HqwE7QC69/X BfdnhR+JajcUDKKlRF+rXantxiq/IMelSiLEuGns78qYqoZR+k44C4Q1gBCxNUBBJi4RPbyju Az5C8q7zjtLstfgSL9eLdHWZo1pX0laR+us1olBY4mThdvJZT53d/K9uIzUnCy/Tv7uxlL9O1 /rTJY6BVvYnCzx3JOK8MwYiCqLtNMJcWa1fPUDGVpF7dYPlG1w4HrB3dUESqoQ0OpSHOn16X1 I7uus+rmuAasQJrs3Kc8smH7QJGDV1LdXOKB52qh+7b64k3+eEWjxzY+n+ubnXrA/8mzRJSKP y5Zj3gEBo4unn/Ii1uJYtF/JKTXGXGNPD+ejNCu/wwTSOgtBm4Hnb9LZ9dIlkSavPBVa6tl8q 0bYQEQT+9TIbKG793DzNVgKc5W7nf0eiQLBhzpSbbBtRfFkNu5DU5o8ekOV5zWAwRU56CCibW hirW58QVzR5Xorh0XIZItSEnBHRt/zAhHfz995/qHK701GwPte1L134AnTShspWWudC7jDigl q94cBtsurNGggyTr3OaCnAak24/IGiCc71tVTuNikfwRguY9vVfgi4bNjJq7coZFzxnsxu5Nm pAoUYhge2pAgVa8lUGRFeeS/+tWoV01edbndz6pGr7j3uJYgY2gEWy7UwZ1nLmm5yTn8kWql X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:217515 Archived-At: > I've tested it in both master and emacs-28 branches and I've seen none > of the aforementioned issues nor, at least in a cursory examination, > any regression. > > It seems like you're displaying the modeline instead of merely using > the current height? There is no perceptible flickering in any case. There's no "displaying" involved. IIUC display_mode_line has become a misnomer ever since it's used in pos_visible_p. Basically, I do two things: Run 'format-mode-line' and compute_line_metrics on the current mode line strings. Eli, I think this could go into Emacs 28. WDYT? martin