From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#61667: 29.0.60; Failure to redisplay Date: Thu, 23 Feb 2023 18:46:38 +0200 Message-ID: <853eca8f-5850-dd73-7601-4fad92613ab9@yandex.ru> References: <04d7cb31-684c-07c0-ee7b-503514fc1a85@yandex.ru> <87a617eanz.fsf@yahoo.com> <4306cb76-a44c-3101-e43c-fd64afae4a51@yandex.ru> <871qmje2ws.fsf@yahoo.com> <83edqjtbss.fsf@gnu.org> <4e5e2a46-9b07-206a-6774-9f98f34cbd14@yandex.ru> <83y1orrolh.fsf@gnu.org> <83sfeyswdw.fsf@gnu.org> <877cwactgv.fsf@yahoo.com> <83mt55sxli.fsf@gnu.org> <8afe34f2-eeea-3be8-82ef-576a115beb6d@yandex.ru> <96b742a05da174ece02e@heytings.org> <25c48260-2edc-f062-8fef-52ff2fdd22e3@yandex.ru> <96b742a05dea855f9636@heytings.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37723"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 Cc: Po Lu , 61667@debbugs.gnu.org, Eli Zaretskii To: Gregory Heytings Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Feb 23 17:47:19 2023 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 1pVEkY-0009d0-CM for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 23 Feb 2023 17:47:18 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pVEkL-0002rM-CO; Thu, 23 Feb 2023 11:47:05 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pVEkJ-0002qY-75 for bug-gnu-emacs@gnu.org; Thu, 23 Feb 2023 11:47:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pVEkI-0004aN-S8 for bug-gnu-emacs@gnu.org; Thu, 23 Feb 2023 11:47:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pVEkI-0002G1-Dz for bug-gnu-emacs@gnu.org; Thu, 23 Feb 2023 11:47:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 23 Feb 2023 16:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61667 X-GNU-PR-Package: emacs Original-Received: via spool by 61667-submit@debbugs.gnu.org id=B61667.16771708098655 (code B ref 61667); Thu, 23 Feb 2023 16:47:02 +0000 Original-Received: (at 61667) by debbugs.gnu.org; 23 Feb 2023 16:46:49 +0000 Original-Received: from localhost ([127.0.0.1]:35156 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pVEk4-0002FX-Qj for submit@debbugs.gnu.org; Thu, 23 Feb 2023 11:46:49 -0500 Original-Received: from mail-wr1-f45.google.com ([209.85.221.45]:43829) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pVEk3-0002FL-B1 for 61667@debbugs.gnu.org; Thu, 23 Feb 2023 11:46:47 -0500 Original-Received: by mail-wr1-f45.google.com with SMTP id l1so10892749wry.10 for <61667@debbugs.gnu.org>; Thu, 23 Feb 2023 08:46:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:from:to:cc:subject:date:message-id:reply-to; bh=HkXajkYzzxe0tQDNrGgxnXKRCF9VN9oWjbbbyHOCI+o=; b=RBdMYCIZVlTF/r98TcuTQJwSPcE3GKTx3GHx7YldE690i6SoosUv9LcDn2IypkRhgt K2K3mWdHSat0CaVOLfJgs8ehDTi4ewA4Pqht9cWzmBeFa5LdggnzjZXvt3Lpp8NrXRdX iG4GX2g9eSOl2pNitGy667r3vRUXLwdnn2Bwnc2aQNGdAm0jnYZnc/Q5Q68EIpgAeFdH vSK6qGnpdzOicoZPYTbol19S477wMO0SamvUuY5q6c63h+SAEgLNT5UJndIPl3+0f0m7 bJxzAOf9yeS1j5UkG8okhRLvmzjhKtk3wuV8RpOnyQBYQi/LldTybDjTZJ0ZERosMK73 /Hug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=HkXajkYzzxe0tQDNrGgxnXKRCF9VN9oWjbbbyHOCI+o=; b=ZV/GuiPUrw6i5W4/xnQBzT5gvMS99GQ1Qwltas93We8WF6sh+cacTQSAuKwbLnzUpj ftlwabc9WX/LQMtuljcJSJiJ9PbTyyonH+Fh6mQM7E9FZY3Ej7609YGpsVx/fvZ+8RIS qLbTObW9CaTVKlqYbAoKwmKDJsypwdC/RkVk3K6dHqLw9A1C1qaWCovQYNjrnzFhwajf qR660UeKzXNCqYoH4vlEXIV30pTym3I95Xp/B+nglzisONK9l8ls+qO0YV1jvHHmNnx2 C0SW23QZK2Bxmfb33qVLaVWSrpAzmjNRifInCohVoTm5ASNa4MH0H4xd5kLqcjf05pQh eGZg== X-Gm-Message-State: AO0yUKVEOXlXmmTZxFspxtjjN1B6fsp3SHT8C9OueGfSfyV70aLXrORQ kB66Z2QeuScij6DDJe5C+sg= X-Google-Smtp-Source: AK7set/Eh+QDlVIbu7+doOrjxhk5jDIdMwfRUuRNDpLRTTvGiiJuSNIOXw8NquUzjzwq9MH7cZWAJA== X-Received: by 2002:adf:df08:0:b0:2c5:a1dc:8a86 with SMTP id y8-20020adfdf08000000b002c5a1dc8a86mr10078043wrl.71.1677170801253; Thu, 23 Feb 2023 08:46:41 -0800 (PST) Original-Received: from [192.168.0.2] ([46.251.119.176]) by smtp.googlemail.com with ESMTPSA id i15-20020adffc0f000000b002c5691f13eesm11495210wrr.50.2023.02.23.08.46.39 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 23 Feb 2023 08:46:40 -0800 (PST) Content-Language: en-US In-Reply-To: <96b742a05dea855f9636@heytings.org> 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:256493 Archived-At: On 23/02/2023 15:58, Gregory Heytings wrote: > >>> Can you perhaps try to go further back in time (Emacs 25, 26 and 27)? >> >> 27 and 26 -- reproduced. >> > > Thanks!  So it looks like an old bug... but given that you did not see > it until recently, it could very well be an underlying change in a library. Looking at it now, it might have been the story of the boiling frog. The most prominent case of this problem is when the display is not updated for a while, for 1-2 seconds or more. But the less apparent scenario is when the delay between the title bar update and the buffer display is on the order of 100-200ms. And I've probably been seeing this one for a while. Just chalked it up to disk latencies, or GC, or whatever. >> if I manage to bisect my config to find something relevant, I will >> report back, of course. >> > > That was the next thing I was about to suggest: try to bisect your > config to produce a MRE. Here's one repro: emacs -Q --eval "(tool-bar-mode -1)" --eval "(menu-bar-mode -1)" --eval "(scroll-bar-mode -1)" --eval "(global-set-key \"a\" (lambda () (interactive) (find-file \"test.c\")))" Where "test.c" is the name of a file in the current dir. Different files can work, but for some the repro doesn't happen, like those, apparently, which start with a paren (which makes show-paren-mode trigger its own redisplay). So, to repro: - Run the command above - Press "a" - Look for the delay between the title bar and the window updates With the above 'emacs -Q' it's not as prominent as with my config, but it can reach what looks like 100-200ms. Once every 10 tries or so. This particular scenario, however, I haven't been able to repro with Emacs 25 or 26 or 27. It does reproduce with Emacs 28 and 29. The more complex one (starting with 'C-x b' and using ido-use-virtual-buffers) still reproduces with Emacs 26, though.