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#46155: 28.0.50; Regression: buffer contents flicker on macOS frames when Date: Tue, 9 Feb 2021 18:31:03 +0100 Message-ID: <3e49e21a-cb96-fa4c-04d3-9e98a7626f4e@gmx.at> References: <14839969-6402-9be5-3af3-9ad05f956c84@gmx.at> <09d5d749-fee7-3b97-ed72-951dd22161cb@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="33217"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Alan Third , 46155@debbugs.gnu.org, Aaron Jensen To: Andrii Kolomoiets Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Feb 09 18:32:34 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 1l9WsL-0008Wg-Vz for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 09 Feb 2021 18:32:33 +0100 Original-Received: from localhost ([::1]:48886 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l9WsL-0003HO-1Q for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 09 Feb 2021 12:32:33 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55388) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l9Wrq-0003F2-Q5 for bug-gnu-emacs@gnu.org; Tue, 09 Feb 2021 12:32:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42939) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l9Wrp-0007Q6-Pi for bug-gnu-emacs@gnu.org; Tue, 09 Feb 2021 12:32:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l9Wrp-0006Ur-LI for bug-gnu-emacs@gnu.org; Tue, 09 Feb 2021 12:32:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 09 Feb 2021 17:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46155 X-GNU-PR-Package: emacs Original-Received: via spool by 46155-submit@debbugs.gnu.org id=B46155.161289188224928 (code B ref 46155); Tue, 09 Feb 2021 17:32:01 +0000 Original-Received: (at 46155) by debbugs.gnu.org; 9 Feb 2021 17:31:22 +0000 Original-Received: from localhost ([127.0.0.1]:54485 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l9WrC-0006U0-MW for submit@debbugs.gnu.org; Tue, 09 Feb 2021 12:31:22 -0500 Original-Received: from mout.gmx.net ([212.227.17.22]:36331) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l9Wr9-0006Tl-V5 for 46155@debbugs.gnu.org; Tue, 09 Feb 2021 12:31:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1612891866; bh=+cbxx4lOXv4BCXQEvbYvupzkAcv3DDa2yNGqdqOvhSA=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=iI3KO2AIfdevt04jDuMYnPnjaeoDpxdxqRWOR1fM6IeFAO07mPz+UnXEvzSnuI6ru i+YyMUWM+duoTvuPaB6KiQKqNuSloykhgZS8kBN9hhEDgDiFXlceaN259Xor04kMIf o8DcUHwvKAbNKzyQHR1PcolYYgKI9OnTXYRIpegA= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [192.168.1.100] ([212.95.5.34]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MYNNy-1lM9tL2p74-00VRdk; Tue, 09 Feb 2021 18:31:05 +0100 In-Reply-To: Content-Language: en-US X-Provags-ID: V03:K1:Eh+ubkmTh/ILq8V3QFcm2Y1OKue99rkmYRnQ8VKq1EjFy7wJKI6 p0LSzk88lhLfTgh+0t8xgexNeRn53nsn/04m7foggEbDlyWmgUifu0hIP7/pa4L8vhE1+tw no1HCxDGxQz2RnxAeQWLzHx7hqrCid/OkBFh1wTMJvnm/1mZvX9rNjsJQQGRjyrGU5L3MjE 87L2HWPf0ukO6CecmK0WA== X-UI-Out-Filterresults: notjunk:1;V03:K0:NykSEBFHl2o=:xKmXF8TRboN5rUQMke7Jlp a8rmyzoc/G+aIv3nE4VpEWhAKd84iq8B5EwSCalvTcTqjnh7xjPnlO7SkREf58f4XjmOmdKbe Lntl/Vp4LFUfnJBLx+OsVK5ZbTEgMWyi8W238pl8d8KI7OAenlsgg0YVsKnHvZloswuxfv1Um UDWiEsGDqXCMgiXvDY3sDseTzprQ7WqI0xumUO4Ssu/rWQ2W4LGq/95ERdOumoR5cvHbMbXN5 rA7rkC+vrBNzH0SMVr6xZHlK4YoFH7DKtVWN1JY9VRf+tdlcTe6MHPuii4TiCCRdjkGDYHReW y+tZLakFk0idKWljFismKJE4kx0dNfadVsCzyqwCQXmnprSTlZ5mwuDXlHeAG4aUmwJQbhSWC J45HIYgRXXOJoGpDvViEqKZGxhj9z0hjGlLe5jVyBEUFmr+d+DdoydQYgj9rVaycE0B74+IgN g75ZG5ASlar8MGRwFC6MKY4ikXRb3sy9pEjTRWlIp+nNdKvfUzMIlPai4zOIEI4IvSZUscfki abWMBS1++gwT840D88o3sdzbBWaJjG7lM7PBxYBq0jVfB8J2VTldhKYXUqtgab/cBEC9n47p2 rTfjMYsCBlBdKwn+X3gtHkQGMlW295W/XeGB3XTQC4Pvj5yEEFBS8ueRcnQNw/8YZXrhS0N0h TfUxYoUGlKsTll9z4/R3A3fKXbq7OQrZdZMfLGRtai98m16a8NIHh9M/ueOQPjW+mGi/X4n10 Cx4E5VOIYQ8iinQjBvj0tdAtYBGB9zpdDKcpzC+ImnYUGJ3CovUY7JW1QV3QqbJTL4OB0WBG 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:199702 Archived-At: >> But I see that 'test/resize' does that already. Is that function called >> more than once each time you type a letter? > > Yes. Almost each time I type or delete a letter. Same on recent master > version under X (Gnome). After typing C-g that function is called even > more times. Hmmm ... When I load with emacs -Q (setq default-frame-alist '((minibuffer . nil))) (setq frame-size-history '(100)) (defvar foo 0) (defun foo (frame) (setq foo (1+ foo)) (fit-frame-to-buffer frame)) (setq resize-mini-frames 'foo) and leave Emacs alone for a while, 'foo' has increased by about 30 (I'd attribute 20 of them to 'blink-cursor-mode'). So 'fit-frame-to-buffer' apparently does get called way too often. But if I now evaluate (frame--size-history (window-frame (minibuffer-window))) and look into the *frame-size-history* buffer, I see no excessive number of calls to resize the frame's window here. Maybe things are different under Gnome or NS. martin