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: Sun, 26 Feb 2023 13:59:34 +0200 Message-ID: References: <04d7cb31-684c-07c0-ee7b-503514fc1a85@yandex.ru> <8afe34f2-eeea-3be8-82ef-576a115beb6d@yandex.ru> <96b742a05da174ece02e@heytings.org> <25c48260-2edc-f062-8fef-52ff2fdd22e3@yandex.ru> <96b742a05dea855f9636@heytings.org> <853eca8f-5850-dd73-7601-4fad92613ab9@yandex.ru> <0a7313f0-765c-aeca-ae50-6d8adbfb04ed@yandex.ru> <5002b0b34b1067395698@heytings.org> <628d9354-e334-0ad5-39c8-91081a5e9238@yandex.ru> <5002b0b34b1213122157@heytings.org> <5002b0b34b7a73483fe3@heytings.org> <5002b0b34b0ee4220ba5@heytings.org> <20e46a69-8b22-65b6-f725-4ab5e5ec41f0@yandex.ru> <5002b0b34bd381f6d1f9@heytings.org> <8716b41c97734e78145e@heytings.org> <8716b41c9757d7e81bd2@heytings.org> <1dafb35c-657c-037f-8244-4568b4e22fcd@yandex.ru> <8716b41c9708333e6bdb@heytings.org> <6f161919-7ee4-e461-e688-797c76fa6d74@yandex.ru> <83fsatj57m.fsf@gnu.org> 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="36457"; 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: luangruo@yahoo.com, 61667@debbugs.gnu.org, gregory@heytings.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Feb 26 13:00:31 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 1pWFhf-0009M2-2d for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 26 Feb 2023 13:00:31 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pWFhF-0001PB-MS; Sun, 26 Feb 2023 07:00: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 1pWFhD-0001Og-Ep for bug-gnu-emacs@gnu.org; Sun, 26 Feb 2023 07:00: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 1pWFhD-0003lA-3Z for bug-gnu-emacs@gnu.org; Sun, 26 Feb 2023 07:00:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pWFhC-00032z-JL for bug-gnu-emacs@gnu.org; Sun, 26 Feb 2023 07:00: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: Sun, 26 Feb 2023 12:00: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.167741278511655 (code B ref 61667); Sun, 26 Feb 2023 12:00:02 +0000 Original-Received: (at 61667) by debbugs.gnu.org; 26 Feb 2023 11:59:45 +0000 Original-Received: from localhost ([127.0.0.1]:42479 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pWFgu-00031u-IG for submit@debbugs.gnu.org; Sun, 26 Feb 2023 06:59:44 -0500 Original-Received: from mail-ed1-f46.google.com ([209.85.208.46]:44834) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pWFgs-00031e-Ux for 61667@debbugs.gnu.org; Sun, 26 Feb 2023 06:59:43 -0500 Original-Received: by mail-ed1-f46.google.com with SMTP id s26so14776221edw.11 for <61667@debbugs.gnu.org>; Sun, 26 Feb 2023 03:59:42 -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=dqbofJu7DKoMAPBubYTfNvZMNiauUSQ49jdFmpgwGHA=; b=RYDG5/auRGSepbflAFM/44zZxj1KQLGmf+npo4ssjoJN4nl6OQ15ymAhzlEt7YITm0 ua4ILZycKSXbh2Kmy3kN1/ylz2W0sI7ZoECkeo8WP0Ylg5oM1ODhEhT2o0fOLyTyqBbw ZF/OVMPIR7lpla2lIOxiFJqrSjNv/2T80yef49sZ3doh/mlWiSoyfgSOxypm/4sVzQq2 aZrU51QXHmcR89FEkaqPtv+YxGDcuBDz9DP5gtONgtM2s6dJSvnIlmP1LYJFnDHOL+LK ExTHSWbX7aTROiaWRERGzOmQVQdT7K00OM/M0Z8TaKJ2RngGQI4tPbWN448zDiFs3EVQ fwfw== 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=dqbofJu7DKoMAPBubYTfNvZMNiauUSQ49jdFmpgwGHA=; b=wRgGnqpr8OYEVfElhanfcPbg6Ovy9xFBQtRwQHUyeF5CRLveYMciH/Ci05kFy3MyvZ WInkthwphYzNNrTYw10D0js8bwul7bVfgis+mjyPhDG2rfEhvkWxkfsaVggcajCPCiGJ LWcMTEzRFd50voN6/78NuHvgkcQOrCaOr8iDUqxpBQE+XtXxr3/i6aDmZ1WG1tqWlZqe 59euvFQGCkhJwBkiGM5SknUDH0a1ArKCdFBsw1cvn2kEIYGCw/HD8OqqKZJecqSA0oDM eeJQ5NoXObaStJZM9+2KHpawlj3rvaIAZ+BjqMS6K9qN+KCpCUjPh4nG8qkd4NaUn7/0 07lw== X-Gm-Message-State: AO0yUKXVHMMzsuOKWviTbfKcw5zA20Uv9JC3FoKK0xtQHD8tAReKClsG p1bQ0GkAfk5a1/1fJjdtXWg= X-Google-Smtp-Source: AK7set9Ku1dZvtoJVBGvc/XctIcIUGM+2XIGs8Qt3D30w2184ojpqBfxjkT7sCLx0k+pVAXy40tvNw== X-Received: by 2002:aa7:da92:0:b0:4ac:bdf7:1c3f with SMTP id q18-20020aa7da92000000b004acbdf71c3fmr20467047eds.29.1677412776822; Sun, 26 Feb 2023 03:59:36 -0800 (PST) Original-Received: from [192.168.0.2] ([46.251.119.176]) by smtp.googlemail.com with ESMTPSA id i26-20020a50871a000000b004af70a660a9sm1863432edb.75.2023.02.26.03.59.35 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 26 Feb 2023 03:59:36 -0800 (PST) Content-Language: en-US In-Reply-To: <83fsatj57m.fsf@gnu.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:256784 Archived-At: On 26/02/2023 08:44, Eli Zaretskii wrote: > Sorry, I'm still confused. Let me try to explain what I understand > and what confuses me. > > There are two use cases where you see the problem: > > . "emacs -Q", then type 'a' (which visits a file?) > . "emacs" with your configuration, then type "C-x b", which visits a > file > > In both cases, you see a delay before the display is updated, right? About 1 in 5-10 tries the delay is high enough to be noticeable (200-300ms with -Q and up to 1-2 seconds with my config). > So what effect, if any, does the changing vs fixed frame title have on > each of these two use cases? The delay (which is, physically, always present) becomes never nigh enough to be noticeable. Or, in simple terms, disappears. > And what effect does disabling > double-buffering have on each of these two cases? Same effect: delay "disappears". > AFAIR, you originally said that when the title is not updated, the > problem disappears. Yes. > Then you said that the problem does NOT disappear > when the title is fixed, but having the title change makes it easier > to realize that the delay exists. I only said (or meant to say) that having the title change made it easier to understand that there definitely *is* a problem. Because otherwise I could attribute the delay to various sources of latency we could experience: reading from disk (or network, whatever), triggering a garbage collection, etc. But since the title changes, the buffer must already be read and visited, and yet it's not displayed in the frame for some time. > Now you are saying something else. > This is what confuses me: what is the effect of the changing frame > title on the above two cases? Delay disappears.