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, 16 Jun 2024 05:34:10 +0300 Message-ID: References: <04d7cb31-684c-07c0-ee7b-503514fc1a85@yandex.ru> <68a5ebbb-0475-4f1c-8c5f-90a1fde4a6ee@gutov.dev> <86jziqwvii.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="14041"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: 61667@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jun 16 04:42:23 2024 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 1sIfqY-0003Pk-Gh for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 16 Jun 2024 04:42:22 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sIfqH-00068I-8Y; Sat, 15 Jun 2024 22:42:05 -0400 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 1sIfqE-000681-8Z for bug-gnu-emacs@gnu.org; Sat, 15 Jun 2024 22:42:02 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sIfqD-0001CU-Rb for bug-gnu-emacs@gnu.org; Sat, 15 Jun 2024 22:42:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sIfqE-0000CY-Hc for bug-gnu-emacs@gnu.org; Sat, 15 Jun 2024 22:42:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 16 Jun 2024 02:42: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.1718505676641 (code B ref 61667); Sun, 16 Jun 2024 02:42:02 +0000 Original-Received: (at 61667) by debbugs.gnu.org; 16 Jun 2024 02:41:16 +0000 Original-Received: from localhost ([127.0.0.1]:42356 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sIfpU-0000AH-AI for submit@debbugs.gnu.org; Sat, 15 Jun 2024 22:41:16 -0400 Original-Received: from wfhigh2-smtp.messagingengine.com ([64.147.123.153]:36413) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sIfpS-00009w-El for 61667@debbugs.gnu.org; Sat, 15 Jun 2024 22:41:15 -0400 Original-Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailfhigh.west.internal (Postfix) with ESMTP id 86ACD1800152; Sat, 15 Jun 2024 22:34:14 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Sat, 15 Jun 2024 22:34:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1718505254; x=1718591654; bh=kBWbHlxRNivJhVqrQh4wVK4Nx7c4r/dolse9feaNMAI=; b= oZv8j639iz/WS+9jHdhTur7r2jV+ild8+4oVUktWLRFzrOQdR8kgIkxvPpAGkx3J b+ytmDOFb+DpBPH2aSQKIb0XSfEbGHTtJo8u+vWhamwYVJepbIOdl5CkFOzVi/8w TAvSVbMYiMxEDppcXDR38KUdJU57YA8vD9h1ugWrJU/cTrDtJu31ukELIlbIgpIH iTwu8Uj0h086Amqz/FjqBHHk+8zlkMbVB4YVB7bpADVXsrIHrmShv0R22Wdkvhmm 8En3uv8ZJa8LQm6QPVG8Sj+dNWq/l9HNgl+R+XRyqx5Kn4G2e7DWEOj7E8AmrT9J Hek8Gafu51Jl0nuQL2y2zw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1718505254; x= 1718591654; bh=kBWbHlxRNivJhVqrQh4wVK4Nx7c4r/dolse9feaNMAI=; b=M T1aIW8kLCrTLGzLoW0FZCSRPDrXfVvVvKsLAWEakbFSIfpO+DfqicpnqpOea7UMG szU+oyoakPniOIbgNYGbDMvJwcXYgMx/JSZx7boVlx8xKHmKsnqXr4IRNQw/NOyF m8Hh4w3BuXEc2E/UiJQAlOOQIao0eoA8lsz1qG71B7+0mTo9rz9BzIalbHcwa33g CuooTVOExWTN4avpYDFdYtHWKuLSkxyArta11u8eZ5xgeF+OOmlPGiC4PiK27oVE PrF2VzxM/5+dy499XePx7bzaEAXb3oWgOuyz6ccuV31cQg0MN3I2b8tJ8SfrL2r8 +wQOmO8wQhRTMiOM2PXOA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrfedvvddgieduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvvehfhfgjtgfgsehtjeertddtvdejnecuhfhrohhmpeffmhhi thhrhicuifhuthhovhcuoegumhhithhrhiesghhuthhovhdruggvvheqnecuggftrfgrth htvghrnhepteduleejgeehtefgheegjeekueehvdevieekueeftddvtdevfefhvdevgedu jeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepug hmihhtrhihsehguhhtohhvrdguvghv X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 15 Jun 2024 22:34:12 -0400 (EDT) Content-Language: en-US In-Reply-To: <86jziqwvii.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:287319 Archived-At: On 15/06/2024 09:49, Eli Zaretskii wrote: >> Could this be a normal behavior? That is, having a delay between the >> frame title changing and the insides of the frame updating. > > Don't we invoke the backend's 'diff' method asynchronously in the > above scenario? Looking at vc-diff-internal, it looks like we first > switch to the *vc-diff* buffer (which causes the frame's title to > change, if redisplay happens to kick in, and only later show the > actual diffs, when the async subprocess finishes. Right? Thanks, you're right. It's not the async process itself, though (which is synchronous in vc-git-diff, see the comment with link to bug#21969), it's the font-lock application after. Wrapping font-lock-fontify-keywords-region in benchmark-progn shows that call can take up hundreds of ms here, up to 1s. Not every time, but usually whenever a new commit referencing some large files (like xdisp.c) is displayed for the first time. As I recall there was another bug report about it, so I'll stop here. Anyway, not a general redisplay problem, sorry for the false alarm.