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 19:00:32 +0200 Message-ID: References: <04d7cb31-684c-07c0-ee7b-503514fc1a85@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> <83356sk4jk.fsf@gnu.org> <2d674d22-fe8c-b7a3-115f-515a8a37b7e5@yandex.ru> <831qmck3qt.fsf@gnu.org> <41c5671e-e9c3-33f3-6c9c-8a1a6fc527fb@yandex.ru> <83ttz8ils1.fsf@gnu.org> <8716b41c9716878d8cb9@heytings.org> <8716b41c97839d6a8b87@heytings.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="36856"; 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, Eli Zaretskii To: Gregory Heytings Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Feb 26 18:02:29 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 1pWKPt-0009Pq-Ik for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 26 Feb 2023 18:02:29 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pWKOs-00052D-N4; Sun, 26 Feb 2023 12:01:26 -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 1pWKOU-0004qj-LK for bug-gnu-emacs@gnu.org; Sun, 26 Feb 2023 12:01:15 -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 1pWKOU-0000xy-7y for bug-gnu-emacs@gnu.org; Sun, 26 Feb 2023 12:01:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pWKOU-0005aG-3D for bug-gnu-emacs@gnu.org; Sun, 26 Feb 2023 12:01: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 17:01: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.167743084421433 (code B ref 61667); Sun, 26 Feb 2023 17:01:02 +0000 Original-Received: (at 61667) by debbugs.gnu.org; 26 Feb 2023 17:00:44 +0000 Original-Received: from localhost ([127.0.0.1]:44923 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pWKOC-0005Zd-3I for submit@debbugs.gnu.org; Sun, 26 Feb 2023 12:00:44 -0500 Original-Received: from mail-ed1-f52.google.com ([209.85.208.52]:38779) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pWKO8-0005ZM-Gz for 61667@debbugs.gnu.org; Sun, 26 Feb 2023 12:00:42 -0500 Original-Received: by mail-ed1-f52.google.com with SMTP id cy6so16642057edb.5 for <61667@debbugs.gnu.org>; Sun, 26 Feb 2023 09:00:40 -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=keyiADKzgIHYklfcaXfdDum8SqLSoFnhmrYOfe+N0bc=; b=gK+joWckh4mbhI85oFVzhaLnzFjZFvhLjYAjAJfl9QXUf9/Gjq5L0eFa5n7o24Q6+3 nCyI3lPBgo9SlsbH5ObKp43BwrRWRm2HxJ9c1pTxDY4Ffv1EHRasqaya4VO4yTWyPjpP nsRFbWMdJiicv8vSeEFR+CzSH3K8rpus5Jc6SxByl/dmio8xKyYV8LFpe/N47xwZpVLe TWnP2xEIFY501eLiHooOJBNqXVDP4g55aAuiSpHPvuC/N9zA6HSHkAcS/6ITb/EOem8q ImyxxvqiHn8w4DLoK0T/kmWGAhY5RgJ0HgUrUL+5MWBE20764twUGaT2dxa8Ez2ExQjQ sJgg== 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=keyiADKzgIHYklfcaXfdDum8SqLSoFnhmrYOfe+N0bc=; b=wKzOkS+QSmCMF2b3wRck4dBuLpDbxgYPJQL3wAkY5ttzvgbYwK0Xb/Kn/PxzhSDPS7 ykoIuev0qYI5jj+vS5Y6lq9mSxPJ63FjbUyug9hc79lO8A7QEtIQEiNl45P436/Chxzl 0z2VJe5x1SDf45b91EnQL5VVaFcjm/YoXOgl0gW+4NVMIY47/SlLxuzCgkIlqivEVqfR ZzNs6Jj+ws85kyovnHo3j0Jtp0p8Ugo474z1gEoIPCtWZ8TWKsvS4SNX3KQ5s0/1GvLH HaZA4j/6af/K2uS7YBi7uq0vopFSWL0tDAcqDwNWdB1sIWonJeMNSa2bqQMttKE2TCYe Humw== X-Gm-Message-State: AO0yUKXSGxKg1o40NlcPb/+WW+KApREVFaeDCaxbD/MO1Jgdk+Z2hRH6 hKB9eBSUlvqRInTgs/6pWFY= X-Google-Smtp-Source: AK7set9syMwixjETCyzokDb1ZKYBd8E2DWCWbX/hl35M974t1Tols7uS6Ov/98lzLZcCpRJtrc73PQ== X-Received: by 2002:aa7:cc90:0:b0:4b4:48e1:1eb4 with SMTP id p16-20020aa7cc90000000b004b448e11eb4mr1828885edt.38.1677430834468; Sun, 26 Feb 2023 09:00:34 -0800 (PST) Original-Received: from [192.168.0.2] ([46.251.119.176]) by smtp.googlemail.com with ESMTPSA id a5-20020a509e85000000b004ace62d6eaesm2151061edf.57.2023.02.26.09.00.33 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 26 Feb 2023 09:00:33 -0800 (PST) Content-Language: en-US In-Reply-To: <8716b41c97839d6a8b87@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:256824 Archived-At: On 26/02/2023 17:54, Gregory Heytings wrote: > >>>> To avoid this measurement affecting the delay itself, as we saw with >>>> printfs and trace-redisplay, the timings should be sent via pipe to >>>> a file, not to the screen. >>> >>> If they indeed don't affect the measurement when they are sent to a >>> file, it is probably possible to sent them to the screen without >>> affecting the measurement, by calling 'tail -f' on the file in which >>> they are recorded in another terminal. >> >> Yes, I suppose this can work, if the new terminal is positioned far >> away from Emacs's window. >> >> None of the new proposed tests depend on me being able to monitor the >> output in real time, though. >> > > If you want to measure the latency between the moment an XFlush is > issued by Emacs and the moment you actually see the buffer contents of > the buffer on screen, I think you could screencast your repro and use > the recorded video to make that measurement (unless screencasting > eliminates the problem, too...). Its weird: screencast recording doesn't stop the problem from happening live, but it fails to capture how it looks. I've recorded a half dozen of such screencasts, and I think only one of them managed to capture the desynchronization between the title bar and the window update. The rest look like there is no delay. But this one occurrence you can see here (attempt #4, around 00:00:06): https://a.uguu.se/Oopgcemf.webm