From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#61667: 29.0.60; Failure to redisplay Date: Sat, 15 Jun 2024 09:49:25 +0300 Message-ID: <86jziqwvii.fsf@gnu.org> References: <04d7cb31-684c-07c0-ee7b-503514fc1a85@yandex.ru> <68a5ebbb-0475-4f1c-8c5f-90a1fde4a6ee@gutov.dev> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5927"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 61667@debbugs.gnu.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jun 15 08:50:34 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 1sINFC-0001NQ-1K for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 15 Jun 2024 08:50:34 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sINEh-0005cd-S7; Sat, 15 Jun 2024 02:50:03 -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 1sINEg-0005cM-Hz for bug-gnu-emacs@gnu.org; Sat, 15 Jun 2024 02:50: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 1sINEg-0003nj-8a for bug-gnu-emacs@gnu.org; Sat, 15 Jun 2024 02:50:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sINEg-0008UG-Mu for bug-gnu-emacs@gnu.org; Sat, 15 Jun 2024 02:50:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 15 Jun 2024 06:50: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.171843417732554 (code B ref 61667); Sat, 15 Jun 2024 06:50:02 +0000 Original-Received: (at 61667) by debbugs.gnu.org; 15 Jun 2024 06:49:37 +0000 Original-Received: from localhost ([127.0.0.1]:47216 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sINEG-0008Sy-N3 for submit@debbugs.gnu.org; Sat, 15 Jun 2024 02:49:37 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:51720) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sINED-0008Sb-VW for 61667@debbugs.gnu.org; Sat, 15 Jun 2024 02:49:35 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sINE7-0003kv-N2; Sat, 15 Jun 2024 02:49:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=nptXgwPhEpV8CyzPFeeVmh7V8xYqgGinY/KBE2st7/o=; b=mr0wO7hNCwrU vP0f0+Nq9qG2Qt4d6vTFOpeKEQFSjACffWw32x2ttKsFz7YkPFo+UV6VUT7rRLG/0G8KvSIvdEG9q ZyMncQmCyO3rT8tHTKhryOPu4hGm8lKStKr4OOskNl8RwYQfC3+ev12lHVVnbQ/enQthMMPf8LVGG TE8clLcEGJVTmZwQpbsYVRe1np1f62ej7xG5dU83OZkhtEGhk17C+4Rl2TBvH1ByzE+UkevRJ6tQN tZQEr2XZwTeWSxlwn8Rs6FrH4y3Q5cjlqONN7tJjLI3cYHRUZG3/IXjiu0H/529aRs6+Hay6J13ow FG/rX2vX0iO/yoMsgT8uIA==; In-Reply-To: <68a5ebbb-0475-4f1c-8c5f-90a1fde4a6ee@gutov.dev> (message from Dmitry Gutov on Sat, 15 Jun 2024 04:32:07 +0300) 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:287253 Archived-At: > Date: Sat, 15 Jun 2024 04:32:07 +0300 > From: Dmitry Gutov > > 1. Visit the Emacs repository. > 2. Call vc-print-root-log. > 3. In the lot buffer, repeat this loop: > 3.1. Press d (to see the diff). > 3.2. Press q to get back to the log buffer. > 3.3. Press n to get to the next entry. > > From time to time, on step 3.1 the frame title will get updated with > the name of the new buffer (*vc-diff*), but the insides of the frame > will get updated with a visible delay (which varies). Most of the time > the delay, when it noticeable at all, is <1s and usually <200ms even, so > it's not something that is a deal-breaker in practice usually, but still > seems somewhat of a problem. > > I can reproduce the above scenario with 'emacs -Q' with Emacs compiled > with './configure --with-x-toolkit=lucid --with-xdbe=no'. > > The original report was made with Ubuntu 22.10, I'm using 23.10 now. > > 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?