From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#61667: 29.0.60; Failure to redisplay Date: Thu, 23 Feb 2023 06:36:54 +0800 Message-ID: <2CE39EAE-A59E-4535-BB97-7D548A44FC15@yahoo.com> 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> <83ttzdr5ls.fsf@gnu.org> Reply-To: Po Lu Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11779"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 61667@debbugs.gnu.org To: Eli Zaretskii , Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Feb 22 23:38:20 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 1pUxkh-0002vI-6r for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 22 Feb 2023 23:38:19 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pUxkU-0007w0-SZ; Wed, 22 Feb 2023 17:38:06 -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 1pUxkR-0007tj-Gh for bug-gnu-emacs@gnu.org; Wed, 22 Feb 2023 17:38:04 -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 1pUxkR-00042Z-2a for bug-gnu-emacs@gnu.org; Wed, 22 Feb 2023 17:38:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pUxkQ-0000vH-IS for bug-gnu-emacs@gnu.org; Wed, 22 Feb 2023 17:38:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 22 Feb 2023 22:38: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.16771054413497 (code B ref 61667); Wed, 22 Feb 2023 22:38:02 +0000 Original-Received: (at 61667) by debbugs.gnu.org; 22 Feb 2023 22:37:21 +0000 Original-Received: from localhost ([127.0.0.1]:60618 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pUxjk-0000uK-RY for submit@debbugs.gnu.org; Wed, 22 Feb 2023 17:37:21 -0500 Original-Received: from sonic315-21.consmr.mail.ne1.yahoo.com ([66.163.190.147]:33366) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pUxjh-0000u7-Tk for 61667@debbugs.gnu.org; Wed, 22 Feb 2023 17:37:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1677105430; bh=nFFCxWWoj7d2MuF0Wak44bubntQ/ISc0vchqO8mkO50=; h=Date:From:To:CC:Subject:In-Reply-To:References:From:Subject:Reply-To; b=f7sJ08qlfI5FOWgSe3Nfhx9gKkaml6iFM2uCt8VPSD9afLnJxNngbOHuTPDH/QCDklng4WD+NpYPfnnOuNueYPAJxp6mqyY7UYWeuCe4hTy4h+R8QL9T57SNN/luadAe1Zh33os1TmBpTYAd7CLJGpt4bhh67BQxIyzhQhRlgZkXeqs6QvaZSoxbx20NS69z2SNXCEP3BjZrk7D6fzvsYcN9MGa3e3IRBbORnHni0xQ0Er5xfcwyv7wDpq2hYUwvAkO+Qph3dcwwOrPMG1vuK1Km3KcF2LICn9yXf30w8ilUYwB3eI7s2XjutB3UQH1sCGrokLYhelrRqGHxUl6xVg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1677105430; bh=W9yeMnpL+dgkjBfbZs2vwoVp9yw7X2zhr/n9G2xa5zr=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=ORCVfJFOgxbxLj23JnDTiWdbBfcqNUXWLY1eQKxdP9HyciDbzy/OyHtbpEWqTjuCNkZa+Oy9wivRCUPbvfYQIxgTTcrP2Gimb9+EA03ChOModgGldDIOrnuArAFcA04DdsiiEZuvcq6i1mehxRf9RgJ7tLLYNq7aDGbamjOnYrv5aM0WJJvOczg0/fj25Uc0Ni8mPr2RI9W+Gi+rFEzJLnQ3r8Eejkaxgy5xov4YAfFefIK2kLZAn8MkGspPP+1fc7z/rDqSzkDmWHX/uxmXFhdHQ5hB9gQWlg/u7s/gkm1nlqbvpPg6fT3xoaMVNlxmAS5ZJuWCrkttr/v1xCkJ5g== X-YMail-OSG: FeANP5QVM1k8kVssW3KfaehGRKBo1d7V750vYzuR_wtHUUW0tfM2gdbVMktd_Y. w3BtmoP9164hOUtqA9jmM0FELXutF_jPlNC_ct2iXtYdC1D8g9y9dHtAoFw.pWBZWnpR8WHXRaV4 XaiNCLH.d8UoowDk5RjfU6yNLwb1paKRhbji5CLY9kHzn06VVHsr2oC9pHGcvJHS4X7Q8FhDJVoj JTTBv8ZD2LKGmFlMGaVb2.0mNC.0h7MtA.iT0xxWCfp_ph35.D.AFotdThXXKJjrab2mpUHOc2u1 BkXjoqTKbC1LlCOYkeU2pAMtlEU8QhzztxYD7ngUccffuC7BtLSAEoC1gWcepSFgr2QMyeYnNfBP uHIPCnjSPgJ6fJ.dRb7xkBHiBOoUg3z35QqvmKEd2JV8g3133knGZ58F4csyYOH2IPPIIfalhjBO Tqd2UEZ2UEA2bQAuNkcFClpNwFmS3J1T9r6LosCV1So8kbZ_dTrtBi8cAMqoDoc6ikdoe2emXCjd PTfq0y9HVAgWcvj2ceQrjf6R0PoIKGqqdQgXaUfXF_H2t8VKqM1Cm_Fg4zpmjcj8IJ87qRiOc.Zv 8WyzT5.D90WrZtH41CeOPombAFHiVJbhuR4BLsObJyN7jVdYlXoOYFPJ4PMSn8FJjL42Gmklogsd VM8S27yh552wp0bPgC_WxYZ59bHXvJVlmRaXEb3Yt4xsPKs.cAy1NjItFB6BSK7GGNscpXOR_MGp 59vog6z20.7VsJPe3.i0N_n2nvyOLqaEOqJbVfL10qmLCSdPoc2S9J_8atw7tKpiAhlUUCcgGvLG rP3WdzJ1ke2qisH8cvzYxMDR4_.GIycV5Dx3j3sUrp X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic315.consmr.mail.ne1.yahoo.com with HTTP; Wed, 22 Feb 2023 22:37:10 +0000 Original-Received: by hermes--production-sg3-9fc5746c8-z4gft (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 7a410aa5c1ae4cf75aecb48749355530; Wed, 22 Feb 2023 22:37:07 +0000 (UTC) In-Reply-To: <83ttzdr5ls.fsf@gnu.org> X-Mailer: WebService/1.1.21183 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo 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:256404 Archived-At: That won't work, unfortunately -- this needs to check whether or not a func= tion is being called at all, and not just the value of some flags at the ti= me we update the frame title=2E This is a bit of a stab in the dark, but: Dimitry, what if you make x_flus= h_dirty_back_buffer_on return immediately, without performing a buffer flip= ? On February 23, 2023 1:07:43 AM GMT+08:00, Eli Zaretskii = wrote: >> Date: Wed, 22 Feb 2023 18:24:43 +0200 >> Cc: 61667@debbugs=2Egnu=2Eorg >> From: Dmitry Gutov >>=20 >> > Careful with printfs, since we know this problem goes away when there >> > are too many of them=2E Use fputs whenever you can, since fprintf ca= n >> > be much more expensive=2E >>=20 >> Indeed, I haven't managed to reproduce the problem even once when the= =20 >> printing patch is applied=2E >>=20 >> I've also tried this one, with the same lack of success: > >Maybe instead of printing to stderr, we could display something in the >frame title, which is being updated in this scenario? AFAIU, the >suggested printfs just show a couple of boolean flags?